#9E2266#9E2266
#9E2266 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.7% C 0.170 H 352.3°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).
Color values
| HEX | #9E2266 |
|---|---|
| RGB | rgb(158, 34, 102) |
| HSL | hsl(327, 65%, 38%) |
| HSV | hsv(327, 78%, 62%) |
| CMYK | cmyk(0%, 78.5%, 35.4%, 38%) |
| CIE-LAB | lab(36.70, 54.97, -8.82) |
| CIE-LCH | lch(36.70, 55.68, 350.88°) |
| OKLab | oklab(47.68% 0.1687 -0.0227) |
| OKLCH | oklch(47.68% 0.17 352.3) |
| XYZ | xyz(17.0719, 9.3745, 13.4782) |
| Luminance | 0.0937 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Magenta
#A0025C
ΔE00 2.88
Red Violet
#9E0168
ΔE00 2.99
Dark Fuchsia
#9D0759
ΔE00 3.23
Dark Magenta
#960056
ΔE00 4.14
Violet Red
#A50055
ΔE00 4.71
Reddish Purple
#910951
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E2266 #229E5A
analogous
#98229E #9E2266 #9E2228
triadic
#9E2266 #669E22 #22669E
tetradic
#9E2266 #9E9822 #229E5A #22289E
square
#9E2266 #9E9822 #229E5A #22289E
split-complementary
#9E2266 #289E22 #229E98
monochromatic
#390C25 #6C1745 #9E2266 #D02D87 #DC5EA3
Accessibility & contrast
On white
7.31
#9E2266 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#9E2266 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E2266
7.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E2266 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E2266 | 1.00 | 7.31 | 2.87 | 7.31 |
| #FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A4868
Deuteranopia (green-blind)
#5D5E63
Tritanopia (blue-blind)
#AA1541
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #9e2266; /* rgb */ color: rgb(158, 34, 102); /* oklch */ color: oklch(47.7% 0.170 352.3);
Tailwind
colors: {
custom: {
50: '#bf6b91',
500: '#9e2266',
950: '#000000',
},
}SCSS
$custom: #9e2266; $custom-light: #bf6b91; $custom-dark: #000000;
JSON
{
"hex": "#9e2266",
"rgb": {
"r": 158,
"g": 34,
"b": 102
},
"hsl": {
"h": 327.097,
"s": 64.583,
"l": 37.647
},
"oklch": {
"l": 0.47679,
"c": 0.17019,
"h": 352.3
},
"luminance": 0.09372
}Semantic roles & 50–950 ramp
primary
#9E2266
secondary
#5BC189
accent
#E88C40
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D