#90157B#90157B
#90157B is a mid, vivid pink. Relative luminance 0.079; OKLCH L 45.4% C 0.185 H 336.7°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).
Color values
| HEX | #90157B |
|---|---|
| RGB | rgb(144, 21, 123) |
| HSL | hsl(310, 75%, 32%) |
| HSV | hsv(310, 85%, 56%) |
| CMYK | cmyk(0%, 85.4%, 14.6%, 43.5%) |
| CIE-LAB | lab(33.77, 57.74, -26.83) |
| CIE-LCH | lch(33.77, 63.67, 335.08°) |
| OKLab | oklab(45.38% 0.1703 -0.0732) |
| OKLCH | oklch(45.38% 0.185 336.7) |
| XYZ | xyz(15.3452, 7.8972, 19.4512) |
| Luminance | 0.0790 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkmagenta
#8B008B
ΔE00 4.36
Warm Purple
#952E8F
ΔE00 4.72
Purple
#800080
ΔE00 4.88
Barney Purple
#A00498
ΔE00 5.23
Darkish Purple
#751973
ΔE00 5.29
Red Violet
#9E0168
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#90157B #15902A
analogous
#681590 #90157B #90153E
triadic
#90157B #7B9015 #157B90
tetradic
#90157B #906815 #15902A #153E90
square
#90157B #906815 #15902A #153E90
split-complementary
#90157B #3E9015 #159068
monochromatic
#250520 #5B0D4D #90157B #C51DA9 #E33DC6
Accessibility & contrast
On white
8.14
#90157B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#90157B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #90157B
8.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##90157B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##90157B | 1.00 | 8.14 | 2.58 | 8.14 |
| #FFFFFF | 8.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#19447E
Deuteranopia (green-blind)
#475678
Tritanopia (blue-blind)
#982049
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #90157b; /* rgb */ color: rgb(144, 21, 123); /* oklch */ color: oklch(45.4% 0.185 336.7);
Tailwind
colors: {
custom: {
50: '#b465a1',
500: '#90157b',
950: '#000000',
},
}SCSS
$custom: #90157b; $custom-light: #b465a1; $custom-dark: #000000;
JSON
{
"hex": "#90157b",
"rgb": {
"r": 144,
"g": 21,
"b": 123
},
"hsl": {
"h": 310.244,
"s": 74.545,
"l": 32.353
},
"oklch": {
"l": 0.45381,
"c": 0.18539,
"h": 336.7
},
"luminance": 0.07896
}Semantic roles & 50–950 ramp
primary
#90157B
secondary
#3EC255
accent
#F15637
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060F
muted
#817A7E