#5E124F#5E124F
#5E124F is a dark, vivid pink. Relative luminance 0.034; OKLCH L 34.0% C 0.128 H 337.4°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).
Color values
| HEX | #5E124F |
|---|---|
| RGB | rgb(94, 18, 79) |
| HSL | hsl(312, 68%, 22%) |
| HSV | hsv(312, 81%, 37%) |
| CMYK | cmyk(0%, 80.9%, 16%, 63.1%) |
| CIE-LAB | lab(21.50, 40.13, -18.13) |
| CIE-LCH | lch(21.50, 44.03, 335.69°) |
| OKLab | oklab(34.03% 0.1185 -0.0493) |
| OKLCH | oklch(34.03% 0.128 337.4) |
| XYZ | xyz(6.2438, 3.3774, 7.7187) |
| Luminance | 0.0338 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Grape Purple
#5D1451
ΔE00 0.68
Plum (survey)
#580F41
ΔE00 3.32
Rich Purple
#720058
ΔE00 4.08
Plum Purple
#4E0550
ΔE00 4.92
Deep Violet
#490648
ΔE00 4.99
Velvet
#750851
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E124F #125E21
analogous
#47125E #5E124F #5E1229
triadic
#5E124F #4F5E12 #124F5E
tetradic
#5E124F #5E4712 #125E21 #12295E
square
#5E124F #5E4712 #125E21 #12295E
split-complementary
#5E124F #295E12 #125E47
monochromatic
#1A0516 #2B0824 #5E124F #911C7A #C526A5
Accessibility & contrast
On white
12.53
#5E124F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#5E124F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5E124F
12.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E124F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E124F | 1.00 | 12.53 | 1.68 | 12.53 |
| #FFFFFF | 12.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#152C51
Deuteranopia (green-blind)
#2F384D
Tritanopia (blue-blind)
#63172F
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #5e124f; /* rgb */ color: rgb(94, 18, 79); /* oklch */ color: oklch(34.0% 0.128 337.4);
Tailwind
colors: {
custom: {
50: '#8f5980',
500: '#5e124f',
950: '#000000',
},
}SCSS
$custom: #5e124f; $custom-light: #8f5980; $custom-dark: #000000;
JSON
{
"hex": "#5e124f",
"rgb": {
"r": 94,
"g": 18,
"b": 79
},
"hsl": {
"h": 311.842,
"s": 67.857,
"l": 21.961
},
"oklch": {
"l": 0.34027,
"c": 0.12832,
"h": 337.4
},
"luminance": 0.03377
}Semantic roles & 50–950 ramp
primary
#5E124F
secondary
#359649
accent
#EB5F3D
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C