#331F1B#331F1B
#331F1B is a dark, muted red. Relative luminance 0.018; OKLCH L 26.4% C 0.032 H 31.8°. Best body text is #FFFFFF at 15.53:1 contrast (WCAG AA passes).
Color values
| HEX | #331F1B |
|---|---|
| RGB | rgb(51, 31, 27) |
| HSL | hsl(10, 31%, 15%) |
| HSV | hsv(10, 47%, 20%) |
| CMYK | cmyk(0%, 39.2%, 47.1%, 80%) |
| CIE-LAB | lab(14.19, 9.11, 6.71) |
| CIE-LCH | lch(14.19, 11.32, 36.36°) |
| OKLab | oklab(26.37% 0.0276 0.0171) |
| OKLCH | oklch(26.37% 0.032 31.8) |
| XYZ | xyz(2.0531, 1.7631, 1.2689) |
| Luminance | 0.0176 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Very Dark Brown
#1D0200
ΔE00 7.38
Dark Brown
#341C02
ΔE00 8.55
Chocolate (survey)
#3D1C02
ΔE00 9.11
Espresso
#4B382A
ΔE00 9.59
Chocolate Brown
#411900
ΔE00 9.87
Deep Brown
#410200
ΔE00 12.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#331F1B #1B2F33
analogous
#331B23 #331F1B #332B1B
triadic
#331F1B #1B331F #1F1B33
tetradic
#331F1B #23331B #1B2F33 #2B1B33
square
#331F1B #23331B #1B2F33 #2B1B33
split-complementary
#331F1B #1B332B #1B2333
monochromatic
#140C0B #140C0B #331F1B #5B3730 #835045
Accessibility & contrast
On white
15.53
#331F1B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.35
#331F1B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #331F1B
15.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##331F1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##331F1B | 1.00 | 15.53 | 1.35 | 15.53 |
| #FFFFFF | 15.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#23221B
Deuteranopia (green-blind)
#28261B
Tritanopia (blue-blind)
#371C1E
Achromatopsia (no color)
#242424
Design tokens & code
CSS
--color: #331f1b; /* rgb */ color: rgb(51, 31, 27); /* oklch */ color: oklch(26.4% 0.032 31.8);
Tailwind
colors: {
custom: {
50: '#6c5a57',
500: '#331f1b',
950: '#000000',
},
}SCSS
$custom: #331f1b; $custom-light: #6c5a57; $custom-dark: #000000;
JSON
{
"hex": "#331f1b",
"rgb": {
"r": 51,
"g": 31,
"b": 27
},
"hsl": {
"h": 10,
"s": 30.769,
"l": 15.294
},
"oklch": {
"l": 0.26372,
"c": 0.03241,
"h": 31.8
},
"luminance": 0.01763
}Semantic roles & 50–950 ramp
primary
#331F1B
secondary
#436167
accent
#B6C761
background
#F6F5F5
surface
#EBE9E9
border
#C6C5C5
text
#070403
muted
#7A7978