#9F2170#9F2170
#9F2170 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.2% C 0.177 H 347.6°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).
Color values
| HEX | #9F2170 |
|---|---|
| RGB | rgb(159, 33, 112) |
| HSL | hsl(322, 66%, 38%) |
| HSV | hsv(322, 79%, 62%) |
| CMYK | cmyk(0%, 79.2%, 29.6%, 37.6%) |
| CIE-LAB | lab(37.17, 56.71, -14.41) |
| CIE-LCH | lch(37.17, 58.51, 345.74°) |
| OKLab | oklab(48.19% 0.173 -0.038) |
| OKLCH | oklch(48.19% 0.177 347.6) |
| XYZ | xyz(17.7675, 9.6305, 16.2493) |
| Luminance | 0.0963 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 2.63
Deep Magenta
#A0025C
ΔE00 4.70
Dark Fuchsia
#9D0759
ΔE00 5.21
Dark Magenta
#960056
ΔE00 5.74
Magenta (survey)
#C20078
ΔE00 6.35
Reddish Purple
#910951
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F2170 #219F50
analogous
#8F219F #9F2170 #9F2131
triadic
#9F2170 #709F21 #21709F
tetradic
#9F2170 #9F8F21 #219F50 #21319F
square
#9F2170 #9F8F21 #219F50 #21319F
split-complementary
#9F2170 #319F21 #219F8F
monochromatic
#3A0C29 #6C164C #9F2170 #D22C94 #DD5DAD
Accessibility & contrast
On white
7.18
#9F2170 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#9F2170 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F2170
7.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F2170 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F2170 | 1.00 | 7.18 | 2.93 | 7.18 |
| #FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#354A72
Deuteranopia (green-blind)
#5B5F6D
Tritanopia (blue-blind)
#AB1B46
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #9f2170; /* rgb */ color: rgb(159, 33, 112); /* oklch */ color: oklch(48.2% 0.177 347.6);
Tailwind
colors: {
custom: {
50: '#c06b99',
500: '#9f2170',
950: '#000000',
},
}SCSS
$custom: #9f2170; $custom-light: #c06b99; $custom-dark: #000000;
JSON
{
"hex": "#9f2170",
"rgb": {
"r": 159,
"g": 33,
"b": 112
},
"hsl": {
"h": 322.381,
"s": 65.625,
"l": 37.647
},
"oklch": {
"l": 0.48187,
"c": 0.17708,
"h": 347.6
},
"luminance": 0.09628
}Semantic roles & 50–950 ramp
primary
#9F2170
secondary
#5AC281
accent
#E97E3F
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070D
muted
#827A7E