#5A0C27#5A0C27
#5A0C27 is a dark, moderate pink. Relative luminance 0.026; OKLCH L 31.0% C 0.110 H 6.6°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).
Color values
| HEX | #5A0C27 |
|---|---|
| RGB | rgb(90, 12, 39) |
| HSL | hsl(339, 76%, 20%) |
| HSV | hsv(339, 87%, 35%) |
| CMYK | cmyk(0%, 86.7%, 56.7%, 64.7%) |
| CIE-LAB | lab(18.29, 35.90, 4.91) |
| CIE-LCH | lch(18.29, 36.23, 7.78°) |
| OKLab | oklab(30.99% 0.1096 0.0127) |
| OKLCH | oklch(30.99% 0.11 6.6) |
| XYZ | xyz(4.7146, 2.5838, 2.1695) |
| Luminance | 0.0258 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 2.59
Maroon (survey)
#650021
ΔE00 4.07
Merlot
#730039
ΔE00 6.04
Bordeaux
#7B002C
ΔE00 7.01
Claret
#680018
ΔE00 7.80
Dark Maroon
#3C0008
ΔE00 8.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A0C27 #0C5A3F
analogous
#5A0C4E #5A0C27 #5A180C
triadic
#5A0C27 #275A0C #0C275A
tetradic
#5A0C27 #4E5A0C #0C5A3F #180C5A
square
#5A0C27 #4E5A0C #0C5A3F #180C5A
split-complementary
#5A0C27 #0C5A18 #0C4E5A
monochromatic
#1B040C #240510 #5A0C27 #90133E #C61A56
Accessibility & contrast
On white
13.85
#5A0C27 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#5A0C27 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A0C27
13.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A0C27 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A0C27 | 1.00 | 13.85 | 1.52 | 13.85 |
| #FFFFFF | 13.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#212328
Deuteranopia (green-blind)
#353225
Tritanopia (blue-blind)
#630018
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #5a0c27; /* rgb */ color: rgb(90, 12, 39); /* oklch */ color: oklch(31.0% 0.110 6.6);
Tailwind
colors: {
custom: {
50: '#8e5560',
500: '#5a0c27',
950: '#000000',
},
}SCSS
$custom: #5a0c27; $custom-light: #8e5560; $custom-dark: #000000;
JSON
{
"hex": "#5a0c27",
"rgb": {
"r": 90,
"g": 12,
"b": 39
},
"hsl": {
"h": 339.231,
"s": 76.471,
"l": 20
},
"oklch": {
"l": 0.30994,
"c": 0.11033,
"h": 6.6
},
"luminance": 0.02583
}Semantic roles & 50–950 ramp
primary
#5A0C27
secondary
#2D9571
accent
#F3B135
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0305
muted
#7E7879