#5A0F28#5A0F28
#5A0F28 is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.3% C 0.108 H 6.5°. Best body text is #FFFFFF at 13.69:1 contrast (WCAG AA passes).
Color values
| HEX | #5A0F28 |
|---|---|
| RGB | rgb(90, 15, 40) |
| HSL | hsl(340, 71%, 21%) |
| HSV | hsv(340, 83%, 35%) |
| CMYK | cmyk(0%, 83.3%, 55.6%, 64.7%) |
| CIE-LAB | lab(18.67, 35.01, 4.72) |
| CIE-LCH | lch(18.67, 35.33, 7.67°) |
| OKLab | oklab(31.28% 0.1069 0.0122) |
| OKLCH | oklch(31.28% 0.108 6.5) |
| XYZ | xyz(4.7707, 2.6692, 2.2711) |
| Luminance | 0.0267 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 2.88
Maroon (survey)
#650021
ΔE00 4.26
Merlot
#730039
ΔE00 6.09
Bordeaux
#7B002C
ΔE00 7.08
Claret
#680018
ΔE00 7.91
Dark Maroon
#3C0008
ΔE00 8.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A0F28 #0F5A41
analogous
#5A0F4D #5A0F28 #5A1B0F
triadic
#5A0F28 #285A0F #0F285A
tetradic
#5A0F28 #4D5A0F #0F5A41 #1B0F5A
square
#5A0F28 #4D5A0F #0F5A41 #1B0F5A
split-complementary
#5A0F28 #0F5A1B #0F4D5A
monochromatic
#1A040C #260611 #5A0F28 #8E183F #C32057
Accessibility & contrast
On white
13.69
#5A0F28 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#5A0F28 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A0F28
13.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A0F28 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A0F28 | 1.00 | 13.69 | 1.53 | 13.69 |
| #FFFFFF | 13.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#222429
Deuteranopia (green-blind)
#363326
Tritanopia (blue-blind)
#63001A
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #5a0f28; /* rgb */ color: rgb(90, 15, 40); /* oklch */ color: oklch(31.3% 0.108 6.5);
Tailwind
colors: {
custom: {
50: '#8d5661',
500: '#5a0f28',
950: '#000000',
},
}SCSS
$custom: #5a0f28; $custom-light: #8d5661; $custom-dark: #000000;
JSON
{
"hex": "#5a0f28",
"rgb": {
"r": 90,
"g": 15,
"b": 40
},
"hsl": {
"h": 340,
"s": 71.429,
"l": 20.588
},
"oklch": {
"l": 0.31279,
"c": 0.10757,
"h": 6.5
},
"luminance": 0.02669
}Semantic roles & 50–950 ramp
primary
#5A0F28
secondary
#319473
accent
#EEB23A
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0305
muted
#7E7879