#5F121F#5F121F
#5F121F is a dark, moderate red. Relative luminance 0.030; OKLCH L 32.3% C 0.109 H 16.7°. Best body text is #FFFFFF at 13.18:1 contrast (WCAG AA passes).
Color values
| HEX | #5F121F |
|---|---|
| RGB | rgb(95, 18, 31) |
| HSL | hsl(350, 68%, 22%) |
| HSV | hsv(350, 81%, 37%) |
| CMYK | cmyk(0%, 81.1%, 67.4%, 62.7%) |
| CIE-LAB | lab(19.90, 34.85, 12.96) |
| CIE-LCH | lch(19.90, 37.19, 20.40°) |
| OKLab | oklab(32.32% 0.1041 0.0313) |
| OKLCH | oklch(32.32% 0.109 16.7) |
| XYZ | xyz(5.1835, 2.9652, 1.5955) |
| Luminance | 0.0296 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Maroon (survey)
#650021
ΔE00 3.18
Claret
#680018
ΔE00 3.44
Burgundy (survey)
#610023
ΔE00 4.13
Wine Red
#7B0323
ΔE00 5.73
Bordeaux
#7B002C
ΔE00 6.32
Rosewood
#65000B
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F121F #125F52
analogous
#5F1246 #5F121F #5F2C12
triadic
#5F121F #1F5F12 #121F5F
tetradic
#5F121F #465F12 #125F52 #2C125F
square
#5F121F #465F12 #125F52 #2C125F
split-complementary
#5F121F #125F2C #12465F
monochromatic
#1A0508 #2C080E #5F121F #921C30 #C62541
Accessibility & contrast
On white
13.18
#5F121F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#5F121F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F121F
13.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F121F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F121F | 1.00 | 13.18 | 1.59 | 13.18 |
| #FFFFFF | 13.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#28261F
Deuteranopia (green-blind)
#3B361D
Tritanopia (blue-blind)
#690018
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #5f121f; /* rgb */ color: rgb(95, 18, 31); /* oklch */ color: oklch(32.3% 0.109 16.7);
Tailwind
colors: {
custom: {
50: '#92585a',
500: '#5f121f',
950: '#000000',
},
}SCSS
$custom: #5f121f; $custom-light: #92585a; $custom-dark: #000000;
JSON
{
"hex": "#5f121f",
"rgb": {
"r": 95,
"g": 18,
"b": 31
},
"hsl": {
"h": 349.87,
"s": 68.142,
"l": 22.157
},
"oklch": {
"l": 0.32315,
"c": 0.10865,
"h": 16.7
},
"luminance": 0.02964
}Semantic roles & 50–950 ramp
primary
#5F121F
secondary
#369787
accent
#EBCE3D
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0403
muted
#7E7978