#9E2276#9E2276
#9E2276 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.4% C 0.179 H 344.5°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).
Color values
| HEX | #9E2276 |
|---|---|
| RGB | rgb(158, 34, 118) |
| HSL | hsl(319, 65%, 38%) |
| HSV | hsv(319, 78%, 62%) |
| CMYK | cmyk(0%, 78.5%, 25.3%, 38%) |
| CIE-LAB | lab(37.34, 56.91, -17.94) |
| CIE-LCH | lch(37.34, 59.67, 342.51°) |
| OKLab | oklab(48.36% 0.1724 -0.0478) |
| OKLCH | oklch(48.36% 0.179 344.5) |
| XYZ | xyz(17.9434, 9.7231, 18.0678) |
| Luminance | 0.0972 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.45
Deep Magenta
#A0025C
ΔE00 6.06
Warm Purple
#952E8F
ΔE00 6.20
Dark Fuchsia
#9D0759
ΔE00 6.58
Magenta (survey)
#C20078
ΔE00 6.89
Dark Magenta
#960056
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E2276 #229E4A
analogous
#88229E #9E2276 #9E2238
triadic
#9E2276 #769E22 #22769E
tetradic
#9E2276 #9E8822 #229E4A #22389E
square
#9E2276 #9E8822 #229E4A #22389E
split-complementary
#9E2276 #389E22 #229E88
monochromatic
#390C2B #6C1750 #9E2276 #D02D9C #DC5EB4
Accessibility & contrast
On white
7.13
#9E2276 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.94
#9E2276 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E2276
7.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E2276 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E2276 | 1.00 | 7.13 | 2.94 | 7.13 |
| #FFFFFF | 7.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#324B78
Deuteranopia (green-blind)
#585F73
Tritanopia (blue-blind)
#A9204A
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9e2276; /* rgb */ color: rgb(158, 34, 118); /* oklch */ color: oklch(48.4% 0.179 344.5);
Tailwind
colors: {
custom: {
50: '#bf6b9d',
500: '#9e2276',
950: '#000000',
},
}SCSS
$custom: #9e2276; $custom-light: #bf6b9d; $custom-dark: #000000;
JSON
{
"hex": "#9e2276",
"rgb": {
"r": 158,
"g": 34,
"b": 118
},
"hsl": {
"h": 319.355,
"s": 64.583,
"l": 37.647
},
"oklch": {
"l": 0.48359,
"c": 0.17886,
"h": 344.5
},
"luminance": 0.09721
}Semantic roles & 50–950 ramp
primary
#9E2276
secondary
#5BC17C
accent
#E87640
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E