#5E173A#5E173A
#5E173A is a dark, moderate pink. Relative luminance 0.033; OKLCH L 33.5% C 0.108 H 354.4°. Best body text is #FFFFFF at 12.65:1 contrast (WCAG AA passes).
Color values
| HEX | #5E173A |
|---|---|
| RGB | rgb(94, 23, 58) |
| HSL | hsl(330, 61%, 23%) |
| HSV | hsv(330, 76%, 37%) |
| CMYK | cmyk(0%, 75.5%, 38.3%, 63.1%) |
| CIE-LAB | lab(21.20, 35.20, -4.17) |
| CIE-LCH | lch(21.20, 35.45, 353.24°) |
| OKLab | oklab(33.5% 0.1078 -0.0106) |
| OKLCH | oklch(33.5% 0.108 354.4) |
| XYZ | xyz(5.6866, 3.2986, 4.3394) |
| Luminance | 0.0330 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Plum (survey)
#580F41
ΔE00 4.49
Merlot
#730039
ΔE00 5.23
Velvet
#750851
ΔE00 6.70
Red Purple
#820747
ΔE00 7.24
Wine (survey)
#80013F
ΔE00 7.27
Burgundy (survey)
#610023
ΔE00 7.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E173A #175E3B
analogous
#5E175D #5E173A #5E1817
triadic
#5E173A #3A5E17 #173A5E
tetradic
#5E173A #5D5E17 #175E3B #18175E
square
#5E173A #5D5E17 #175E3B #18175E
split-complementary
#5E173A #175E18 #175D5E
monochromatic
#19060F #2D0B1C #5E173A #8F2358 #C02F77
Accessibility & contrast
On white
12.65
#5E173A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#5E173A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5E173A
12.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E173A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E173A | 1.00 | 12.65 | 1.66 | 12.65 |
| #FFFFFF | 12.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#242B3B
Deuteranopia (green-blind)
#373838
Tritanopia (blue-blind)
#661126
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #5e173a; /* rgb */ color: rgb(94, 23, 58); /* oklch */ color: oklch(33.5% 0.108 354.4);
Tailwind
colors: {
custom: {
50: '#8f5b70',
500: '#5e173a',
950: '#000000',
},
}SCSS
$custom: #5e173a; $custom-light: #8f5b70; $custom-dark: #000000;
JSON
{
"hex": "#5e173a",
"rgb": {
"r": 94,
"g": 23,
"b": 58
},
"hsl": {
"h": 330.423,
"s": 60.684,
"l": 22.941
},
"oklch": {
"l": 0.33497,
"c": 0.10835,
"h": 354.4
},
"luminance": 0.03298
}Semantic roles & 50–950 ramp
primary
#5E173A
secondary
#3C9569
accent
#E49544
background
#F9F5F6
surface
#F1E9EC
border
#CBC5C7
text
#0D0407
muted
#7E797A