#5A0F15#5A0F15
#5A0F15 is a dark, moderate red. Relative luminance 0.026; OKLCH L 30.8% C 0.106 H 22.3°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).
Color values
| HEX | #5A0F15 |
|---|---|
| RGB | rgb(90, 15, 21) |
| HSL | hsl(355, 71%, 21%) |
| HSV | hsv(355, 83%, 35%) |
| CMYK | cmyk(0%, 83.3%, 76.7%, 64.7%) |
| CIE-LAB | lab(18.23, 33.63, 17.60) |
| CIE-LCH | lch(18.23, 37.96, 27.63°) |
| OKLab | oklab(30.82% 0.0985 0.0404) |
| OKLCH | oklch(30.82% 0.106 22.3) |
| XYZ | xyz(4.5231, 2.5702, 0.9672) |
| Luminance | 0.0257 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Claret
#680018
ΔE00 3.59
Rosewood
#65000B
ΔE00 3.90
Dried Blood
#4B0101
ΔE00 3.92
Mahogany
#4A0100
ΔE00 4.12
Deep Brown
#410200
ΔE00 5.51
Maroon (survey)
#650021
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A0F15 #0F5A54
analogous
#5A0F3A #5A0F15 #5A2E0F
triadic
#5A0F15 #155A0F #0F155A
tetradic
#5A0F15 #3A5A0F #0F5A54 #2E0F5A
square
#5A0F15 #3A5A0F #0F5A54 #2E0F5A
split-complementary
#5A0F15 #0F5A2E #0F3A5A
monochromatic
#1A0406 #260609 #5A0F15 #8E1821 #C3202D
Accessibility & contrast
On white
13.87
#5A0F15 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#5A0F15 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A0F15
13.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A0F15 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A0F15 | 1.00 | 13.87 | 1.51 | 13.87 |
| #FFFFFF | 13.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#262215
Deuteranopia (green-blind)
#383212
Tritanopia (blue-blind)
#640012
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #5a0f15; /* rgb */ color: rgb(90, 15, 21); /* oklch */ color: oklch(30.8% 0.106 22.3);
Tailwind
colors: {
custom: {
50: '#8f5552',
500: '#5a0f15',
950: '#000000',
},
}SCSS
$custom: #5a0f15; $custom-light: #8f5552; $custom-dark: #000000;
JSON
{
"hex": "#5a0f15",
"rgb": {
"r": 90,
"g": 15,
"b": 21
},
"hsl": {
"h": 355.2,
"s": 71.429,
"l": 20.588
},
"oklch": {
"l": 0.30817,
"c": 0.10648,
"h": 22.3
},
"luminance": 0.02569
}Semantic roles & 50–950 ramp
primary
#5A0F15
secondary
#31948C
accent
#EEE03A
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878