#331F2C#331F2C
#331F2C is a dark, muted pink. Relative luminance 0.019; OKLCH L 27.0% C 0.038 H 340.7°. Best body text is #FFFFFF at 15.29:1 contrast (WCAG AA passes).
Color values
| HEX | #331F2C |
|---|---|
| RGB | rgb(51, 31, 44) |
| HSL | hsl(321, 24%, 16%) |
| HSV | hsv(321, 39%, 20%) |
| CMYK | cmyk(0%, 39.2%, 13.7%, 80%) |
| CIE-LAB | lab(14.77, 12.21, -4.70) |
| CIE-LCH | lch(14.77, 13.09, 338.95°) |
| OKLab | oklab(27% 0.0356 -0.0125) |
| OKLCH | oklch(27% 0.038 340.7) |
| XYZ | xyz(2.3098, 1.8657, 2.6208) |
| Luminance | 0.0187 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Very Dark Brown
#1D0200
ΔE00 10.27
Eggplant
#380835
ΔE00 11.02
Aubergine
#3D0734
ΔE00 11.03
Dark Plum
#3F012C
ΔE00 11.34
Plum (survey)
#580F41
ΔE00 13.00
Dark Purple
#35063E
ΔE00 13.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#331F2C #1F3326
analogous
#301F33 #331F2C #331F22
triadic
#331F2C #2C331F #1F2C33
tetradic
#331F2C #33301F #1F3326 #1F2233
square
#331F2C #33301F #1F3326 #1F2233
split-complementary
#331F2C #22331F #1F3330
monochromatic
#130C10 #130C10 #331F2C #59364D #7F4D6E
Accessibility & contrast
On white
15.29
#331F2C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.37
#331F2C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #331F2C
15.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##331F2C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##331F2C | 1.00 | 15.29 | 1.37 | 15.29 |
| #FFFFFF | 15.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#20232C
Deuteranopia (green-blind)
#25262B
Tritanopia (blue-blind)
#351F24
Achromatopsia (no color)
#252525
Design tokens & code
CSS
--color: #331f2c; /* rgb */ color: rgb(51, 31, 44); /* oklch */ color: oklch(27.0% 0.038 340.7);
Tailwind
colors: {
custom: {
50: '#6b5b65',
500: '#331f2c',
950: '#000000',
},
}SCSS
$custom: #331f2c; $custom-light: #6b5b65; $custom-dark: #000000;
JSON
{
"hex": "#331f2c",
"rgb": {
"r": 51,
"g": 31,
"b": 44
},
"hsl": {
"h": 321,
"s": 24.39,
"l": 16.078
},
"oklch": {
"l": 0.27002,
"c": 0.03771,
"h": 340.7
},
"luminance": 0.01866
}Semantic roles & 50–950 ramp
primary
#331F2C
secondary
#486652
accent
#C18667
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060405
muted
#7A797A