#9E226A#9E226A
#9E226A is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.8% C 0.172 H 350.3°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).
Color values
| HEX | #9E226A |
|---|---|
| RGB | rgb(158, 34, 106) |
| HSL | hsl(325, 65%, 38%) |
| HSV | hsv(325, 78%, 62%) |
| CMYK | cmyk(0%, 78.5%, 32.9%, 38%) |
| CIE-LAB | lab(36.85, 55.43, -11.13) |
| CIE-LCH | lch(36.85, 56.54, 348.65°) |
| OKLab | oklab(47.84% 0.1697 -0.029) |
| OKLCH | oklch(47.84% 0.172 350.3) |
| XYZ | xyz(17.2751, 9.4558, 14.5483) |
| Luminance | 0.0945 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 2.58
Deep Magenta
#A0025C
ΔE00 3.57
Dark Fuchsia
#9D0759
ΔE00 4.01
Dark Magenta
#960056
ΔE00 4.71
Violet Red
#A50055
ΔE00 5.62
Reddish Purple
#910951
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E226A #229E56
analogous
#94229E #9E226A #9E222C
triadic
#9E226A #6A9E22 #226A9E
tetradic
#9E226A #9E9422 #229E56 #222C9E
square
#9E226A #9E9422 #229E56 #222C9E
split-complementary
#9E226A #2C9E22 #229E94
monochromatic
#390C26 #6C1748 #9E226A #D02D8C #DC5EA7
Accessibility & contrast
On white
7.26
#9E226A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#9E226A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E226A
7.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E226A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E226A | 1.00 | 7.26 | 2.89 | 7.26 |
| #FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#38496C
Deuteranopia (green-blind)
#5C5F67
Tritanopia (blue-blind)
#AA1843
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #9e226a; /* rgb */ color: rgb(158, 34, 106); /* oklch */ color: oklch(47.8% 0.172 350.3);
Tailwind
colors: {
custom: {
50: '#bf6b94',
500: '#9e226a',
950: '#000000',
},
}SCSS
$custom: #9e226a; $custom-light: #bf6b94; $custom-dark: #000000;
JSON
{
"hex": "#9e226a",
"rgb": {
"r": 158,
"g": 34,
"b": 106
},
"hsl": {
"h": 325.161,
"s": 64.583,
"l": 37.647
},
"oklch": {
"l": 0.47839,
"c": 0.17218,
"h": 350.3
},
"luminance": 0.09454
}Semantic roles & 50–950 ramp
primary
#9E226A
secondary
#5BC186
accent
#E88640
background
#FCF6F9
surface
#F8ECF1
border
#D1C7CB
text
#13070D
muted
#827A7E