#90217C#90217C
#90217C is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.2% C 0.175 H 336.5°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).
Color values
| HEX | #90217C |
|---|---|
| RGB | rgb(144, 33, 124) |
| HSL | hsl(311, 63%, 35%) |
| HSV | hsv(311, 77%, 56%) |
| CMYK | cmyk(0%, 77.1%, 13.9%, 43.5%) |
| CIE-LAB | lab(34.95, 54.63, -25.61) |
| CIE-LCH | lch(34.95, 60.33, 334.89°) |
| OKLab | oklab(46.25% 0.1607 -0.0698) |
| OKLCH | oklch(46.25% 0.175 336.5) |
| XYZ | xyz(15.6838, 8.4737, 19.8745) |
| Luminance | 0.0847 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.95
Darkmagenta
#8B008B
ΔE00 5.09
Barney Purple
#A00498
ΔE00 5.33
Purple
#800080
ΔE00 5.76
Darkish Purple
#751973
ΔE00 5.82
Red Violet
#9E0168
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#90217C #219035
analogous
#6D2190 #90217C #902144
triadic
#90217C #7C9021 #217C90
tetradic
#90217C #906D21 #219035 #214490
square
#90217C #906D21 #219035 #214490
split-complementary
#90217C #449021 #21906D
monochromatic
#2C0A26 #5E1651 #90217C #C22CA7 #D854C0
Accessibility & contrast
On white
7.79
#90217C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#90217C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #90217C
7.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##90217C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##90217C | 1.00 | 7.79 | 2.69 | 7.79 |
| #FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#23477E
Deuteranopia (green-blind)
#4B5879
Tritanopia (blue-blind)
#98294C
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #90217c; /* rgb */ color: rgb(144, 33, 124); /* oklch */ color: oklch(46.2% 0.175 336.5);
Tailwind
colors: {
custom: {
50: '#b469a2',
500: '#90217c',
950: '#000000',
},
}SCSS
$custom: #90217c; $custom-light: #b469a2; $custom-dark: #000000;
JSON
{
"hex": "#90217c",
"rgb": {
"r": 144,
"g": 33,
"b": 124
},
"hsl": {
"h": 310.811,
"s": 62.712,
"l": 34.706
},
"oklch": {
"l": 0.46246,
"c": 0.17516,
"h": 336.5
},
"luminance": 0.08472
}Semantic roles & 50–950 ramp
primary
#90217C
secondary
#51BB65
accent
#E66042
background
#FBF6FA
surface
#F6EBF3
border
#D0C6CD
text
#12070F
muted
#817A7F