#5A0F3B#5A0F3B
#5A0F3B is a dark, moderate pink. Relative luminance 0.028; OKLCH L 32.0% C 0.115 H 349.9°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).
Color values
| HEX | #5A0F3B |
|---|---|
| RGB | rgb(90, 15, 59) |
| HSL | hsl(325, 71%, 21%) |
| HSV | hsv(325, 83%, 35%) |
| CMYK | cmyk(0%, 83.3%, 34.4%, 64.7%) |
| CIE-LAB | lab(19.36, 37.13, -7.73) |
| CIE-LCH | lch(19.36, 37.93, 348.24°) |
| OKLab | oklab(32.01% 0.1136 -0.0202) |
| OKLCH | oklch(32.01% 0.115 349.9) |
| XYZ | xyz(5.1770, 2.8317, 4.4108) |
| Luminance | 0.0283 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Plum (survey)
#580F41
ΔE00 2.34
Grape Purple
#5D1451
ΔE00 5.98
Dark Plum
#3F012C
ΔE00 6.03
Velvet
#750851
ΔE00 6.11
Merlot
#730039
ΔE00 6.41
Aubergine
#3D0734
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A0F3B #0F5A2E
analogous
#530F5A #5A0F3B #5A0F15
triadic
#5A0F3B #3B5A0F #0F3B5A
tetradic
#5A0F3B #5A530F #0F5A2E #0F155A
square
#5A0F3B #5A530F #0F5A2E #0F155A
split-complementary
#5A0F3B #155A0F #0F5A53
monochromatic
#1A0411 #260619 #5A0F3B #8E185D #C32080
Accessibility & contrast
On white
13.41
#5A0F3B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#5A0F3B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A0F3B
13.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A0F3B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A0F3B | 1.00 | 13.41 | 1.57 | 13.41 |
| #FFFFFF | 13.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C263C
Deuteranopia (green-blind)
#323439
Tritanopia (blue-blind)
#610A23
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #5a0f3b; /* rgb */ color: rgb(90, 15, 59); /* oklch */ color: oklch(32.0% 0.115 349.9);
Tailwind
colors: {
custom: {
50: '#8c5771',
500: '#5a0f3b',
950: '#000000',
},
}SCSS
$custom: #5a0f3b; $custom-light: #8c5771; $custom-dark: #000000;
JSON
{
"hex": "#5a0f3b",
"rgb": {
"r": 90,
"g": 15,
"b": 59
},
"hsl": {
"h": 324.8,
"s": 71.429,
"l": 20.588
},
"oklch": {
"l": 0.32009,
"c": 0.11541,
"h": 349.9
},
"luminance": 0.02831
}Semantic roles & 50–950 ramp
primary
#5A0F3B
secondary
#31945A
accent
#EE843A
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0D0307
muted
#7D787A