#99217F#99217F
#99217F is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.9% C 0.182 H 338.6°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).
Color values
| HEX | #99217F |
|---|---|
| RGB | rgb(153, 33, 127) |
| HSL | hsl(313, 65%, 36%) |
| HSV | hsv(313, 78%, 60%) |
| CMYK | cmyk(0%, 78.4%, 17%, 40%) |
| CIE-LAB | lab(36.73, 57.22, -24.57) |
| CIE-LCH | lch(36.73, 62.27, 336.76°) |
| OKLab | oklab(47.88% 0.1699 -0.0666) |
| OKLCH | oklch(47.88% 0.183 338.6) |
| XYZ | xyz(17.5119, 9.3940, 20.9655) |
| Luminance | 0.0939 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.76
Barney Purple
#A00498
ΔE00 5.04
Red Violet
#9E0168
ΔE00 5.43
Darkmagenta
#8B008B
ΔE00 6.14
Light Eggplant
#894585
ΔE00 6.82
Purple
#800080
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#99217F #21993B
analogous
#772199 #99217F #992143
triadic
#99217F #7F9921 #217F99
tetradic
#99217F #997721 #21993B #214399
square
#99217F #997721 #21993B #214399
split-complementary
#99217F #439921 #219977
monochromatic
#340B2B #671655 #99217F #CB2CA9 #DB59BF
Accessibility & contrast
On white
7.30
#99217F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#99217F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #99217F
7.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##99217F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##99217F | 1.00 | 7.30 | 2.88 | 7.30 |
| #FFFFFF | 7.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#284B81
Deuteranopia (green-blind)
#515D7C
Tritanopia (blue-blind)
#A2274E
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #99217f; /* rgb */ color: rgb(153, 33, 127); /* oklch */ color: oklch(47.9% 0.182 338.6);
Tailwind
colors: {
custom: {
50: '#bb6aa4',
500: '#99217f',
950: '#000000',
},
}SCSS
$custom: #99217f; $custom-light: #bb6aa4; $custom-dark: #000000;
JSON
{
"hex": "#99217f",
"rgb": {
"r": 153,
"g": 33,
"b": 127
},
"hsl": {
"h": 313,
"s": 64.516,
"l": 36.471
},
"oklch": {
"l": 0.47884,
"c": 0.1825,
"h": 338.6
},
"luminance": 0.09392
}Semantic roles & 50–950 ramp
primary
#99217F
secondary
#56BF6D
accent
#E86540
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F