#5E0F4F#5E0F4F
#5E0F4F is a dark, vivid pink. Relative luminance 0.033; OKLCH L 33.8% C 0.132 H 337.3°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).
Color values
| HEX | #5E0F4F |
|---|---|
| RGB | rgb(94, 15, 79) |
| HSL | hsl(311, 72%, 21%) |
| HSV | hsv(311, 84%, 37%) |
| CMYK | cmyk(0%, 84%, 16%, 63.1%) |
| CIE-LAB | lab(21.16, 41.10, -18.66) |
| CIE-LCH | lch(21.16, 45.14, 335.58°) |
| OKLab | oklab(33.78% 0.1214 -0.0508) |
| OKLCH | oklch(33.78% 0.132 337.3) |
| XYZ | xyz(6.1983, 3.2864, 7.7035) |
| Luminance | 0.0329 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Grape Purple
#5D1451
ΔE00 0.83
Plum (survey)
#580F41
ΔE00 3.46
Rich Purple
#720058
ΔE00 3.98
Plum Purple
#4E0550
ΔE00 4.67
Deep Violet
#490648
ΔE00 4.79
Velvet
#750851
ΔE00 5.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E0F4F #0F5E1E
analogous
#460F5E #5E0F4F #5E0F28
triadic
#5E0F4F #4F5E0F #0F4F5E
tetradic
#5E0F4F #5E460F #0F5E1E #0F285E
square
#5E0F4F #5E460F #0F5E1E #0F285E
split-complementary
#5E0F4F #285E0F #0F5E46
monochromatic
#1A0416 #290723 #5E0F4F #93177B #C820A8
Accessibility & contrast
On white
12.67
#5E0F4F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#5E0F4F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5E0F4F
12.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E0F4F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E0F4F | 1.00 | 12.67 | 1.66 | 12.67 |
| #FFFFFF | 12.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#122B51
Deuteranopia (green-blind)
#2E374D
Tritanopia (blue-blind)
#64142E
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #5e0f4f; /* rgb */ color: rgb(94, 15, 79); /* oklch */ color: oklch(33.8% 0.132 337.3);
Tailwind
colors: {
custom: {
50: '#8f5880',
500: '#5e0f4f',
950: '#000000',
},
}SCSS
$custom: #5e0f4f; $custom-light: #8f5880; $custom-dark: #000000;
JSON
{
"hex": "#5e0f4f",
"rgb": {
"r": 94,
"g": 15,
"b": 79
},
"hsl": {
"h": 311.392,
"s": 72.477,
"l": 21.373
},
"oklch": {
"l": 0.33782,
"c": 0.13159,
"h": 337.3
},
"luminance": 0.03286
}Semantic roles & 50–950 ramp
primary
#5E0F4F
secondary
#319745
accent
#EF5B39
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C