#5A0E27#5A0E27
#5A0E27 is a dark, moderate pink. Relative luminance 0.026; OKLCH L 31.2% C 0.108 H 7.1°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).
Color values
| HEX | #5A0E27 |
|---|---|
| RGB | rgb(90, 14, 39) |
| HSL | hsl(340, 73%, 20%) |
| HSV | hsv(340, 84%, 35%) |
| CMYK | cmyk(0%, 84.4%, 56.7%, 64.7%) |
| CIE-LAB | lab(18.52, 35.26, 5.22) |
| CIE-LCH | lch(18.52, 35.64, 8.43°) |
| OKLab | oklab(31.16% 0.1075 0.0135) |
| OKLCH | oklch(31.16% 0.108 7.1) |
| XYZ | xyz(4.7401, 2.6349, 2.1780) |
| Luminance | 0.0263 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 2.62
Maroon (survey)
#650021
ΔE00 3.99
Merlot
#730039
ΔE00 6.22
Bordeaux
#7B002C
ΔE00 6.96
Claret
#680018
ΔE00 7.62
Dark Maroon
#3C0008
ΔE00 7.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A0E27 #0E5A41
analogous
#5A0E4D #5A0E27 #5A1B0E
triadic
#5A0E27 #275A0E #0E275A
tetradic
#5A0E27 #4D5A0E #0E5A41 #1B0E5A
square
#5A0E27 #4D5A0E #0E5A41 #1B0E5A
split-complementary
#5A0E27 #0E5A1B #0E4D5A
monochromatic
#1A040B #250610 #5A0E27 #8F163E #C41E55
Accessibility & contrast
On white
13.75
#5A0E27 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#5A0E27 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A0E27
13.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A0E27 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A0E27 | 1.00 | 13.75 | 1.53 | 13.75 |
| #FFFFFF | 13.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#222327
Deuteranopia (green-blind)
#363325
Tritanopia (blue-blind)
#630019
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #5a0e27; /* rgb */ color: rgb(90, 14, 39); /* oklch */ color: oklch(31.2% 0.108 7.1);
Tailwind
colors: {
custom: {
50: '#8d5560',
500: '#5a0e27',
950: '#000000',
},
}SCSS
$custom: #5a0e27; $custom-light: #8d5560; $custom-dark: #000000;
JSON
{
"hex": "#5a0e27",
"rgb": {
"r": 90,
"g": 14,
"b": 39
},
"hsl": {
"h": 340.263,
"s": 73.077,
"l": 20.392
},
"oklch": {
"l": 0.31159,
"c": 0.10838,
"h": 7.1
},
"luminance": 0.02634
}Semantic roles & 50–950 ramp
primary
#5A0E27
secondary
#309473
accent
#F0B338
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0305
muted
#7E7879