#5F181E#5F181E
#5F181E is a dark, moderate red. Relative luminance 0.032; OKLCH L 32.9% C 0.102 H 20.2°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).
Color values
| HEX | #5F181E |
|---|---|
| RGB | rgb(95, 24, 30) |
| HSL | hsl(355, 60%, 23%) |
| HSV | hsv(355, 75%, 37%) |
| CMYK | cmyk(0%, 74.7%, 68.4%, 62.7%) |
| CIE-LAB | lab(20.75, 32.37, 14.75) |
| CIE-LCH | lch(20.75, 35.57, 24.50°) |
| OKLab | oklab(32.94% 0.0959 0.0353) |
| OKLCH | oklch(32.94% 0.102 20.2) |
| XYZ | xyz(5.2808, 3.1807, 1.5639) |
| Luminance | 0.0318 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Claret
#680018
ΔE00 3.75
Maroon (survey)
#650021
ΔE00 5.02
Rosewood
#65000B
ΔE00 5.48
Burgundy (survey)
#610023
ΔE00 6.06
Dried Blood
#4B0101
ΔE00 6.12
Wine Red
#7B0323
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F181E #185F59
analogous
#5F1841 #5F181E #5F3518
triadic
#5F181E #1E5F18 #181E5F
tetradic
#5F181E #415F18 #185F59 #35185F
square
#5F181E #415F18 #185F59 #35185F
split-complementary
#5F181E #185F35 #18415F
monochromatic
#180608 #2E0C0F #5F181E #90242D #C1313D
Accessibility & contrast
On white
12.84
#5F181E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#5F181E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F181E
12.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F181E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F181E | 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)
#2B281E
Deuteranopia (green-blind)
#3D371C
Tritanopia (blue-blind)
#69051B
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #5f181e; /* rgb */ color: rgb(95, 24, 30); /* oklch */ color: oklch(32.9% 0.102 20.2);
Tailwind
colors: {
custom: {
50: '#925a59',
500: '#5f181e',
950: '#000000',
},
}SCSS
$custom: #5f181e; $custom-light: #925a59; $custom-dark: #000000;
JSON
{
"hex": "#5f181e",
"rgb": {
"r": 95,
"g": 24,
"b": 30
},
"hsl": {
"h": 354.93,
"s": 59.664,
"l": 23.333
},
"oklch": {
"l": 0.3294,
"c": 0.10217,
"h": 20.2
},
"luminance": 0.0318
}Semantic roles & 50–950 ramp
primary
#5F181E
secondary
#3D958E
accent
#E3D545
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0403
muted
#7E7978