#5A102D#5A102D
#5A102D is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.5% C 0.108 H 2.3°. Best body text is #FFFFFF at 13.58:1 contrast (WCAG AA passes).
Color values
| HEX | #5A102D |
|---|---|
| RGB | rgb(90, 16, 45) |
| HSL | hsl(336, 70%, 21%) |
| HSV | hsv(336, 82%, 35%) |
| CMYK | cmyk(0%, 82.2%, 50%, 64.7%) |
| CIE-LAB | lab(18.95, 35.15, 1.55) |
| CIE-LCH | lch(18.95, 35.18, 2.53°) |
| OKLab | oklab(31.54% 0.1078 0.0044) |
| OKLCH | oklch(31.54% 0.108 2.3) |
| XYZ | xyz(4.8758, 2.7344, 2.7531) |
| Luminance | 0.0273 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 4.37
Merlot
#730039
ΔE00 5.35
Maroon (survey)
#650021
ΔE00 5.88
Plum (survey)
#580F41
ΔE00 7.52
Wine (survey)
#80013F
ΔE00 7.65
Bordeaux
#7B002C
ΔE00 8.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A102D #105A3D
analogous
#5A1052 #5A102D #5A1810
triadic
#5A102D #2D5A10 #102D5A
tetradic
#5A102D #525A10 #105A3D #18105A
square
#5A102D #525A10 #105A3D #18105A
split-complementary
#5A102D #105A18 #10525A
monochromatic
#1A050D #260713 #5A102D #8E1947 #C22261
Accessibility & contrast
On white
13.58
#5A102D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#5A102D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A102D
13.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A102D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A102D | 1.00 | 13.58 | 1.55 | 13.58 |
| #FFFFFF | 13.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#22252E
Deuteranopia (green-blind)
#35332B
Tritanopia (blue-blind)
#62021D
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #5a102d; /* rgb */ color: rgb(90, 16, 45); /* oklch */ color: oklch(31.5% 0.108 2.3);
Tailwind
colors: {
custom: {
50: '#8d5665',
500: '#5a102d',
950: '#000000',
},
}SCSS
$custom: #5a102d; $custom-light: #8d5665; $custom-dark: #000000;
JSON
{
"hex": "#5a102d",
"rgb": {
"r": 90,
"g": 16,
"b": 45
},
"hsl": {
"h": 336.486,
"s": 69.811,
"l": 20.784
},
"oklch": {
"l": 0.31535,
"c": 0.10788,
"h": 2.3
},
"luminance": 0.02734
}Semantic roles & 50–950 ramp
primary
#5A102D
secondary
#33936D
accent
#EDA73B
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0305
muted
#7E787A