#331F24#331F24
#331F24 is a dark, muted red. Relative luminance 0.018; OKLCH L 26.7% C 0.032 H 3.1°. Best body text is #FFFFFF at 15.42:1 contrast (WCAG AA passes).
Color values
| HEX | #331F24 |
|---|---|
| RGB | rgb(51, 31, 36) |
| HSL | hsl(345, 24%, 16%) |
| HSV | hsv(345, 39%, 20%) |
| CMYK | cmyk(0%, 39.2%, 29.4%, 80%) |
| CIE-LAB | lab(14.46, 10.61, 0.61) |
| CIE-LCH | lch(14.46, 10.63, 3.31°) |
| OKLab | oklab(26.67% 0.032 0.0018) |
| OKLCH | oklch(26.67% 0.032 3.1) |
| XYZ | xyz(2.1737, 1.8113, 1.9038) |
| Luminance | 0.0181 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Very Dark Brown
#1D0200
ΔE00 7.86
Dark Maroon
#3C0008
ΔE00 12.55
Espresso
#4B382A
ΔE00 13.24
Purple Brown
#673A3F
ΔE00 13.41
Dark Plum
#3F012C
ΔE00 13.61
Deep Brown
#410200
ΔE00 13.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#331F24 #1F332E
analogous
#331F2E #331F24 #33241F
triadic
#331F24 #24331F #1F2433
tetradic
#331F24 #2E331F #1F332E #241F33
square
#331F24 #2E331F #1F332E #241F33
split-complementary
#331F24 #1F3324 #1F2E33
monochromatic
#130C0D #130C0D #331F24 #59363F #7F4D5A
Accessibility & contrast
On white
15.42
#331F24 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.36
#331F24 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #331F24
15.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##331F24 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##331F24 | 1.00 | 15.42 | 1.36 | 15.42 |
| #FFFFFF | 15.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#222224
Deuteranopia (green-blind)
#272624
Tritanopia (blue-blind)
#361E21
Achromatopsia (no color)
#252525
Design tokens & code
CSS
--color: #331f24; /* rgb */ color: rgb(51, 31, 36); /* oklch */ color: oklch(26.7% 0.032 3.1);
Tailwind
colors: {
custom: {
50: '#6b5a5e',
500: '#331f24',
950: '#000000',
},
}SCSS
$custom: #331f24; $custom-light: #6b5a5e; $custom-dark: #000000;
JSON
{
"hex": "#331f24",
"rgb": {
"r": 51,
"g": 31,
"b": 36
},
"hsl": {
"h": 345,
"s": 24.39,
"l": 16.078
},
"oklch": {
"l": 0.26671,
"c": 0.03209,
"h": 3.1
},
"luminance": 0.01811
}Semantic roles & 50–950 ramp
primary
#331F24
secondary
#48665E
accent
#C1AA67
background
#F6F5F5
surface
#EBE9E9
border
#C6C5C5
text
#060404
muted
#7A7979