#9E227E#9E227E
#9E227E is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.7% C 0.184 H 340.8°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).
Color values
| HEX | #9E227E |
|---|---|
| RGB | rgb(158, 34, 126) |
| HSL | hsl(315, 65%, 38%) |
| HSV | hsv(315, 78%, 62%) |
| CMYK | cmyk(0%, 78.5%, 20.3%, 38%) |
| CIE-LAB | lab(37.70, 57.98, -22.37) |
| CIE-LCH | lch(37.70, 62.15, 338.90°) |
| OKLab | oklab(48.74% 0.1737 -0.0603) |
| OKLCH | oklch(48.74% 0.184 340.8) |
| XYZ | xyz(18.4391, 9.9214, 20.6786) |
| Luminance | 0.0992 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.51
Red Violet
#9E0168
ΔE00 4.88
Barney Purple
#A00498
ΔE00 5.75
Light Eggplant
#894585
ΔE00 7.05
Darkmagenta
#8B008B
ΔE00 7.35
Magenta (survey)
#C20078
ΔE00 7.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E227E #229E42
analogous
#80229E #9E227E #9E2240
triadic
#9E227E #7E9E22 #227E9E
tetradic
#9E227E #9E8022 #229E42 #22409E
square
#9E227E #9E8022 #229E42 #22409E
split-complementary
#9E227E #409E22 #229E80
monochromatic
#390C2E #6C1756 #9E227E #D02DA6 #DC5EBC
Accessibility & contrast
On white
7.04
#9E227E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#9E227E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E227E
7.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E227E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E227E | 1.00 | 7.04 | 2.98 | 7.04 |
| #FFFFFF | 7.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D4C80
Deuteranopia (green-blind)
#55607B
Tritanopia (blue-blind)
#A8254E
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #9e227e; /* rgb */ color: rgb(158, 34, 126); /* oklch */ color: oklch(48.7% 0.184 340.8);
Tailwind
colors: {
custom: {
50: '#bf6ca3',
500: '#9e227e',
950: '#000000',
},
}SCSS
$custom: #9e227e; $custom-light: #bf6ca3; $custom-dark: #000000;
JSON
{
"hex": "#9e227e",
"rgb": {
"r": 158,
"g": 34,
"b": 126
},
"hsl": {
"h": 315.484,
"s": 64.583,
"l": 37.647
},
"oklch": {
"l": 0.48737,
"c": 0.18383,
"h": 340.8
},
"luminance": 0.0992
}Semantic roles & 50–950 ramp
primary
#9E227E
secondary
#5BC175
accent
#E86B40
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F