#902172#902172
#902172 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.7% C 0.168 H 341.3°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).
Color values
| HEX | #902172 |
|---|---|
| RGB | rgb(144, 33, 114) |
| HSL | hsl(316, 63%, 35%) |
| HSV | hsv(316, 77%, 56%) |
| CMYK | cmyk(0%, 77.1%, 20.8%, 43.5%) |
| CIE-LAB | lab(34.46, 53.18, -20.07) |
| CIE-LCH | lch(34.46, 56.84, 339.32°) |
| OKLab | oklab(45.74% 0.1594 -0.054) |
| OKLCH | oklch(45.74% 0.168 341.3) |
| XYZ | xyz(15.0832, 8.2334, 16.7112) |
| Luminance | 0.0823 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.19
Warm Purple
#952E8F
ΔE00 5.88
Bruise
#7E4071
ΔE00 6.73
Darkish Purple
#751973
ΔE00 6.74
Deep Magenta
#A0025C
ΔE00 7.04
Darkmagenta
#8B008B
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#902172 #21903F
analogous
#772190 #902172 #90213B
triadic
#902172 #729021 #217290
tetradic
#902172 #907721 #21903F #213B90
square
#902172 #907721 #21903F #213B90
split-complementary
#902172 #3B9021 #219077
monochromatic
#2C0A23 #5E164B #902172 #C22C99 #D854B4
Accessibility & contrast
On white
7.94
#902172 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#902172 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #902172
7.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##902172 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##902172 | 1.00 | 7.94 | 2.65 | 7.94 |
| #FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B4674
Deuteranopia (green-blind)
#4E576F
Tritanopia (blue-blind)
#992347
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #902172; /* rgb */ color: rgb(144, 33, 114); /* oklch */ color: oklch(45.7% 0.168 341.3);
Tailwind
colors: {
custom: {
50: '#b4699a',
500: '#902172',
950: '#000000',
},
}SCSS
$custom: #902172; $custom-light: #b4699a; $custom-dark: #000000;
JSON
{
"hex": "#902172",
"rgb": {
"r": 144,
"g": 33,
"b": 114
},
"hsl": {
"h": 316.216,
"s": 62.712,
"l": 34.706
},
"oklch": {
"l": 0.45737,
"c": 0.16831,
"h": 341.3
},
"luminance": 0.08232
}Semantic roles & 50–950 ramp
primary
#902172
secondary
#51BB6E
accent
#E66E42
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E