#90227A#90227A
#90227A is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.2% C 0.173 H 337.5°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).
Color values
| HEX | #90227A |
|---|---|
| RGB | rgb(144, 34, 122) |
| HSL | hsl(312, 62%, 35%) |
| HSV | hsv(312, 76%, 56%) |
| CMYK | cmyk(0%, 76.4%, 15.3%, 43.5%) |
| CIE-LAB | lab(34.96, 54.01, -24.33) |
| CIE-LCH | lch(34.96, 59.24, 335.75°) |
| OKLab | oklab(46.22% 0.1595 -0.0661) |
| OKLCH | oklch(46.22% 0.173 337.5) |
| XYZ | xyz(15.5868, 8.4800, 19.2245) |
| Luminance | 0.0848 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.26
Darkmagenta
#8B008B
ΔE00 5.55
Red Violet
#9E0168
ΔE00 5.63
Barney Purple
#A00498
ΔE00 5.75
Darkish Purple
#751973
ΔE00 6.01
Purple
#800080
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#90227A #229038
analogous
#6F2290 #90227A #902243
triadic
#90227A #7A9022 #227A90
tetradic
#90227A #906F22 #229038 #224390
square
#90227A #906F22 #229038 #224390
split-complementary
#90227A #439022 #22906F
monochromatic
#2D0B26 #5E1650 #90227A #C22EA4 #D755BD
Accessibility & contrast
On white
7.79
#90227A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#90227A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #90227A
7.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##90227A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##90227A | 1.00 | 7.79 | 2.70 | 7.79 |
| #FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#26477C
Deuteranopia (green-blind)
#4C5877
Tritanopia (blue-blind)
#98294C
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #90227a; /* rgb */ color: rgb(144, 34, 122); /* oklch */ color: oklch(46.2% 0.173 337.5);
Tailwind
colors: {
custom: {
50: '#b469a0',
500: '#90227a',
950: '#000000',
},
}SCSS
$custom: #90227a; $custom-light: #b469a0; $custom-dark: #000000;
JSON
{
"hex": "#90227a",
"rgb": {
"r": 144,
"g": 34,
"b": 122
},
"hsl": {
"h": 312,
"s": 61.798,
"l": 34.902
},
"oklch": {
"l": 0.46222,
"c": 0.17266,
"h": 337.5
},
"luminance": 0.08478
}Semantic roles & 50–950 ramp
primary
#90227A
secondary
#53BB68
accent
#E56343
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#12070F
muted
#817A7E