#5A1024#5A1024
#5A1024 is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.3% C 0.106 H 10.4°. Best body text is #FFFFFF at 13.69:1 contrast (WCAG AA passes).
Color values
| HEX | #5A1024 |
|---|---|
| RGB | rgb(90, 16, 36) |
| HSL | hsl(344, 70%, 21%) |
| HSV | hsv(344, 82%, 35%) |
| CMYK | cmyk(0%, 82.2%, 60%, 64.7%) |
| CIE-LAB | lab(18.68, 34.31, 7.59) |
| CIE-LCH | lch(18.68, 35.14, 12.48°) |
| OKLab | oklab(31.25% 0.104 0.0191) |
| OKLCH | oklch(31.25% 0.106 10.4) |
| XYZ | xyz(4.7206, 2.6723, 1.9360) |
| Luminance | 0.0267 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 2.46
Maroon (survey)
#650021
ΔE00 3.23
Claret
#680018
ΔE00 6.31
Bordeaux
#7B002C
ΔE00 6.68
Dark Maroon
#3C0008
ΔE00 7.26
Merlot
#730039
ΔE00 7.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A1024 #105A46
analogous
#5A1049 #5A1024 #5A2110
triadic
#5A1024 #245A10 #10245A
tetradic
#5A1024 #495A10 #105A46 #21105A
square
#5A1024 #495A10 #105A46 #21105A
split-complementary
#5A1024 #105A21 #10495A
monochromatic
#1A050A #26070F #5A1024 #8E1939 #C2224E
Accessibility & contrast
On white
13.69
#5A1024 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#5A1024 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A1024
13.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A1024 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A1024 | 1.00 | 13.69 | 1.53 | 13.69 |
| #FFFFFF | 13.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#242424
Deuteranopia (green-blind)
#373322
Tritanopia (blue-blind)
#630019
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #5a1024; /* rgb */ color: rgb(90, 16, 36); /* oklch */ color: oklch(31.3% 0.106 10.4);
Tailwind
colors: {
custom: {
50: '#8e565e',
500: '#5a1024',
950: '#000000',
},
}SCSS
$custom: #5a1024; $custom-light: #8e565e; $custom-dark: #000000;
JSON
{
"hex": "#5a1024",
"rgb": {
"r": 90,
"g": 16,
"b": 36
},
"hsl": {
"h": 343.784,
"s": 69.811,
"l": 20.784
},
"oklch": {
"l": 0.31252,
"c": 0.10574,
"h": 10.4
},
"luminance": 0.02672
}Semantic roles & 50–950 ramp
primary
#5A1024
secondary
#339379
accent
#EDBD3B
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0304
muted
#7E7879