#9F2172#9F2172
#9F2172 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.3% C 0.178 H 346.6°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).
Color values
| HEX | #9F2172 |
|---|---|
| RGB | rgb(159, 33, 114) |
| HSL | hsl(321, 66%, 38%) |
| HSV | hsv(321, 79%, 62%) |
| CMYK | cmyk(0%, 79.2%, 28.3%, 37.6%) |
| CIE-LAB | lab(37.25, 56.95, -15.54) |
| CIE-LCH | lch(37.25, 59.03, 344.73°) |
| OKLab | oklab(48.27% 0.1734 -0.0411) |
| OKLCH | oklch(48.27% 0.178 346.6) |
| XYZ | xyz(17.8801, 9.6756, 16.8423) |
| Luminance | 0.0967 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 2.83
Deep Magenta
#A0025C
ΔE00 5.12
Dark Fuchsia
#9D0759
ΔE00 5.64
Dark Magenta
#960056
ΔE00 6.12
Magenta (survey)
#C20078
ΔE00 6.44
Reddish Purple
#910951
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F2172 #219F4E
analogous
#8D219F #9F2172 #9F2133
triadic
#9F2172 #729F21 #21729F
tetradic
#9F2172 #9F8D21 #219F4E #21339F
square
#9F2172 #9F8D21 #219F4E #21339F
split-complementary
#9F2172 #339F21 #219F8D
monochromatic
#3A0C29 #6C164E #9F2172 #D22C96 #DD5DB0
Accessibility & contrast
On white
7.16
#9F2172 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#9F2172 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F2172
7.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F2172 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F2172 | 1.00 | 7.16 | 2.93 | 7.16 |
| #FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#344A74
Deuteranopia (green-blind)
#5A5F6F
Tritanopia (blue-blind)
#AA1C47
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9f2172; /* rgb */ color: rgb(159, 33, 114); /* oklch */ color: oklch(48.3% 0.178 346.6);
Tailwind
colors: {
custom: {
50: '#c06b9a',
500: '#9f2172',
950: '#000000',
},
}SCSS
$custom: #9f2172; $custom-light: #c06b9a; $custom-dark: #000000;
JSON
{
"hex": "#9f2172",
"rgb": {
"r": 159,
"g": 33,
"b": 114
},
"hsl": {
"h": 321.429,
"s": 65.625,
"l": 37.647
},
"oklch": {
"l": 0.48274,
"c": 0.1782,
"h": 346.6
},
"luminance": 0.09674
}Semantic roles & 50–950 ramp
primary
#9F2172
secondary
#5AC27F
accent
#E97C3F
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E