#5F121D#5F121D
#5F121D is a dark, moderate red. Relative luminance 0.030; OKLCH L 32.3% C 0.109 H 18.3°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).
Color values
| HEX | #5F121D |
|---|---|
| RGB | rgb(95, 18, 29) |
| HSL | hsl(351, 68%, 22%) |
| HSV | hsv(351, 81%, 37%) |
| CMYK | cmyk(0%, 81.1%, 69.5%, 62.7%) |
| CIE-LAB | lab(19.86, 34.72, 14.31) |
| CIE-LCH | lch(19.86, 37.55, 22.40°) |
| OKLab | oklab(32.27% 0.1032 0.0341) |
| OKLCH | oklch(32.27% 0.109 18.3) |
| XYZ | xyz(5.1579, 2.9550, 1.4609) |
| Luminance | 0.0295 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Claret
#680018
ΔE00 3.02
Maroon (survey)
#650021
ΔE00 3.81
Burgundy (survey)
#610023
ΔE00 4.90
Rosewood
#65000B
ΔE00 5.58
Wine Red
#7B0323
ΔE00 5.69
Dried Blood
#4B0101
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F121D #125F54
analogous
#5F1243 #5F121D #5F2E12
triadic
#5F121D #1D5F12 #121D5F
tetradic
#5F121D #435F12 #125F54 #2E125F
square
#5F121D #435F12 #125F54 #2E125F
split-complementary
#5F121D #125F2E #12435F
monochromatic
#1A0508 #2C080D #5F121D #921C2D #C6253C
Accessibility & contrast
On white
13.20
#5F121D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#5F121D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F121D
13.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F121D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F121D | 1.00 | 13.20 | 1.59 | 13.20 |
| #FFFFFF | 13.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#28261D
Deuteranopia (green-blind)
#3B361B
Tritanopia (blue-blind)
#690017
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #5f121d; /* rgb */ color: rgb(95, 18, 29); /* oklch */ color: oklch(32.3% 0.109 18.3);
Tailwind
colors: {
custom: {
50: '#925858',
500: '#5f121d',
950: '#000000',
},
}SCSS
$custom: #5f121d; $custom-light: #925858; $custom-dark: #000000;
JSON
{
"hex": "#5f121d",
"rgb": {
"r": 95,
"g": 18,
"b": 29
},
"hsl": {
"h": 351.429,
"s": 68.142,
"l": 22.157
},
"oklch": {
"l": 0.32271,
"c": 0.10867,
"h": 18.3
},
"luminance": 0.02954
}Semantic roles & 50–950 ramp
primary
#5F121D
secondary
#369789
accent
#EBD23D
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0403
muted
#7E7978