#5A102B#5A102B
#5A102B is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.5% C 0.107 H 4.1°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).
Color values
| HEX | #5A102B |
|---|---|
| RGB | rgb(90, 16, 43) |
| HSL | hsl(338, 70%, 21%) |
| HSV | hsv(338, 82%, 35%) |
| CMYK | cmyk(0%, 82.2%, 52.2%, 64.7%) |
| CIE-LAB | lab(18.88, 34.95, 2.88) |
| CIE-LCH | lch(18.88, 35.07, 4.72°) |
| OKLab | oklab(31.47% 0.107 0.0077) |
| OKLCH | oklch(31.47% 0.107 4.1) |
| XYZ | xyz(4.8382, 2.7193, 2.5551) |
| Luminance | 0.0272 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 3.73
Maroon (survey)
#650021
ΔE00 5.20
Merlot
#730039
ΔE00 5.61
Bordeaux
#7B002C
ΔE00 7.58
Wine (survey)
#80013F
ΔE00 7.82
Plum (survey)
#580F41
ΔE00 8.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A102B #105A3F
analogous
#5A1050 #5A102B #5A1A10
triadic
#5A102B #2B5A10 #102B5A
tetradic
#5A102B #505A10 #105A3F #1A105A
square
#5A102B #505A10 #105A3F #1A105A
split-complementary
#5A102B #105A1A #10505A
monochromatic
#1A050C #260712 #5A102B #8E1944 #C2225D
Accessibility & contrast
On white
13.60
#5A102B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#5A102B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A102B
13.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A102B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A102B | 1.00 | 13.60 | 1.54 | 13.60 |
| #FFFFFF | 13.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#22252C
Deuteranopia (green-blind)
#363329
Tritanopia (blue-blind)
#63011C
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #5a102b; /* rgb */ color: rgb(90, 16, 43); /* oklch */ color: oklch(31.5% 0.107 4.1);
Tailwind
colors: {
custom: {
50: '#8d5664',
500: '#5a102b',
950: '#000000',
},
}SCSS
$custom: #5a102b; $custom-light: #8d5664; $custom-dark: #000000;
JSON
{
"hex": "#5a102b",
"rgb": {
"r": 90,
"g": 16,
"b": 43
},
"hsl": {
"h": 338.108,
"s": 69.811,
"l": 20.784
},
"oklch": {
"l": 0.31467,
"c": 0.10726,
"h": 4.1
},
"luminance": 0.02719
}Semantic roles & 50–950 ramp
primary
#5A102B
secondary
#339370
accent
#EDAC3B
background
#F9F5F5
surface
#F1E9EA
border
#CBC5C6
text
#0D0305
muted
#7E7879