#902179#902179
#902179 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 46.1% C 0.173 H 337.9°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).
Color values
| HEX | #902179 |
|---|---|
| RGB | rgb(144, 33, 121) |
| HSL | hsl(312, 63%, 35%) |
| HSV | hsv(312, 77%, 56%) |
| CMYK | cmyk(0%, 77.1%, 16%, 43.5%) |
| CIE-LAB | lab(34.80, 54.19, -23.96) |
| CIE-LCH | lch(34.80, 59.25, 336.15°) |
| OKLab | oklab(46.09% 0.1603 -0.0651) |
| OKLCH | oklch(46.09% 0.173 337.9) |
| XYZ | xyz(15.4970, 8.3990, 18.8905) |
| Luminance | 0.0840 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.49
Red Violet
#9E0168
ΔE00 5.45
Darkmagenta
#8B008B
ΔE00 5.64
Barney Purple
#A00498
ΔE00 5.89
Darkish Purple
#751973
ΔE00 6.01
Purple
#800080
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#902179 #219038
analogous
#6F2190 #902179 #902142
triadic
#902179 #799021 #217990
tetradic
#902179 #906F21 #219038 #214290
square
#902179 #906F21 #219038 #214290
split-complementary
#902179 #429021 #21906F
monochromatic
#2C0A25 #5E164F #902179 #C22CA3 #D854BC
Accessibility & contrast
On white
7.84
#902179 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#902179 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #902179
7.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##902179 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##902179 | 1.00 | 7.84 | 2.68 | 7.84 |
| #FFFFFF | 7.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#26477B
Deuteranopia (green-blind)
#4C5876
Tritanopia (blue-blind)
#98274B
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #902179; /* rgb */ color: rgb(144, 33, 121); /* oklch */ color: oklch(46.1% 0.173 337.9);
Tailwind
colors: {
custom: {
50: '#b469a0',
500: '#902179',
950: '#000000',
},
}SCSS
$custom: #902179; $custom-light: #b469a0; $custom-dark: #000000;
JSON
{
"hex": "#902179",
"rgb": {
"r": 144,
"g": 33,
"b": 121
},
"hsl": {
"h": 312.432,
"s": 62.712,
"l": 34.706
},
"oklch": {
"l": 0.46089,
"c": 0.17304,
"h": 337.9
},
"luminance": 0.08397
}Semantic roles & 50–950 ramp
primary
#902179
secondary
#51BB67
accent
#E66442
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E