#5A282A#5A282A
#5A282A is a dark, moderate red. Relative luminance 0.039; OKLCH L 34.7% C 0.074 H 19.2°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).
Color values
| HEX | #5A282A |
|---|---|
| RGB | rgb(90, 40, 42) |
| HSL | hsl(358, 38%, 25%) |
| HSV | hsv(358, 56%, 35%) |
| CMYK | cmyk(0%, 55.6%, 53.3%, 64.7%) |
| CIE-LAB | lab(23.20, 23.17, 9.62) |
| CIE-LCH | lch(23.20, 25.09, 22.54°) |
| OKLab | oklab(34.68% 0.0696 0.0242) |
| OKLCH | oklch(34.68% 0.074 19.2) |
| XYZ | xyz(5.3935, 3.8590, 2.6509) |
| Luminance | 0.0386 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine
#722F37
ΔE00 5.62
Purple Brown
#673A3F
ΔE00 5.85
Maroon (survey)
#650021
ΔE00 8.21
Purplish Brown
#6B4247
ΔE00 8.33
Claret
#680018
ΔE00 8.41
Burgundy (survey)
#610023
ΔE00 8.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A282A #285A58
analogous
#5A2843 #5A282A #5A3F28
triadic
#5A282A #2A5A28 #282A5A
tetradic
#5A282A #435A28 #285A58 #3F285A
square
#5A282A #435A28 #285A58 #3F285A
split-complementary
#5A282A #285A3F #28435A
monochromatic
#15090A #301516 #5A282A #843B3E #AF4E52
Accessibility & contrast
On white
11.85
#5A282A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#5A282A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A282A
11.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A282A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A282A | 1.00 | 11.85 | 1.77 | 11.85 |
| #FFFFFF | 11.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#33312A
Deuteranopia (green-blind)
#403B29
Tritanopia (blue-blind)
#622129
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #5a282a; /* rgb */ color: rgb(90, 40, 42); /* oklch */ color: oklch(34.7% 0.074 19.2);
Tailwind
colors: {
custom: {
50: '#8c6363',
500: '#5a282a',
950: '#000000',
},
}SCSS
$custom: #5a282a; $custom-light: #8c6363; $custom-dark: #000000;
JSON
{
"hex": "#5a282a",
"rgb": {
"r": 90,
"g": 40,
"b": 42
},
"hsl": {
"h": 357.6,
"s": 38.462,
"l": 25.49
},
"oklch": {
"l": 0.34684,
"c": 0.07368,
"h": 19.2
},
"luminance": 0.03858
}Semantic roles & 50–950 ramp
primary
#5A282A
secondary
#518D8A
accent
#CECA59
background
#F8F6F5
surface
#F0EBEA
border
#CBC6C6
text
#0C0505
muted
#7D7A79