#9F2176#9F2176
#9F2176 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.5% C 0.181 H 344.8°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).
Color values
| HEX | #9F2176 |
|---|---|
| RGB | rgb(159, 33, 118) |
| HSL | hsl(320, 66%, 38%) |
| HSV | hsv(320, 79%, 62%) |
| CMYK | cmyk(0%, 79.2%, 25.8%, 37.6%) |
| CIE-LAB | lab(37.42, 57.45, -17.79) |
| CIE-LCH | lch(37.42, 60.15, 342.79°) |
| OKLab | oklab(48.45% 0.1742 -0.0474) |
| OKLCH | oklch(48.45% 0.181 344.8) |
| XYZ | xyz(18.1127, 9.7686, 18.0677) |
| Luminance | 0.0977 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.38
Deep Magenta
#A0025C
ΔE00 5.97
Warm Purple
#952E8F
ΔE00 6.31
Dark Fuchsia
#9D0759
ΔE00 6.51
Magenta (survey)
#C20078
ΔE00 6.71
Dark Magenta
#960056
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F2176 #219F4A
analogous
#89219F #9F2176 #9F2137
triadic
#9F2176 #769F21 #21769F
tetradic
#9F2176 #9F8921 #219F4A #21379F
square
#9F2176 #9F8921 #219F4A #21379F
split-complementary
#9F2176 #379F21 #219F89
monochromatic
#3A0C2B #6C1650 #9F2176 #D22C9C #DD5DB4
Accessibility & contrast
On white
7.11
#9F2176 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#9F2176 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F2176
7.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F2176 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F2176 | 1.00 | 7.11 | 2.95 | 7.11 |
| #FFFFFF | 7.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#324B78
Deuteranopia (green-blind)
#596073
Tritanopia (blue-blind)
#AA1F49
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9f2176; /* rgb */ color: rgb(159, 33, 118); /* oklch */ color: oklch(48.5% 0.181 344.8);
Tailwind
colors: {
custom: {
50: '#c06b9d',
500: '#9f2176',
950: '#000000',
},
}SCSS
$custom: #9f2176; $custom-light: #c06b9d; $custom-dark: #000000;
JSON
{
"hex": "#9f2176",
"rgb": {
"r": 159,
"g": 33,
"b": 118
},
"hsl": {
"h": 319.524,
"s": 65.625,
"l": 37.647
},
"oklch": {
"l": 0.48453,
"c": 0.18051,
"h": 344.8
},
"luminance": 0.09767
}Semantic roles & 50–950 ramp
primary
#9F2176
secondary
#5AC27C
accent
#E9763F
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E