#9F217E#9F217E
#9F217E is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.8% C 0.185 H 341.2°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).
Color values
| HEX | #9F217E |
|---|---|
| RGB | rgb(159, 33, 126) |
| HSL | hsl(316, 66%, 38%) |
| HSV | hsv(316, 79%, 62%) |
| CMYK | cmyk(0%, 79.2%, 20.8%, 37.6%) |
| CIE-LAB | lab(37.78, 58.51, -22.23) |
| CIE-LCH | lch(37.78, 62.59, 339.19°) |
| OKLab | oklab(48.83% 0.1755 -0.0599) |
| OKLCH | oklch(48.83% 0.185 341.2) |
| XYZ | xyz(18.6084, 9.9669, 20.6784) |
| Luminance | 0.0997 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.64
Red Violet
#9E0168
ΔE00 4.81
Barney Purple
#A00498
ΔE00 5.79
Light Eggplant
#894585
ΔE00 7.20
Darkmagenta
#8B008B
ΔE00 7.46
Magenta (survey)
#C20078
ΔE00 7.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F217E #219F42
analogous
#81219F #9F217E #9F213F
triadic
#9F217E #7E9F21 #217E9F
tetradic
#9F217E #9F8121 #219F42 #213F9F
square
#9F217E #9F8121 #219F42 #213F9F
split-complementary
#9F217E #3F9F21 #219F81
monochromatic
#3A0C2E #6C1656 #9F217E #D22CA6 #DD5DBC
Accessibility & contrast
On white
7.02
#9F217E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#9F217E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F217E
7.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F217E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F217E | 1.00 | 7.02 | 2.99 | 7.02 |
| #FFFFFF | 7.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D4C80
Deuteranopia (green-blind)
#56607B
Tritanopia (blue-blind)
#A9244E
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #9f217e; /* rgb */ color: rgb(159, 33, 126); /* oklch */ color: oklch(48.8% 0.185 341.2);
Tailwind
colors: {
custom: {
50: '#bf6ba3',
500: '#9f217e',
950: '#000000',
},
}SCSS
$custom: #9f217e; $custom-light: #bf6ba3; $custom-dark: #000000;
JSON
{
"hex": "#9f217e",
"rgb": {
"r": 159,
"g": 33,
"b": 126
},
"hsl": {
"h": 315.714,
"s": 65.625,
"l": 37.647
},
"oklch": {
"l": 0.4883,
"c": 0.18542,
"h": 341.2
},
"luminance": 0.09965
}Semantic roles & 50–950 ramp
primary
#9F217E
secondary
#5AC275
accent
#E96C3F
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F