#5A102E#5A102E
#5A102E is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.6% C 0.108 H 1.4°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).
Color values
| HEX | #5A102E |
|---|---|
| RGB | rgb(90, 16, 46) |
| HSL | hsl(336, 70%, 21%) |
| HSV | hsv(336, 82%, 35%) |
| CMYK | cmyk(0%, 82.2%, 48.9%, 64.7%) |
| CIE-LAB | lab(18.98, 35.25, 0.89) |
| CIE-LCH | lch(18.98, 35.26, 1.44°) |
| OKLab | oklab(31.57% 0.1082 0.0027) |
| OKLCH | oklch(31.57% 0.108 1.4) |
| XYZ | xyz(4.8953, 2.7422, 2.8557) |
| Luminance | 0.0274 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 4.70
Merlot
#730039
ΔE00 5.26
Maroon (survey)
#650021
ΔE00 6.23
Plum (survey)
#580F41
ΔE00 7.14
Wine (survey)
#80013F
ΔE00 7.60
Bordeaux
#7B002C
ΔE00 8.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A102E #105A3C
analogous
#5A1053 #5A102E #5A1710
triadic
#5A102E #2E5A10 #102E5A
tetradic
#5A102E #535A10 #105A3C #17105A
square
#5A102E #535A10 #105A3C #17105A
split-complementary
#5A102E #105A17 #10535A
monochromatic
#1A050D #260713 #5A102E #8E1949 #C22263
Accessibility & contrast
On white
13.56
#5A102E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#5A102E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A102E
13.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A102E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A102E | 1.00 | 13.56 | 1.55 | 13.56 |
| #FFFFFF | 13.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#21252F
Deuteranopia (green-blind)
#35332C
Tritanopia (blue-blind)
#62031D
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #5a102e; /* rgb */ color: rgb(90, 16, 46); /* oklch */ color: oklch(31.6% 0.108 1.4);
Tailwind
colors: {
custom: {
50: '#8d5766',
500: '#5a102e',
950: '#000000',
},
}SCSS
$custom: #5a102e; $custom-light: #8d5766; $custom-dark: #000000;
JSON
{
"hex": "#5a102e",
"rgb": {
"r": 90,
"g": 16,
"b": 46
},
"hsl": {
"h": 335.676,
"s": 69.811,
"l": 20.784
},
"oklch": {
"l": 0.31571,
"c": 0.10821,
"h": 1.4
},
"luminance": 0.02741
}Semantic roles & 50–950 ramp
primary
#5A102E
secondary
#33936C
accent
#EDA53B
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0305
muted
#7E787A