#5F181D#5F181D
#5F181D is a dark, moderate red. Relative luminance 0.032; OKLCH L 32.9% C 0.102 H 21.0°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).
Color values
| HEX | #5F181D |
|---|---|
| RGB | rgb(95, 24, 29) |
| HSL | hsl(356, 60%, 23%) |
| HSV | hsv(356, 75%, 37%) |
| CMYK | cmyk(0%, 74.7%, 69.5%, 62.7%) |
| CIE-LAB | lab(20.73, 32.30, 15.41) |
| CIE-LCH | lch(20.73, 35.79, 25.51°) |
| OKLab | oklab(32.92% 0.0954 0.0366) |
| OKLCH | oklch(32.92% 0.102 21) |
| XYZ | xyz(5.2683, 3.1756, 1.4977) |
| Luminance | 0.0318 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Claret
#680018
ΔE00 3.74
Rosewood
#65000B
ΔE00 5.15
Maroon (survey)
#650021
ΔE00 5.36
Dried Blood
#4B0101
ΔE00 5.91
Mahogany
#4A0100
ΔE00 6.10
Wine Red
#7B0323
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F181D #185F5A
analogous
#5F1840 #5F181D #5F3618
triadic
#5F181D #1D5F18 #181D5F
tetradic
#5F181D #405F18 #185F5A #36185F
square
#5F181D #405F18 #185F5A #36185F
split-complementary
#5F181D #185F36 #18405F
monochromatic
#180607 #2E0C0E #5F181D #90242C #C1313B
Accessibility & contrast
On white
12.84
#5F181D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#5F181D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F181D
12.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F181D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F181D | 1.00 | 12.84 | 1.64 | 12.84 |
| #FFFFFF | 12.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B281D
Deuteranopia (green-blind)
#3D371B
Tritanopia (blue-blind)
#69041A
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #5f181d; /* rgb */ color: rgb(95, 24, 29); /* oklch */ color: oklch(32.9% 0.102 21.0);
Tailwind
colors: {
custom: {
50: '#925a58',
500: '#5f181d',
950: '#000000',
},
}SCSS
$custom: #5f181d; $custom-light: #925a58; $custom-dark: #000000;
JSON
{
"hex": "#5f181d",
"rgb": {
"r": 95,
"g": 24,
"b": 29
},
"hsl": {
"h": 355.775,
"s": 59.664,
"l": 23.333
},
"oklch": {
"l": 0.32919,
"c": 0.10224,
"h": 21
},
"luminance": 0.03175
}Semantic roles & 50–950 ramp
primary
#5F181D
secondary
#3D958F
accent
#E3D845
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0403
muted
#7E7978