#9E1A78#9E1A78
#9E1A78 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.9% C 0.187 H 343.2°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1A78 |
|---|---|
| RGB | rgb(158, 26, 120) |
| HSL | hsl(317, 72%, 36%) |
| HSV | hsv(317, 84%, 62%) |
| CMYK | cmyk(0%, 83.5%, 24.1%, 38%) |
| CIE-LAB | lab(36.68, 59.32, -20.21) |
| CIE-LCH | lch(36.68, 62.67, 341.19°) |
| OKLab | oklab(47.91% 0.1794 -0.0542) |
| OKLCH | oklch(47.91% 0.187 343.2) |
| XYZ | xyz(17.8608, 9.3659, 18.6329) |
| Luminance | 0.0936 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.53
Warm Purple
#952E8F
ΔE00 5.73
Deep Magenta
#A0025C
ΔE00 6.51
Barney Purple
#A00498
ΔE00 6.59
Dark Fuchsia
#9D0759
ΔE00 7.05
Dark Magenta
#960056
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1A78 #1A9E40
analogous
#821A9E #9E1A78 #9E1A36
triadic
#9E1A78 #789E1A #1A789E
tetradic
#9E1A78 #9E821A #1A9E40 #1A369E
square
#9E1A78 #9E821A #1A9E40 #1A369E
split-complementary
#9E1A78 #369E1A #1A9E82
monochromatic
#350928 #691150 #9E1A78 #D323A0 #E250B8
Accessibility & contrast
On white
7.31
#9E1A78 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#9E1A78 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1A78
7.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1A78 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1A78 | 1.00 | 7.31 | 2.87 | 7.31 |
| #FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B497A
Deuteranopia (green-blind)
#555E75
Tritanopia (blue-blind)
#A91A49
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #9e1a78; /* rgb */ color: rgb(158, 26, 120); /* oklch */ color: oklch(47.9% 0.187 343.2);
Tailwind
colors: {
custom: {
50: '#bf699f',
500: '#9e1a78',
950: '#000000',
},
}SCSS
$custom: #9e1a78; $custom-light: #bf699f; $custom-dark: #000000;
JSON
{
"hex": "#9e1a78",
"rgb": {
"r": 158,
"g": 26,
"b": 120
},
"hsl": {
"h": 317.273,
"s": 71.739,
"l": 36.078
},
"oklch": {
"l": 0.4791,
"c": 0.18735,
"h": 343.2
},
"luminance": 0.09364
}Semantic roles & 50–950 ramp
primary
#9E1A78
secondary
#4FC571
accent
#EE6D39
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E