#5F201F#5F201F
#5F201F is a dark, moderate red. Relative luminance 0.036; OKLCH L 34.0% C 0.092 H 24.2°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).
Color values
| HEX | #5F201F |
|---|---|
| RGB | rgb(95, 32, 31) |
| HSL | hsl(1, 51%, 25%) |
| HSV | hsv(1, 67%, 37%) |
| CMYK | cmyk(0%, 66.3%, 67.4%, 62.7%) |
| CIE-LAB | lab(22.18, 28.63, 15.88) |
| CIE-LCH | lch(22.18, 32.75, 29.02°) |
| OKLab | oklab(34.01% 0.0843 0.038) |
| OKLCH | oklch(34.01% 0.092 24.2) |
| XYZ | xyz(5.4837, 3.5656, 1.6955) |
| Luminance | 0.0357 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Claret
#680018
ΔE00 5.57
Rosewood
#65000B
ΔE00 5.88
Wine
#722F37
ΔE00 6.74
Dried Blood
#4B0101
ΔE00 6.74
Mahogany
#4A0100
ΔE00 6.89
Maroon (survey)
#650021
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F201F #1F5E5F
analogous
#5F1F3E #5F201F #5F401F
triadic
#5F201F #1F5F20 #201F5F
tetradic
#5F201F #3E5F1F #1F5E5F #401F5F
square
#5F201F #3E5F1F #1F5E5F #401F5F
split-complementary
#5F201F #1F5F40 #1F3E5F
monochromatic
#170808 #311010 #5F201F #8D302E #BB3F3D
Accessibility & contrast
On white
12.26
#5F201F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#5F201F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F201F
12.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F201F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F201F | 1.00 | 12.26 | 1.71 | 12.26 |
| #FFFFFF | 12.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#302D1E
Deuteranopia (green-blind)
#403A1D
Tritanopia (blue-blind)
#691320
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #5f201f; /* rgb */ color: rgb(95, 32, 31); /* oklch */ color: oklch(34.0% 0.092 24.2);
Tailwind
colors: {
custom: {
50: '#915f5a',
500: '#5f201f',
950: '#000000',
},
}SCSS
$custom: #5f201f; $custom-light: #915f5a; $custom-dark: #000000;
JSON
{
"hex": "#5f201f",
"rgb": {
"r": 95,
"g": 32,
"b": 31
},
"hsl": {
"h": 0.938,
"s": 50.794,
"l": 24.706
},
"oklch": {
"l": 0.34014,
"c": 0.09242,
"h": 24.2
},
"luminance": 0.03565
}Semantic roles & 50–950 ramp
primary
#5F201F
secondary
#469294
accent
#D8DA4E
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0503
muted
#7E7978