#9E2174#9E2174
#9E2174 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.2% C 0.179 H 345.4°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).
Color values
| HEX | #9E2174 |
|---|---|
| RGB | rgb(158, 33, 116) |
| HSL | hsl(320, 65%, 37%) |
| HSV | hsv(320, 79%, 62%) |
| CMYK | cmyk(0%, 79.1%, 26.6%, 38%) |
| CIE-LAB | lab(37.15, 56.95, -16.97) |
| CIE-LCH | lch(37.15, 59.43, 343.40°) |
| OKLab | oklab(48.19% 0.1729 -0.0451) |
| OKLCH | oklch(48.19% 0.179 345.4) |
| XYZ | xyz(17.7976, 9.6198, 17.4391) |
| Luminance | 0.0962 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.08
Deep Magenta
#A0025C
ΔE00 5.63
Dark Fuchsia
#9D0759
ΔE00 6.14
Dark Magenta
#960056
ΔE00 6.52
Warm Purple
#952E8F
ΔE00 6.62
Magenta (survey)
#C20078
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E2174 #219E4B
analogous
#8A219E #9E2174 #9E2136
triadic
#9E2174 #749E21 #21749E
tetradic
#9E2174 #9E8A21 #219E4B #21369E
square
#9E2174 #9E8A21 #219E4B #21369E
split-complementary
#9E2174 #369E21 #219E8A
monochromatic
#390C2A #6B164F #9E2174 #D12C99 #DD5CB2
Accessibility & contrast
On white
7.18
#9E2174 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#9E2174 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E2174
7.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E2174 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E2174 | 1.00 | 7.18 | 2.92 | 7.18 |
| #FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#324A76
Deuteranopia (green-blind)
#595F71
Tritanopia (blue-blind)
#A91E48
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #9e2174; /* rgb */ color: rgb(158, 33, 116); /* oklch */ color: oklch(48.2% 0.179 345.4);
Tailwind
colors: {
custom: {
50: '#bf6b9c',
500: '#9e2174',
950: '#000000',
},
}SCSS
$custom: #9e2174; $custom-light: #bf6b9c; $custom-dark: #000000;
JSON
{
"hex": "#9e2174",
"rgb": {
"r": 158,
"g": 33,
"b": 116
},
"hsl": {
"h": 320.16,
"s": 65.445,
"l": 37.451
},
"oklch": {
"l": 0.48193,
"c": 0.17868,
"h": 345.4
},
"luminance": 0.09618
}Semantic roles & 50–950 ramp
primary
#9E2174
secondary
#59C17C
accent
#E8783F
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E