#9E2154#9E2154
#9E2154 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.0% C 0.164 H 1.7°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).
Color values
| HEX | #9E2154 |
|---|---|
| RGB | rgb(158, 33, 84) |
| HSL | hsl(336, 65%, 37%) |
| HSV | hsv(336, 79%, 62%) |
| CMYK | cmyk(0%, 79.1%, 46.8%, 38%) |
| CIE-LAB | lab(35.98, 53.42, 1.65) |
| CIE-LCH | lch(35.98, 53.45, 1.77°) |
| OKLab | oklab(46.96% 0.164 0.0048) |
| OKLCH | oklch(46.96% 0.164 1.7) |
| XYZ | xyz(16.2460, 8.9991, 9.2673) |
| Luminance | 0.0900 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 2.40
Berry
#990F4B
ΔE00 2.50
Purple Red
#990147
ΔE00 3.47
Dark Fuchsia
#9D0759
ΔE00 3.58
Mulberry
#920A4E
ΔE00 3.89
Deep Magenta
#A0025C
ΔE00 4.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E2154 #219E6B
analogous
#9E2193 #9E2154 #9E2D21
triadic
#9E2154 #549E21 #21549E
tetradic
#9E2154 #939E21 #219E6B #2D219E
square
#9E2154 #939E21 #219E6B #2D219E
split-complementary
#9E2154 #219E2D #21939E
monochromatic
#390C1E #6B1639 #9E2154 #D12C6F #DD5C91
Accessibility & contrast
On white
7.50
#9E2154 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.80
#9E2154 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E2154
7.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E2154 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E2154 | 1.00 | 7.50 | 2.80 | 7.50 |
| #FFFFFF | 7.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F4555
Deuteranopia (green-blind)
#615D51
Tritanopia (blue-blind)
#AC0138
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #9e2154; /* rgb */ color: rgb(158, 33, 84); /* oklch */ color: oklch(47.0% 0.164 1.7);
Tailwind
colors: {
custom: {
50: '#c06a83',
500: '#9e2154',
950: '#000000',
},
}SCSS
$custom: #9e2154; $custom-light: #c06a83; $custom-dark: #000000;
JSON
{
"hex": "#9e2154",
"rgb": {
"r": 158,
"g": 33,
"b": 84
},
"hsl": {
"h": 335.52,
"s": 65.445,
"l": 37.451
},
"oklch": {
"l": 0.46959,
"c": 0.16405,
"h": 1.7
},
"luminance": 0.08997
}Semantic roles & 50–950 ramp
primary
#9E2154
secondary
#59C197
accent
#E8A33F
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070A
muted
#827A7C