#5A172A#5A172A
#5A172A is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.2% C 0.098 H 7.6°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).
Color values
| HEX | #5A172A |
|---|---|
| RGB | rgb(90, 23, 42) |
| HSL | hsl(343, 59%, 22%) |
| HSV | hsv(343, 74%, 35%) |
| CMYK | cmyk(0%, 74.4%, 53.3%, 64.7%) |
| CIE-LAB | lab(19.86, 32.04, 4.98) |
| CIE-LCH | lch(19.86, 32.43, 8.84°) |
| OKLab | oklab(32.18% 0.0976 0.0129) |
| OKLCH | oklch(32.18% 0.098 7.6) |
| XYZ | xyz(4.9412, 2.9543, 2.5001) |
| Luminance | 0.0295 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 3.79
Maroon (survey)
#650021
ΔE00 4.77
Merlot
#730039
ΔE00 6.74
Bordeaux
#7B002C
ΔE00 7.32
Wine
#722F37
ΔE00 7.48
Claret
#680018
ΔE00 7.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A172A #175A47
analogous
#5A174C #5A172A #5A2617
triadic
#5A172A #2A5A17 #172A5A
tetradic
#5A172A #4C5A17 #175A47 #26175A
square
#5A172A #4C5A17 #175A47 #26175A
split-complementary
#5A172A #175A26 #174C5A
monochromatic
#18060B #290B13 #5A172A #8B2341 #BB3057
Accessibility & contrast
On white
13.20
#5A172A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#5A172A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A172A
13.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A172A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A172A | 1.00 | 13.20 | 1.59 | 13.20 |
| #FFFFFF | 13.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#27272A
Deuteranopia (green-blind)
#383528
Tritanopia (blue-blind)
#630B1F
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #5a172a; /* rgb */ color: rgb(90, 23, 42); /* oklch */ color: oklch(32.2% 0.098 7.6);
Tailwind
colors: {
custom: {
50: '#8d5a63',
500: '#5a172a',
950: '#000000',
},
}SCSS
$custom: #5a172a; $custom-light: #8d5a63; $custom-dark: #000000;
JSON
{
"hex": "#5a172a",
"rgb": {
"r": 90,
"g": 23,
"b": 42
},
"hsl": {
"h": 342.985,
"s": 59.292,
"l": 22.157
},
"oklch": {
"l": 0.32179,
"c": 0.09841,
"h": 7.6
},
"luminance": 0.02954
}Semantic roles & 50–950 ramp
primary
#5A172A
secondary
#3C9179
accent
#E2B645
background
#F9F5F5
surface
#F1E9EA
border
#CBC5C6
text
#0D0405
muted
#7E7979