#9F216D#9F216D
#9F216D is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.1% C 0.175 H 349.1°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).
Color values
| HEX | #9F216D |
|---|---|
| RGB | rgb(159, 33, 109) |
| HSL | hsl(324, 66%, 38%) |
| HSV | hsv(324, 79%, 62%) |
| CMYK | cmyk(0%, 79.2%, 31.4%, 37.6%) |
| CIE-LAB | lab(37.05, 56.34, -12.70) |
| CIE-LCH | lch(37.05, 57.76, 347.29°) |
| OKLab | oklab(48.06% 0.1723 -0.0333) |
| OKLCH | oklch(48.06% 0.175 349.1) |
| XYZ | xyz(17.6032, 9.5648, 15.3842) |
| Luminance | 0.0956 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 2.49
Deep Magenta
#A0025C
ΔE00 4.07
Dark Fuchsia
#9D0759
ΔE00 4.57
Dark Magenta
#960056
ΔE00 5.20
Violet Red
#A50055
ΔE00 6.19
Reddish Purple
#910951
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F216D #219F53
analogous
#92219F #9F216D #9F212E
triadic
#9F216D #6D9F21 #216D9F
tetradic
#9F216D #9F9221 #219F53 #212E9F
square
#9F216D #9F9221 #219F53 #212E9F
split-complementary
#9F216D #2E9F21 #219F92
monochromatic
#3A0C28 #6C164A #9F216D #D22C90 #DD5DAA
Accessibility & contrast
On white
7.21
#9F216D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#9F216D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F216D
7.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F216D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F216D | 1.00 | 7.21 | 2.91 | 7.21 |
| #FFFFFF | 7.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#36496F
Deuteranopia (green-blind)
#5B5F6A
Tritanopia (blue-blind)
#AB1944
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #9f216d; /* rgb */ color: rgb(159, 33, 109); /* oklch */ color: oklch(48.1% 0.175 349.1);
Tailwind
colors: {
custom: {
50: '#c06b97',
500: '#9f216d',
950: '#000000',
},
}SCSS
$custom: #9f216d; $custom-light: #c06b97; $custom-dark: #000000;
JSON
{
"hex": "#9f216d",
"rgb": {
"r": 159,
"g": 33,
"b": 109
},
"hsl": {
"h": 323.81,
"s": 65.625,
"l": 37.647
},
"oklch": {
"l": 0.48059,
"c": 0.17546,
"h": 349.1
},
"luminance": 0.09563
}Semantic roles & 50–950 ramp
primary
#9F216D
secondary
#5AC283
accent
#E9823F
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070D
muted
#827A7E