#5A1827#5A1827
#5A1827 is a dark, moderate red. Relative luminance 0.030; OKLCH L 32.2% C 0.097 H 10.9°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).
Color values
| HEX | #5A1827 |
|---|---|
| RGB | rgb(90, 24, 39) |
| HSL | hsl(346, 58%, 22%) |
| HSV | hsv(346, 73%, 35%) |
| CMYK | cmyk(0%, 73.3%, 56.7%, 64.7%) |
| CIE-LAB | lab(19.94, 31.30, 7.21) |
| CIE-LCH | lch(19.94, 32.12, 12.97°) |
| OKLab | oklab(32.21% 0.0948 0.0183) |
| OKLCH | oklch(32.21% 0.097 10.9) |
| XYZ | xyz(4.9097, 2.9741, 2.2346) |
| Luminance | 0.0297 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy (survey)
#610023
ΔE00 3.79
Maroon (survey)
#650021
ΔE00 4.28
Claret
#680018
ΔE00 6.80
Wine
#722F37
ΔE00 6.90
Bordeaux
#7B002C
ΔE00 7.14
Merlot
#730039
ΔE00 7.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A1827 #185A4B
analogous
#5A1848 #5A1827 #5A2A18
triadic
#5A1827 #275A18 #18275A
tetradic
#5A1827 #485A18 #185A4B #2A185A
square
#5A1827 #485A18 #185A4B #2A185A
split-complementary
#5A1827 #185A2A #18485A
monochromatic
#18060A #2A0B12 #5A1827 #8A253C #BB3251
Accessibility & contrast
On white
13.17
#5A1827 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#5A1827 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A1827
13.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A1827 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A1827 | 1.00 | 13.17 | 1.59 | 13.17 |
| #FFFFFF | 13.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#282827
Deuteranopia (green-blind)
#393525
Tritanopia (blue-blind)
#630B1E
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #5a1827; /* rgb */ color: rgb(90, 24, 39); /* oklch */ color: oklch(32.2% 0.097 10.9);
Tailwind
colors: {
custom: {
50: '#8d5a60',
500: '#5a1827',
950: '#000000',
},
}SCSS
$custom: #5a1827; $custom-light: #8d5a60; $custom-dark: #000000;
JSON
{
"hex": "#5a1827",
"rgb": {
"r": 90,
"g": 24,
"b": 39
},
"hsl": {
"h": 346.364,
"s": 57.895,
"l": 22.353
},
"oklch": {
"l": 0.32212,
"c": 0.09657,
"h": 10.9
},
"luminance": 0.02973
}Semantic roles & 50–950 ramp
primary
#5A1827
secondary
#3D917E
accent
#E1BE47
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0405
muted
#7E7979