#5A0F27#5A0F27
#5A0F27 is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.2% C 0.107 H 7.4°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).
Color values
| HEX | #5A0F27 |
|---|---|
| RGB | rgb(90, 15, 39) |
| HSL | hsl(341, 71%, 21%) |
| HSV | hsv(341, 83%, 35%) |
| CMYK | cmyk(0%, 83.3%, 56.7%, 64.7%) |
| CIE-LAB | lab(18.64, 34.92, 5.39) |
| CIE-LCH | lch(18.64, 35.33, 8.78°) |
| OKLab | oklab(31.25% 0.1064 0.0139) |
| OKLCH | oklch(31.25% 0.107 7.4) |
| XYZ | xyz(4.7539, 2.6625, 2.1826) |
| Luminance | 0.0266 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 2.65
Maroon (survey)
#650021
ΔE00 3.96
Merlot
#730039
ΔE00 6.32
Bordeaux
#7B002C
ΔE00 6.94
Claret
#680018
ΔE00 7.53
Dark Maroon
#3C0008
ΔE00 7.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A0F27 #0F5A42
analogous
#5A0F4C #5A0F27 #5A1C0F
triadic
#5A0F27 #275A0F #0F275A
tetradic
#5A0F27 #4C5A0F #0F5A42 #1C0F5A
square
#5A0F27 #4C5A0F #0F5A42 #1C0F5A
split-complementary
#5A0F27 #0F5A1C #0F4C5A
monochromatic
#1A040B #260610 #5A0F27 #8E183E #C32054
Accessibility & contrast
On white
13.70
#5A0F27 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#5A0F27 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A0F27
13.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A0F27 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A0F27 | 1.00 | 13.70 | 1.53 | 13.70 |
| #FFFFFF | 13.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#232427
Deuteranopia (green-blind)
#363325
Tritanopia (blue-blind)
#630019
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #5a0f27; /* rgb */ color: rgb(90, 15, 39); /* oklch */ color: oklch(31.2% 0.107 7.4);
Tailwind
colors: {
custom: {
50: '#8d5660',
500: '#5a0f27',
950: '#000000',
},
}SCSS
$custom: #5a0f27; $custom-light: #8d5660; $custom-dark: #000000;
JSON
{
"hex": "#5a0f27",
"rgb": {
"r": 90,
"g": 15,
"b": 39
},
"hsl": {
"h": 340.8,
"s": 71.429,
"l": 20.588
},
"oklch": {
"l": 0.31248,
"c": 0.10734,
"h": 7.4
},
"luminance": 0.02662
}Semantic roles & 50–950 ramp
primary
#5A0F27
secondary
#319474
accent
#EEB43A
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0305
muted
#7E7879