#5A0F1D#5A0F1D
#5A0F1D is a dark, moderate red. Relative luminance 0.026; OKLCH L 31.0% C 0.106 H 16.1°. Best body text is #FFFFFF at 13.81:1 contrast (WCAG AA passes).
Color values
| HEX | #5A0F1D |
|---|---|
| RGB | rgb(90, 15, 29) |
| HSL | hsl(349, 71%, 21%) |
| HSV | hsv(349, 83%, 35%) |
| CMYK | cmyk(0%, 83.3%, 67.8%, 64.7%) |
| CIE-LAB | lab(18.39, 34.12, 12.18) |
| CIE-LCH | lch(18.39, 36.23, 19.65°) |
| OKLab | oklab(30.98% 0.102 0.0295) |
| OKLCH | oklch(30.98% 0.106 16.1) |
| XYZ | xyz(4.6095, 2.6047, 1.4222) |
| Luminance | 0.0260 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Maroon (survey)
#650021
ΔE00 3.31
Burgundy (survey)
#610023
ΔE00 3.90
Claret
#680018
ΔE00 4.07
Dried Blood
#4B0101
ΔE00 6.18
Mahogany
#4A0100
ΔE00 6.36
Dark Maroon
#3C0008
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A0F1D #0F5A4C
analogous
#5A0F42 #5A0F1D #5A260F
triadic
#5A0F1D #1D5A0F #0F1D5A
tetradic
#5A0F1D #425A0F #0F5A4C #260F5A
square
#5A0F1D #425A0F #0F5A4C #260F5A
split-complementary
#5A0F1D #0F5A26 #0F425A
monochromatic
#1A0408 #26060C #5A0F1D #8E182E #C3203F
Accessibility & contrast
On white
13.81
#5A0F1D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#5A0F1D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A0F1D
13.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A0F1D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A0F1D | 1.00 | 13.81 | 1.52 | 13.81 |
| #FFFFFF | 13.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#25231D
Deuteranopia (green-blind)
#37321B
Tritanopia (blue-blind)
#630015
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #5a0f1d; /* rgb */ color: rgb(90, 15, 29); /* oklch */ color: oklch(31.0% 0.106 16.1);
Tailwind
colors: {
custom: {
50: '#8e5658',
500: '#5a0f1d',
950: '#000000',
},
}SCSS
$custom: #5a0f1d; $custom-light: #8e5658; $custom-dark: #000000;
JSON
{
"hex": "#5a0f1d",
"rgb": {
"r": 90,
"g": 15,
"b": 29
},
"hsl": {
"h": 348.8,
"s": 71.429,
"l": 20.588
},
"oklch": {
"l": 0.3098,
"c": 0.10619,
"h": 16.1
},
"luminance": 0.02604
}Semantic roles & 50–950 ramp
primary
#5A0F1D
secondary
#319481
accent
#EECC3A
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0303
muted
#7E7878