Maroon Colors  ·  Color Library

Palettes / Colors / #331F36

#331F36 — Deep Dusty Pink

#331F36 is a pink color we call Deep Dusty Pink, closest to the named color DarkSlateGray (#2F4F4F). It belongs to the pink family.

Color name

Closest CSS keyword: darkslategray (#2F4F4F) — not an exact match. CSS darkslategray gives you #2F4F4F, a different color; use #331F36 when you need this exact shade.

Sources: common names follow widely used color-name references; CSS keywords and their hex values follow the CSS Color specification.

#331F36 is a cool pink color associated with playfulness, romance and softness. It is deep enough for text, outlines and dark interface surfaces, and makes light colors glow next to it.

Its strongest partner is its complement #233720; it also sits naturally between #282037 and #37202E. In the palettes below you can see it working alongside real color combinations from our collection.

#331F36 · RGB 51, 31, 54

Download PNG swatch SVG

Color values

HEX#331F36
RGB51, 31, 54
HSL292°, 27%, 17%
HSV292°, 43%, 21%
CMYK6%, 43%, 0%, 79%
XYZ2.52, 1.95, 3.73
Yxy1.95, 0.3073, 0.2377
CIE-Lab15.22, 14.53, -11.14
Hunter Lab13.96, 8.67, -7.10

RGB & CMYK percentages

Red 20% · Green 12% · Blue 21%

Cyan 6% · Magenta 43% · Yellow 0% · Key 79%

CMYK values are unprofiled approximations for screen reference — not a print-proofing guarantee.

Previews

Sample text in #331F36 on black
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Sample text in #331F36 on white
Lorem ipsum dolor sit amet, consectetur adipiscing elit.

CSS code for #331F36

.text { color: #331F36; }
.background { background-color: #331F36; }
.border { border: 3px solid #331F36; }
.text-rgb { color: rgb(51, 31, 54); }
.text-hsl { color: hsl(292, 27%, 17%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #331F36; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(51, 31, 54, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #331F36; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(51, 31, 54, 0.8); }

HTML: <p style="color:#331F36">Text here</p> · <div style="background-color:#331F36">Div content here</div>

Shades of #331F36

#311E34#2B1A2D#28182A#251627#221424#1B111D#180F1A#150D17#0F0910#0C070D

Tints of #331F36

#4C2F51#653D6B#7D4C85#965B9F#A774AF#B58ABC#C6A4CB#D6BEDA#E6D8E9#F7F2F8

Tones of #331F36

#332135#312334#302532#2F2631#2E282F#2D2A2D

Color harmonies

Complementary — #233720:

Analogous:

Triadic:

Contrast & accessibility

Against white text15.11:1 AAA
Against black text1.39:1 Fails

Best text color on #331F36: #FFFFFF.

Semi-transparent (opacity) text on #331F36

Text set with opacity blends into the background, so its real contrast is lower than the solid ratios above. Choose a text color and an opacity to see the blended color and its true ratio:

100%
Sample heading text
Smaller body text shows the effect best.

Blended color: · Contrast against #331F36: ·

How #331F36 looks with color blindness

Simulated with standard Machado color-vision-deficiency matrices — useful when this color carries meaning in charts, maps or interfaces:

Protanopia · #2A2A30Deuteranopia · #2C2D2FTritanopia · #322C2B

Closest design-system colors

The nearest matches in the Tailwind CSS, Material Design and Bootstrap palettes — handy when you need a framework class instead of a raw hex:

Bootstrap dark · #212529Tailwind neutral 600 · #525252Tailwind stone 600 · #57534E

Palettes with a similar color

These palettes use a close neighbour of #331F36 rather than the exact color:

Crimson Ruby Aurora
#371832 · #6A3A38 · #766C1A · #254E18
Palette E23e57
#E23E57 · #88304E · #522546 · #311D3F
Palette 1a1a1d
#1A1A1D · #3B1C32 · #6A1E55 · #A64D79
Palette 331d2c
#331D2C · #3F2E3E · #A78295 · #EFE1D1
Palette 151515
#151515 · #301B3F · #3C415C · #B4A5A5
Palette Dbd8e3
#DBD8E3 · #5C5470 · #352F44 · #2A2438

Similar colors

The closest colors that actually appear in our palette collection — click any to open its page:

#371832#311D3F#3B1C32#331D2C#301B3F#2A2438#3B1735#35143B#3C1D3F#2F2342#36292C#251B37

Browse neighbouring colors

← #331F35  ·  #331F37 →

Frequently asked questions

What color is #331F36?

#331F36 is Deep Dusty Pink, a pink color (RGB 51, 31, 54). Its closest standard named color is DarkSlateGray.

What is the RGB and HSL of #331F36?

#331F36 is RGB 51, 31, 54 — HSL 292°, 27%, 17% — CMYK 6%, 43%, 0%, 79%.

What colors go with #331F36?

Its complement is #233720; analogous partners are #282037 and #37202E. It also appears in 6+ palettes in our collection.

Can I use #331F36 for text?

White text on #331F36 has a contrast ratio of 15.11:1 (passes WCAG AA); black text gives 1.39:1.