#902C71#902C71
#902C71 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.7% C 0.154 H 342.5°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).
Color values
| HEX | #902C71 |
|---|---|
| RGB | rgb(144, 44, 113) |
| HSL | hsl(319, 53%, 37%) |
| HSV | hsv(319, 69%, 56%) |
| CMYK | cmyk(0%, 69.4%, 21.5%, 43.5%) |
| CIE-LAB | lab(35.84, 49.04, -17.32) |
| CIE-LCH | lch(35.84, 52.01, 340.55°) |
| OKLab | oklab(46.72% 0.147 -0.0464) |
| OKLCH | oklch(46.72% 0.154 342.5) |
| XYZ | xyz(15.3834, 8.9244, 16.5320) |
| Luminance | 0.0892 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.55
Bruise
#7E4071
ΔE00 5.45
Warm Purple
#952E8F
ΔE00 6.26
Light Eggplant
#894585
ΔE00 6.54
Deep Magenta
#A0025C
ΔE00 6.84
Dark Magenta
#960056
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#902C71 #2C904B
analogous
#7D2C90 #902C71 #902C3F
triadic
#902C71 #71902C #2C7190
tetradic
#902C71 #907D2C #2C904B #2C3F90
square
#902C71 #907D2C #2C904B #2C3F90
split-complementary
#902C71 #3F902C #2C907D
monochromatic
#320F27 #611E4C #902C71 #BF3A96 #D066AF
Accessibility & contrast
On white
7.54
#902C71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#902C71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #902C71
7.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##902C71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##902C71 | 1.00 | 7.54 | 2.78 | 7.54 |
| #FFFFFF | 7.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#354A73
Deuteranopia (green-blind)
#535A6F
Tritanopia (blue-blind)
#992D4A
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #902c71; /* rgb */ color: rgb(144, 44, 113); /* oklch */ color: oklch(46.7% 0.154 342.5);
Tailwind
colors: {
custom: {
50: '#b46d9a',
500: '#902c71',
950: '#000000',
},
}SCSS
$custom: #902c71; $custom-light: #b46d9a; $custom-dark: #000000;
JSON
{
"hex": "#902c71",
"rgb": {
"r": 144,
"g": 44,
"b": 113
},
"hsl": {
"h": 318.6,
"s": 53.191,
"l": 36.863
},
"oklch": {
"l": 0.46721,
"c": 0.15418,
"h": 342.5
},
"luminance": 0.08923
}Semantic roles & 50–950 ramp
primary
#902C71
secondary
#61B77C
accent
#DD784B
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080E
muted
#807B7E