#331F26#331F26
#331F26 is a dark, muted pink. Relative luminance 0.018; OKLCH L 26.7% C 0.033 H 356.9°. Best body text is #FFFFFF at 15.39:1 contrast (WCAG AA passes).
Color values
| HEX | #331F26 |
|---|---|
| RGB | rgb(51, 31, 38) |
| HSL | hsl(339, 24%, 16%) |
| HSV | hsv(339, 39%, 20%) |
| CMYK | cmyk(0%, 39.2%, 25.5%, 80%) |
| CIE-LAB | lab(14.53, 10.99, -0.73) |
| CIE-LCH | lch(14.53, 11.02, 356.22°) |
| OKLab | oklab(26.75% 0.033 -0.0018) |
| OKLCH | oklch(26.75% 0.033 356.9) |
| XYZ | xyz(2.2051, 1.8238, 2.0692) |
| Luminance | 0.0182 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Very Dark Brown
#1D0200
ΔE00 8.37
Dark Maroon
#3C0008
ΔE00 12.83
Dark Plum
#3F012C
ΔE00 12.94
Aubergine
#3D0734
ΔE00 13.14
Eggplant
#380835
ΔE00 13.32
Purple Brown
#673A3F
ΔE00 13.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#331F26 #1F332C
analogous
#331F30 #331F26 #33221F
triadic
#331F26 #26331F #1F2633
tetradic
#331F26 #30331F #1F332C #221F33
square
#331F26 #30331F #1F332C #221F33
split-complementary
#331F26 #1F3322 #1F3033
monochromatic
#130C0E #130C0E #331F26 #593642 #7F4D5F
Accessibility & contrast
On white
15.39
#331F26 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.36
#331F26 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #331F26
15.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##331F26 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##331F26 | 1.00 | 15.39 | 1.36 | 15.39 |
| #FFFFFF | 15.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#212326
Deuteranopia (green-blind)
#262626
Tritanopia (blue-blind)
#361E21
Achromatopsia (no color)
#252525
Design tokens & code
CSS
--color: #331f26; /* rgb */ color: rgb(51, 31, 38); /* oklch */ color: oklch(26.7% 0.033 356.9);
Tailwind
colors: {
custom: {
50: '#6b5a60',
500: '#331f26',
950: '#000000',
},
}SCSS
$custom: #331f26; $custom-light: #6b5a60; $custom-dark: #000000;
JSON
{
"hex": "#331f26",
"rgb": {
"r": 51,
"g": 31,
"b": 38
},
"hsl": {
"h": 339,
"s": 24.39,
"l": 16.078
},
"oklch": {
"l": 0.26748,
"c": 0.03303,
"h": 356.9
},
"luminance": 0.01824
}Semantic roles & 50–950 ramp
primary
#331F26
secondary
#48665B
accent
#C1A167
background
#F6F5F5
surface
#EBE9E9
border
#C6C5C5
text
#060404
muted
#7A7979