#5F1222#5F1222
#5F1222 is a dark, moderate red. Relative luminance 0.030; OKLCH L 32.4% C 0.109 H 14.3°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).
Color values
| HEX | #5F1222 |
|---|---|
| RGB | rgb(95, 18, 34) |
| HSL | hsl(348, 68%, 22%) |
| HSV | hsv(348, 81%, 37%) |
| CMYK | cmyk(0%, 81.1%, 64.2%, 62.7%) |
| CIE-LAB | lab(19.97, 35.07, 10.94) |
| CIE-LCH | lch(19.97, 36.74, 17.33°) |
| OKLab | oklab(32.39% 0.1054 0.0269) |
| OKLCH | oklch(32.39% 0.109 14.3) |
| XYZ | xyz(5.2249, 2.9818, 1.8135) |
| Luminance | 0.0298 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Maroon (survey)
#650021
ΔE00 2.56
Burgundy (survey)
#610023
ΔE00 3.11
Claret
#680018
ΔE00 4.34
Bordeaux
#7B002C
ΔE00 5.87
Wine Red
#7B0323
ΔE00 6.04
Wine
#722F37
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F1222 #125F4F
analogous
#5F1249 #5F1222 #5F2812
triadic
#5F1222 #225F12 #12225F
tetradic
#5F1222 #495F12 #125F4F #28125F
square
#5F1222 #495F12 #125F4F #28125F
split-complementary
#5F1222 #125F28 #12495F
monochromatic
#1A0509 #2C0810 #5F1222 #921C34 #C62547
Accessibility & contrast
On white
13.16
#5F1222 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#5F1222 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F1222
13.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F1222 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F1222 | 1.00 | 13.16 | 1.60 | 13.16 |
| #FFFFFF | 13.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#272622
Deuteranopia (green-blind)
#3B3620
Tritanopia (blue-blind)
#690019
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #5f1222; /* rgb */ color: rgb(95, 18, 34); /* oklch */ color: oklch(32.4% 0.109 14.3);
Tailwind
colors: {
custom: {
50: '#92585c',
500: '#5f1222',
950: '#000000',
},
}SCSS
$custom: #5f1222; $custom-light: #92585c; $custom-dark: #000000;
JSON
{
"hex": "#5f1222",
"rgb": {
"r": 95,
"g": 18,
"b": 34
},
"hsl": {
"h": 347.532,
"s": 68.142,
"l": 22.157
},
"oklch": {
"l": 0.32386,
"c": 0.10876,
"h": 14.3
},
"luminance": 0.02981
}Semantic roles & 50–950 ramp
primary
#5F1222
secondary
#369783
accent
#EBC73D
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0404
muted
#7E7979