#5F121C#5F121C
#5F121C is a dark, moderate red. Relative luminance 0.029; OKLCH L 32.3% C 0.109 H 19.1°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).
Color values
| HEX | #5F121C |
|---|---|
| RGB | rgb(95, 18, 28) |
| HSL | hsl(352, 68%, 22%) |
| HSV | hsv(352, 81%, 37%) |
| CMYK | cmyk(0%, 81.1%, 70.5%, 62.7%) |
| CIE-LAB | lab(19.84, 34.66, 14.98) |
| CIE-LCH | lch(19.84, 37.75, 23.37°) |
| OKLab | oklab(32.25% 0.1027 0.0355) |
| OKLCH | oklch(32.25% 0.109 19.1) |
| XYZ | xyz(5.1458, 2.9501, 1.3969) |
| Luminance | 0.0295 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Claret
#680018
ΔE00 2.89
Maroon (survey)
#650021
ΔE00 4.15
Rosewood
#65000B
ΔE00 5.20
Burgundy (survey)
#610023
ΔE00 5.29
Wine Red
#7B0323
ΔE00 5.72
Dried Blood
#4B0101
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F121C #125F55
analogous
#5F1243 #5F121C #5F2F12
triadic
#5F121C #1C5F12 #121C5F
tetradic
#5F121C #435F12 #125F55 #2F125F
square
#5F121C #435F12 #125F55 #2F125F
split-complementary
#5F121C #125F2F #12435F
monochromatic
#1A0508 #2C080D #5F121C #921C2B #C6253A
Accessibility & contrast
On white
13.21
#5F121C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#5F121C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F121C
13.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F121C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F121C | 1.00 | 13.21 | 1.59 | 13.21 |
| #FFFFFF | 13.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#28261C
Deuteranopia (green-blind)
#3C361A
Tritanopia (blue-blind)
#690016
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #5f121c; /* rgb */ color: rgb(95, 18, 28); /* oklch */ color: oklch(32.3% 0.109 19.1);
Tailwind
colors: {
custom: {
50: '#925857',
500: '#5f121c',
950: '#000000',
},
}SCSS
$custom: #5f121c; $custom-light: #925857; $custom-dark: #000000;
JSON
{
"hex": "#5f121c",
"rgb": {
"r": 95,
"g": 18,
"b": 28
},
"hsl": {
"h": 352.208,
"s": 68.142,
"l": 22.157
},
"oklch": {
"l": 0.3225,
"c": 0.1087,
"h": 19.1
},
"luminance": 0.02949
}Semantic roles & 50–950 ramp
primary
#5F121C
secondary
#36978B
accent
#EBD43D
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0403
muted
#7E7978