#5A252D#5A252D
#5A252D is a dark, moderate red. Relative luminance 0.037; OKLCH L 34.3% C 0.078 H 12.8°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).
Color values
| HEX | #5A252D |
|---|---|
| RGB | rgb(90, 37, 45) |
| HSL | hsl(351, 42%, 25%) |
| HSV | hsv(351, 59%, 35%) |
| CMYK | cmyk(0%, 58.9%, 50%, 64.7%) |
| CIE-LAB | lab(22.61, 25.23, 6.76) |
| CIE-LCH | lch(22.61, 26.12, 14.99°) |
| OKLab | oklab(34.26% 0.0763 0.0174) |
| OKLCH | oklch(34.26% 0.078 12.8) |
| XYZ | xyz(5.3520, 3.6868, 2.9119) |
| Luminance | 0.0369 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine
#722F37
ΔE00 5.52
Purple Brown
#673A3F
ΔE00 6.09
Burgundy (survey)
#610023
ΔE00 6.95
Maroon (survey)
#650021
ΔE00 7.10
Claret
#680018
ΔE00 8.54
Purplish Brown
#6B4247
ΔE00 8.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A252D #255A52
analogous
#5A2548 #5A252D #5A3725
triadic
#5A252D #2D5A25 #252D5A
tetradic
#5A252D #485A25 #255A52 #37255A
square
#5A252D #485A25 #255A52 #37255A
split-complementary
#5A252D #255A37 #25485A
monochromatic
#16090B #2F1317 #5A252D #853743 #B14958
Accessibility & contrast
On white
12.09
#5A252D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#5A252D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A252D
12.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A252D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A252D | 1.00 | 12.09 | 1.74 | 12.09 |
| #FFFFFF | 12.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#302F2D
Deuteranopia (green-blind)
#3E3A2C
Tritanopia (blue-blind)
#621E28
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #5a252d; /* rgb */ color: rgb(90, 37, 45); /* oklch */ color: oklch(34.3% 0.078 12.8);
Tailwind
colors: {
custom: {
50: '#8c6265',
500: '#5a252d',
950: '#000000',
},
}SCSS
$custom: #5a252d; $custom-light: #8c6265; $custom-dark: #000000;
JSON
{
"hex": "#5a252d",
"rgb": {
"r": 90,
"g": 37,
"b": 45
},
"hsl": {
"h": 350.943,
"s": 41.732,
"l": 24.902
},
"oklch": {
"l": 0.34262,
"c": 0.07827,
"h": 12.8
},
"luminance": 0.03686
}Semantic roles & 50–950 ramp
primary
#5A252D
secondary
#4D8D84
accent
#D2BF56
background
#F8F5F6
surface
#F0EAEB
border
#CBC6C6
text
#0C0505
muted
#7D797A