#901E7A#901E7A
#901E7A is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.9% C 0.177 H 337.4°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).
Color values
| HEX | #901E7A |
|---|---|
| RGB | rgb(144, 30, 122) |
| HSL | hsl(312, 66%, 34%) |
| HSV | hsv(312, 79%, 56%) |
| CMYK | cmyk(0%, 79.2%, 15.3%, 43.5%) |
| CIE-LAB | lab(34.53, 55.26, -25.01) |
| CIE-LCH | lch(34.53, 60.65, 335.64°) |
| OKLab | oklab(45.91% 0.1632 -0.0681) |
| OKLCH | oklch(45.91% 0.177 337.4) |
| XYZ | xyz(15.4791, 8.2645, 19.1886) |
| Luminance | 0.0826 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.43
Darkmagenta
#8B008B
ΔE00 5.17
Barney Purple
#A00498
ΔE00 5.59
Red Violet
#9E0168
ΔE00 5.65
Purple
#800080
ΔE00 5.72
Darkish Purple
#751973
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#901E7A #1E9034
analogous
#6D1E90 #901E7A #901E41
triadic
#901E7A #7A901E #1E7A90
tetradic
#901E7A #906D1E #1E9034 #1E4190
square
#901E7A #906D1E #1E9034 #1E4190
split-complementary
#901E7A #41901E #1E906D
monochromatic
#2B0924 #5D134F #901E7A #C329A5 #DA4EBF
Accessibility & contrast
On white
7.92
#901E7A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#901E7A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #901E7A
7.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##901E7A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##901E7A | 1.00 | 7.92 | 2.65 | 7.92 |
| #FFFFFF | 7.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#22467C
Deuteranopia (green-blind)
#4A5777
Tritanopia (blue-blind)
#98264B
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #901e7a; /* rgb */ color: rgb(144, 30, 122); /* oklch */ color: oklch(45.9% 0.177 337.4);
Tailwind
colors: {
custom: {
50: '#b468a0',
500: '#901e7a',
950: '#000000',
},
}SCSS
$custom: #901e7a; $custom-light: #b468a0; $custom-dark: #000000;
JSON
{
"hex": "#901e7a",
"rgb": {
"r": 144,
"g": 30,
"b": 122
},
"hsl": {
"h": 311.579,
"s": 65.517,
"l": 34.118
},
"oklch": {
"l": 0.45909,
"c": 0.17684,
"h": 337.4
},
"luminance": 0.08263
}Semantic roles & 50–950 ramp
primary
#901E7A
secondary
#4DBD63
accent
#E8603F
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070F
muted
#817A7E