#90256C#90256C
#90256C is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.8% C 0.160 H 344.6°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).
Color values
| HEX | #90256C |
|---|---|
| RGB | rgb(144, 37, 108) |
| HSL | hsl(320, 59%, 35%) |
| HSV | hsv(320, 74%, 56%) |
| CMYK | cmyk(0%, 74.3%, 25%, 43.5%) |
| CIE-LAB | lab(34.67, 51.00, -15.95) |
| CIE-LCH | lch(34.67, 53.43, 342.63°) |
| OKLab | oklab(45.8% 0.1541 -0.0425) |
| OKLCH | oklch(45.8% 0.16 344.6) |
| XYZ | xyz(14.8705, 8.3367, 15.0105) |
| Luminance | 0.0833 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.50
Deep Magenta
#A0025C
ΔE00 5.79
Dark Magenta
#960056
ΔE00 5.83
Dark Fuchsia
#9D0759
ΔE00 6.03
Bruise
#7E4071
ΔE00 6.40
Reddish Purple
#910951
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#90256C #259049
analogous
#7E2590 #90256C #902536
triadic
#90256C #6C9025 #256C90
tetradic
#90256C #907E25 #259049 #253690
square
#90256C #907E25 #259049 #253690
split-complementary
#90256C #369025 #25907E
monochromatic
#2F0C23 #5F1847 #90256C #C13291 #D55BAC
Accessibility & contrast
On white
7.87
#90256C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#90256C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #90256C
7.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##90256C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##90256C | 1.00 | 7.87 | 2.67 | 7.87 |
| #FFFFFF | 7.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#31466E
Deuteranopia (green-blind)
#52586A
Tritanopia (blue-blind)
#9A2445
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #90256c; /* rgb */ color: rgb(144, 37, 108); /* oklch */ color: oklch(45.8% 0.160 344.6);
Tailwind
colors: {
custom: {
50: '#b46a96',
500: '#90256c',
950: '#000000',
},
}SCSS
$custom: #90256c; $custom-light: #b46a96; $custom-dark: #000000;
JSON
{
"hex": "#90256c",
"rgb": {
"r": 144,
"g": 37,
"b": 108
},
"hsl": {
"h": 320.187,
"s": 59.116,
"l": 35.49
},
"oklch": {
"l": 0.45801,
"c": 0.15989,
"h": 344.6
},
"luminance": 0.08335
}Semantic roles & 50–950 ramp
primary
#90256C
secondary
#57B978
accent
#E27A45
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#12070D
muted
#817A7E