#5F0C1F#5F0C1F
#5F0C1F is a dark, moderate red. Relative luminance 0.028; OKLCH L 31.8% C 0.114 H 14.8°. Best body text is #FFFFFF at 13.47:1 contrast (WCAG AA passes).
Color values
| HEX | #5F0C1F |
|---|---|
| RGB | rgb(95, 12, 31) |
| HSL | hsl(346, 78%, 21%) |
| HSV | hsv(346, 87%, 37%) |
| CMYK | cmyk(0%, 87.4%, 67.4%, 62.7%) |
| CIE-LAB | lab(19.21, 36.82, 12.05) |
| CIE-LCH | lch(19.21, 38.74, 18.12°) |
| OKLab | oklab(31.8% 0.1104 0.0292) |
| OKLCH | oklch(31.8% 0.114 14.8) |
| XYZ | xyz(5.0987, 2.7956, 1.5672) |
| Luminance | 0.0279 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Maroon (survey)
#650021
ΔE00 2.09
Burgundy (survey)
#610023
ΔE00 2.96
Claret
#680018
ΔE00 3.65
Wine Red
#7B0323
ΔE00 5.76
Bordeaux
#7B002C
ΔE00 5.82
Rosewood
#65000B
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F0C1F #0C5F4C
analogous
#5F0C48 #5F0C1F #5F220C
triadic
#5F0C1F #1F5F0C #0C1F5F
tetradic
#5F0C1F #485F0C #0C5F4C #220C5F
square
#5F0C1F #485F0C #0C5F4C #220C5F
split-complementary
#5F0C1F #0C5F22 #0C485F
monochromatic
#1B0309 #29050D #5F0C1F #951331 #CC1A42
Accessibility & contrast
On white
13.47
#5F0C1F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#5F0C1F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F0C1F
13.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F0C1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F0C1F | 1.00 | 13.47 | 1.56 | 13.47 |
| #FFFFFF | 13.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#25241F
Deuteranopia (green-blind)
#3A351D
Tritanopia (blue-blind)
#690015
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #5f0c1f; /* rgb */ color: rgb(95, 12, 31); /* oklch */ color: oklch(31.8% 0.114 14.8);
Tailwind
colors: {
custom: {
50: '#92555a',
500: '#5f0c1f',
950: '#000000',
},
}SCSS
$custom: #5f0c1f; $custom-light: #92555a; $custom-dark: #000000;
JSON
{
"hex": "#5f0c1f",
"rgb": {
"r": 95,
"g": 12,
"b": 31
},
"hsl": {
"h": 346.265,
"s": 77.57,
"l": 20.98
},
"oklch": {
"l": 0.31798,
"c": 0.11418,
"h": 14.8
},
"luminance": 0.02795
}Semantic roles & 50–950 ramp
primary
#5F0C1F
secondary
#2D9981
accent
#F4C834
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0303
muted
#7E7878