#902271#902271
#902271 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.8% C 0.167 H 341.8°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).
Color values
| HEX | #902271 |
|---|---|
| RGB | rgb(144, 34, 113) |
| HSL | hsl(317, 62%, 35%) |
| HSV | hsv(317, 76%, 56%) |
| CMYK | cmyk(0%, 76.4%, 21.5%, 43.5%) |
| CIE-LAB | lab(34.53, 52.72, -19.33) |
| CIE-LCH | lch(34.53, 56.15, 339.86°) |
| OKLab | oklab(45.77% 0.1582 -0.052) |
| OKLCH | oklch(45.77% 0.167 341.8) |
| XYZ | xyz(15.0548, 8.2671, 16.4225) |
| Luminance | 0.0827 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.04
Warm Purple
#952E8F
ΔE00 6.09
Bruise
#7E4071
ΔE00 6.61
Deep Magenta
#A0025C
ΔE00 6.82
Dark Magenta
#960056
ΔE00 6.87
Darkish Purple
#751973
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#902271 #229041
analogous
#782290 #902271 #90223A
triadic
#902271 #719022 #227190
tetradic
#902271 #907822 #229041 #223A90
square
#902271 #907822 #229041 #223A90
split-complementary
#902271 #3A9022 #229078
monochromatic
#2D0B23 #5E164A #902271 #C22E98 #D755B2
Accessibility & contrast
On white
7.91
#902271 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#902271 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #902271
7.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##902271 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##902271 | 1.00 | 7.91 | 2.65 | 7.91 |
| #FFFFFF | 7.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C4673
Deuteranopia (green-blind)
#4F586E
Tritanopia (blue-blind)
#992447
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #902271; /* rgb */ color: rgb(144, 34, 113); /* oklch */ color: oklch(45.8% 0.167 341.8);
Tailwind
colors: {
custom: {
50: '#b4699a',
500: '#902271',
950: '#000000',
},
}SCSS
$custom: #902271; $custom-light: #b4699a; $custom-dark: #000000;
JSON
{
"hex": "#902271",
"rgb": {
"r": 144,
"g": 34,
"b": 113
},
"hsl": {
"h": 316.909,
"s": 61.798,
"l": 34.902
},
"oklch": {
"l": 0.45771,
"c": 0.16655,
"h": 341.8
},
"luminance": 0.08266
}Semantic roles & 50–950 ramp
primary
#902271
secondary
#53BB70
accent
#E57143
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E