#5A102A#5A102A
#5A102A is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.4% C 0.107 H 5.0°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).
Color values
| HEX | #5A102A |
|---|---|
| RGB | rgb(90, 16, 42) |
| HSL | hsl(339, 70%, 21%) |
| HSV | hsv(339, 82%, 35%) |
| CMYK | cmyk(0%, 82.2%, 53.3%, 64.7%) |
| CIE-LAB | lab(18.85, 34.85, 3.55) |
| CIE-LCH | lch(18.85, 35.03, 5.82°) |
| OKLab | oklab(31.43% 0.1066 0.0094) |
| OKLCH | oklch(31.43% 0.107 5) |
| XYZ | xyz(4.8201, 2.7121, 2.4597) |
| Luminance | 0.0271 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 3.43
Maroon (survey)
#650021
ΔE00 4.86
Merlot
#730039
ΔE00 5.78
Bordeaux
#7B002C
ΔE00 7.39
Wine (survey)
#80013F
ΔE00 7.93
Claret
#680018
ΔE00 8.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A102A #105A40
analogous
#5A104F #5A102A #5A1B10
triadic
#5A102A #2A5A10 #102A5A
tetradic
#5A102A #4F5A10 #105A40 #1B105A
square
#5A102A #4F5A10 #105A40 #1B105A
split-complementary
#5A102A #105A1B #104F5A
monochromatic
#1A050C #260712 #5A102A #8E1942 #C2225A
Accessibility & contrast
On white
13.62
#5A102A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#5A102A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A102A
13.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A102A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A102A | 1.00 | 13.62 | 1.54 | 13.62 |
| #FFFFFF | 13.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#22252B
Deuteranopia (green-blind)
#363328
Tritanopia (blue-blind)
#63011B
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #5a102a; /* rgb */ color: rgb(90, 16, 42); /* oklch */ color: oklch(31.4% 0.107 5.0);
Tailwind
colors: {
custom: {
50: '#8d5663',
500: '#5a102a',
950: '#000000',
},
}SCSS
$custom: #5a102a; $custom-light: #8d5663; $custom-dark: #000000;
JSON
{
"hex": "#5a102a",
"rgb": {
"r": 90,
"g": 16,
"b": 42
},
"hsl": {
"h": 338.919,
"s": 69.811,
"l": 20.784
},
"oklch": {
"l": 0.31434,
"c": 0.10698,
"h": 5
},
"luminance": 0.02711
}Semantic roles & 50–950 ramp
primary
#5A102A
secondary
#339371
accent
#EDAE3B
background
#F9F5F5
surface
#F1E9EA
border
#CBC5C6
text
#0D0305
muted
#7E7879