#5F0F1B#5F0F1B
#5F0F1B is a dark, moderate red. Relative luminance 0.029; OKLCH L 32.0% C 0.112 H 18.7°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).
Color values
| HEX | #5F0F1B |
|---|---|
| RGB | rgb(95, 15, 27) |
| HSL | hsl(351, 73%, 22%) |
| HSV | hsv(351, 84%, 37%) |
| CMYK | cmyk(0%, 84.2%, 71.6%, 62.7%) |
| CIE-LAB | lab(19.45, 35.64, 15.18) |
| CIE-LCH | lch(19.45, 38.74, 23.07°) |
| OKLab | oklab(31.95% 0.1056 0.0358) |
| OKLCH | oklch(31.95% 0.112 18.7) |
| XYZ | xyz(5.0885, 2.8545, 1.3197) |
| Luminance | 0.0285 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Claret
#680018
ΔE00 2.57
Maroon (survey)
#650021
ΔE00 3.89
Burgundy (survey)
#610023
ΔE00 5.08
Rosewood
#65000B
ΔE00 5.09
Wine Red
#7B0323
ΔE00 5.61
Dried Blood
#4B0101
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F0F1B #0F5F53
analogous
#5F0F43 #5F0F1B #5F2B0F
triadic
#5F0F1B #1B5F0F #0F1B5F
tetradic
#5F0F1B #435F0F #0F5F53 #2B0F5F
square
#5F0F1B #435F0F #0F5F53 #2B0F5F
split-complementary
#5F0F1B #0F5F2B #0F435F
monochromatic
#1A0408 #2A070C #5F0F1B #94172A #C92039
Accessibility & contrast
On white
13.37
#5F0F1B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#5F0F1B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F0F1B
13.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F0F1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F0F1B | 1.00 | 13.37 | 1.57 | 13.37 |
| #FFFFFF | 13.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#27241B
Deuteranopia (green-blind)
#3B3519
Tritanopia (blue-blind)
#690014
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #5f0f1b; /* rgb */ color: rgb(95, 15, 27); /* oklch */ color: oklch(32.0% 0.112 18.7);
Tailwind
colors: {
custom: {
50: '#935657',
500: '#5f0f1b',
950: '#000000',
},
}SCSS
$custom: #5f0f1b; $custom-light: #935657; $custom-dark: #000000;
JSON
{
"hex": "#5f0f1b",
"rgb": {
"r": 95,
"g": 15,
"b": 27
},
"hsl": {
"h": 351,
"s": 72.727,
"l": 21.569
},
"oklch": {
"l": 0.31953,
"c": 0.11155,
"h": 18.7
},
"luminance": 0.02854
}Semantic roles & 50–950 ramp
primary
#5F0F1B
secondary
#329889
accent
#EFD438
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0303
muted
#7E7878