#9E1780#9E1780
#9E1780 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 48.1% C 0.195 H 339.6°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1780 |
|---|---|
| RGB | rgb(158, 23, 128) |
| HSL | hsl(313, 75%, 35%) |
| HSV | hsv(313, 85%, 62%) |
| CMYK | cmyk(0%, 85.4%, 19%, 38%) |
| CIE-LAB | lab(36.82, 61.06, -24.99) |
| CIE-LCH | lch(36.82, 65.97, 337.74°) |
| OKLab | oklab(48.14% 0.1825 -0.0677) |
| OKLCH | oklch(48.14% 0.195 339.6) |
| XYZ | xyz(18.3038, 9.4423, 21.2765) |
| Luminance | 0.0944 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.27
Barney Purple
#A00498
ΔE00 4.78
Red Violet
#9E0168
ΔE00 5.13
Darkmagenta
#8B008B
ΔE00 6.23
Purple
#800080
ΔE00 7.46
Light Eggplant
#894585
ΔE00 7.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1780 #179E35
analogous
#78179E #9E1780 #9E173D
triadic
#9E1780 #809E17 #17809E
tetradic
#9E1780 #9E7817 #179E35 #173D9E
square
#9E1780 #9E7817 #179E35 #173D9E
split-complementary
#9E1780 #3D9E17 #179E78
monochromatic
#330729 #690F55 #9E1780 #D31FAB #E54BC3
Accessibility & contrast
On white
7.27
#9E1780 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#9E1780 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1780
7.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1780 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1780 | 1.00 | 7.27 | 2.89 | 7.27 |
| #FFFFFF | 7.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#234983
Deuteranopia (green-blind)
#525E7D
Tritanopia (blue-blind)
#A81E4C
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #9e1780; /* rgb */ color: rgb(158, 23, 128); /* oklch */ color: oklch(48.1% 0.195 339.6);
Tailwind
colors: {
custom: {
50: '#bf68a5',
500: '#9e1780',
950: '#000000',
},
}SCSS
$custom: #9e1780; $custom-light: #bf68a5; $custom-dark: #000000;
JSON
{
"hex": "#9e1780",
"rgb": {
"r": 158,
"g": 23,
"b": 128
},
"hsl": {
"h": 313.333,
"s": 74.586,
"l": 35.49
},
"oklch": {
"l": 0.48136,
"c": 0.1946,
"h": 339.6
},
"luminance": 0.0944
}Semantic roles & 50–950 ramp
primary
#9E1780
secondary
#4AC666
accent
#F16037
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F