#5F211F#5F211F
#5F211F is a dark, moderate red. Relative luminance 0.036; OKLCH L 34.2% C 0.091 H 25.0°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).
Color values
| HEX | #5F211F |
|---|---|
| RGB | rgb(95, 33, 31) |
| HSL | hsl(2, 51%, 25%) |
| HSV | hsv(2, 67%, 37%) |
| CMYK | cmyk(0%, 65.3%, 67.4%, 62.7%) |
| CIE-LAB | lab(22.37, 28.12, 16.13) |
| CIE-LCH | lch(22.37, 32.42, 29.84°) |
| OKLab | oklab(34.16% 0.0827 0.0385) |
| OKLCH | oklch(34.16% 0.091 25) |
| XYZ | xyz(5.5110, 3.6203, 1.7046) |
| Luminance | 0.0362 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Claret
#680018
ΔE00 5.89
Rosewood
#65000B
ΔE00 5.99
Wine
#722F37
ΔE00 6.84
Dried Blood
#4B0101
ΔE00 6.88
Mahogany
#4A0100
ΔE00 7.02
Reddy Brown
#6E1005
ΔE00 7.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F211F #1F5D5F
analogous
#5F1F3D #5F211F #5F411F
triadic
#5F211F #1F5F21 #211F5F
tetradic
#5F211F #3D5F1F #1F5D5F #411F5F
square
#5F211F #3D5F1F #1F5D5F #411F5F
split-complementary
#5F211F #1F5F41 #1F3D5F
monochromatic
#170808 #311110 #5F211F #8D312E #BB413D
Accessibility & contrast
On white
12.18
#5F211F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#5F211F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F211F
12.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F211F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F211F | 1.00 | 12.18 | 1.72 | 12.18 |
| #FFFFFF | 12.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#312D1E
Deuteranopia (green-blind)
#403A1D
Tritanopia (blue-blind)
#691421
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #5f211f; /* rgb */ color: rgb(95, 33, 31); /* oklch */ color: oklch(34.2% 0.091 25.0);
Tailwind
colors: {
custom: {
50: '#915f5a',
500: '#5f211f',
950: '#000000',
},
}SCSS
$custom: #5f211f; $custom-light: #915f5a; $custom-dark: #000000;
JSON
{
"hex": "#5f211f",
"rgb": {
"r": 95,
"g": 33,
"b": 31
},
"hsl": {
"h": 1.875,
"s": 50.794,
"l": 24.706
},
"oklch": {
"l": 0.3416,
"c": 0.09118,
"h": 25
},
"luminance": 0.0362
}Semantic roles & 50–950 ramp
primary
#5F211F
secondary
#469194
accent
#D6DA4E
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0503
muted
#7E7978