#5A0F2F#5A0F2F
#5A0F2F is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.5% C 0.110 H 0.3°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).
Color values
| HEX | #5A0F2F |
|---|---|
| RGB | rgb(90, 15, 47) |
| HSL | hsl(334, 71%, 21%) |
| HSV | hsv(334, 83%, 35%) |
| CMYK | cmyk(0%, 83.3%, 47.8%, 64.7%) |
| CIE-LAB | lab(18.89, 35.71, 0.05) |
| CIE-LCH | lch(18.89, 35.71, 0.08°) |
| OKLab | oklab(31.52% 0.1097 0.0005) |
| OKLCH | oklch(31.52% 0.11 0.3) |
| XYZ | xyz(4.9008, 2.7212, 2.9559) |
| Luminance | 0.0272 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 5.09
Merlot
#730039
ΔE00 5.15
Plum (survey)
#580F41
ΔE00 6.64
Maroon (survey)
#650021
ΔE00 6.65
Wine (survey)
#80013F
ΔE00 7.55
Dark Plum
#3F012C
ΔE00 7.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A0F2F #0F5A3A
analogous
#5A0F54 #5A0F2F #5A140F
triadic
#5A0F2F #2F5A0F #0F2F5A
tetradic
#5A0F2F #545A0F #0F5A3A #140F5A
square
#5A0F2F #545A0F #0F5A3A #140F5A
split-complementary
#5A0F2F #0F5A14 #0F545A
monochromatic
#1A040E #260614 #5A0F2F #8E184A #C32066
Accessibility & contrast
On white
13.60
#5A0F2F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#5A0F2F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A0F2F
13.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A0F2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A0F2F | 1.00 | 13.60 | 1.54 | 13.60 |
| #FFFFFF | 13.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#202530
Deuteranopia (green-blind)
#35332D
Tritanopia (blue-blind)
#62021D
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #5a0f2f; /* rgb */ color: rgb(90, 15, 47); /* oklch */ color: oklch(31.5% 0.110 0.3);
Tailwind
colors: {
custom: {
50: '#8d5667',
500: '#5a0f2f',
950: '#000000',
},
}SCSS
$custom: #5a0f2f; $custom-light: #8d5667; $custom-dark: #000000;
JSON
{
"hex": "#5a0f2f",
"rgb": {
"r": 90,
"g": 15,
"b": 47
},
"hsl": {
"h": 334.4,
"s": 71.429,
"l": 20.588
},
"oklch": {
"l": 0.31516,
"c": 0.10969,
"h": 0.3
},
"luminance": 0.02721
}Semantic roles & 50–950 ramp
primary
#5A0F2F
secondary
#31946A
accent
#EEA13A
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0306
muted
#7E787A