#9D216F#9D216F
#9D216F is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.8% C 0.175 H 347.4°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).
Color values
| HEX | #9D216F |
|---|---|
| RGB | rgb(157, 33, 111) |
| HSL | hsl(322, 65%, 37%) |
| HSV | hsv(322, 79%, 62%) |
| CMYK | cmyk(0%, 79%, 29.3%, 38.4%) |
| CIE-LAB | lab(36.75, 56.08, -14.45) |
| CIE-LCH | lch(36.75, 57.91, 345.55°) |
| OKLab | oklab(47.8% 0.171 -0.0381) |
| OKLCH | oklch(47.8% 0.175 347.4) |
| XYZ | xyz(17.3186, 9.4055, 15.9393) |
| Luminance | 0.0940 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 2.47
Deep Magenta
#A0025C
ΔE00 4.64
Dark Fuchsia
#9D0759
ΔE00 5.12
Dark Magenta
#960056
ΔE00 5.55
Reddish Purple
#910951
ΔE00 6.57
Magenta (survey)
#C20078
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D216F #219D4F
analogous
#8D219D #9D216F #9D2131
triadic
#9D216F #6F9D21 #216F9D
tetradic
#9D216F #9D8D21 #219D4F #21319D
square
#9D216F #9D8D21 #219D4F #21319D
split-complementary
#9D216F #319D21 #219D8D
monochromatic
#380C27 #6A164B #9D216F #D02C93 #DD5CAD
Accessibility & contrast
On white
7.29
#9D216F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#9D216F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9D216F
7.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D216F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D216F | 1.00 | 7.29 | 2.88 | 7.29 |
| #FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#344971
Deuteranopia (green-blind)
#595E6C
Tritanopia (blue-blind)
#A81B46
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #9d216f; /* rgb */ color: rgb(157, 33, 111); /* oklch */ color: oklch(47.8% 0.175 347.4);
Tailwind
colors: {
custom: {
50: '#be6a98',
500: '#9d216f',
950: '#000000',
},
}SCSS
$custom: #9d216f; $custom-light: #be6a98; $custom-dark: #000000;
JSON
{
"hex": "#9d216f",
"rgb": {
"r": 157,
"g": 33,
"b": 111
},
"hsl": {
"h": 322.258,
"s": 65.263,
"l": 37.255
},
"oklch": {
"l": 0.47802,
"c": 0.17515,
"h": 347.4
},
"luminance": 0.09404
}Semantic roles & 50–950 ramp
primary
#9D216F
secondary
#59C17F
accent
#E87E40
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070D
muted
#827A7E