#5F181B#5F181B
#5F181B is a dark, moderate red. Relative luminance 0.032; OKLCH L 32.9% C 0.102 H 22.6°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).
Color values
| HEX | #5F181B |
|---|---|
| RGB | rgb(95, 24, 27) |
| HSL | hsl(357, 60%, 23%) |
| HSV | hsv(357, 75%, 37%) |
| CMYK | cmyk(0%, 74.7%, 71.6%, 62.7%) |
| CIE-LAB | lab(20.70, 32.17, 16.73) |
| CIE-LCH | lch(20.70, 36.26, 27.48°) |
| OKLab | oklab(32.88% 0.0946 0.0393) |
| OKLCH | oklch(32.88% 0.102 22.6) |
| XYZ | xyz(5.2443, 3.1661, 1.3717) |
| Luminance | 0.0316 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Claret
#680018
ΔE00 3.88
Rosewood
#65000B
ΔE00 4.55
Dried Blood
#4B0101
ΔE00 5.58
Mahogany
#4A0100
ΔE00 5.76
Maroon (survey)
#650021
ΔE00 6.08
Wine Red
#7B0323
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F181B #185F5C
analogous
#5F183E #5F181B #5F3818
triadic
#5F181B #1B5F18 #181B5F
tetradic
#5F181B #3E5F18 #185F5C #38185F
square
#5F181B #3E5F18 #185F5C #38185F
split-complementary
#5F181B #185F38 #183E5F
monochromatic
#180607 #2E0C0D #5F181B #902429 #C13137
Accessibility & contrast
On white
12.86
#5F181B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#5F181B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F181B
12.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F181B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F181B | 1.00 | 12.86 | 1.63 | 12.86 |
| #FFFFFF | 12.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C281B
Deuteranopia (green-blind)
#3D3719
Tritanopia (blue-blind)
#69041A
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #5f181b; /* rgb */ color: rgb(95, 24, 27); /* oklch */ color: oklch(32.9% 0.102 22.6);
Tailwind
colors: {
custom: {
50: '#925a57',
500: '#5f181b',
950: '#000000',
},
}SCSS
$custom: #5f181b; $custom-light: #925a57; $custom-dark: #000000;
JSON
{
"hex": "#5f181b",
"rgb": {
"r": 95,
"g": 24,
"b": 27
},
"hsl": {
"h": 357.465,
"s": 59.664,
"l": 23.333
},
"oklch": {
"l": 0.32879,
"c": 0.10243,
"h": 22.6
},
"luminance": 0.03165
}Semantic roles & 50–950 ramp
primary
#5F181B
secondary
#3D9592
accent
#E3DC45
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0403
muted
#7E7978