#90166F#90166F
#90166F is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.8% C 0.177 H 342.2°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).
Color values
| HEX | #90166F |
|---|---|
| RGB | rgb(144, 22, 111) |
| HSL | hsl(316, 73%, 33%) |
| HSV | hsv(316, 85%, 56%) |
| CMYK | cmyk(0%, 84.7%, 22.9%, 43.5%) |
| CIE-LAB | lab(33.25, 55.86, -20.06) |
| CIE-LCH | lch(33.25, 59.35, 340.25°) |
| OKLab | oklab(44.81% 0.1684 -0.0539) |
| OKLCH | oklch(44.81% 0.177 342.2) |
| XYZ | xyz(14.6583, 7.6524, 15.7410) |
| Luminance | 0.0765 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.75
Darkish Purple
#751973
ΔE00 6.50
Dark Magenta
#960056
ΔE00 6.54
Warm Purple
#952E8F
ΔE00 6.70
Deep Magenta
#A0025C
ΔE00 6.71
Rich Purple
#720058
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#90166F #169037
analogous
#741690 #90166F #901632
triadic
#90166F #6F9016 #166F90
tetradic
#90166F #907416 #169037 #163290
square
#90166F #907416 #169037 #163290
split-complementary
#90166F #329016 #169074
monochromatic
#26061D #5B0E46 #90166F #C51E98 #E23FB6
Accessibility & contrast
On white
8.30
#90166F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.53
#90166F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #90166F
8.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##90166F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##90166F | 1.00 | 8.30 | 2.53 | 8.30 |
| #FFFFFF | 8.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#254271
Deuteranopia (green-blind)
#4C556C
Tritanopia (blue-blind)
#9A1842
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #90166f; /* rgb */ color: rgb(144, 22, 111); /* oklch */ color: oklch(44.8% 0.177 342.2);
Tailwind
colors: {
custom: {
50: '#b56598',
500: '#90166f',
950: '#000000',
},
}SCSS
$custom: #90166f; $custom-light: #b56598; $custom-dark: #000000;
JSON
{
"hex": "#90166f",
"rgb": {
"r": 144,
"g": 22,
"b": 111
},
"hsl": {
"h": 316.23,
"s": 73.494,
"l": 32.549
},
"oklch": {
"l": 0.44813,
"c": 0.17682,
"h": 342.2
},
"luminance": 0.07651
}Semantic roles & 50–950 ramp
primary
#90166F
secondary
#40C263
accent
#F06A38
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060D
muted
#817A7E