#9A1E7D#9A1E7D
#9A1E7D is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.7% C 0.185 H 339.7°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).
Color values
| HEX | #9A1E7D |
|---|---|
| RGB | rgb(154, 30, 125) |
| HSL | hsl(314, 67%, 36%) |
| HSV | hsv(314, 81%, 60%) |
| CMYK | cmyk(0%, 80.5%, 18.8%, 39.6%) |
| CIE-LAB | lab(36.52, 58.03, -23.64) |
| CIE-LCH | lch(36.52, 62.66, 337.83°) |
| OKLab | oklab(47.73% 0.1732 -0.064) |
| OKLCH | oklch(47.73% 0.185 339.7) |
| XYZ | xyz(17.4929, 9.2810, 20.2682) |
| Luminance | 0.0928 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.29
Red Violet
#9E0168
ΔE00 4.90
Barney Purple
#A00498
ΔE00 5.35
Darkmagenta
#8B008B
ΔE00 6.39
Light Eggplant
#894585
ΔE00 7.23
Purple
#800080
ΔE00 7.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A1E7D #1E9A3B
analogous
#791E9A #9A1E7D #9A1E3F
triadic
#9A1E7D #7D9A1E #1E7D9A
tetradic
#9A1E7D #9A791E #1E9A3B #1E3F9A
square
#9A1E7D #9A791E #1E9A3B #1E3F9A
split-complementary
#9A1E7D #3F9A1E #1E9A79
monochromatic
#340A2A #671453 #9A1E7D #CD28A7 #DE55BE
Accessibility & contrast
On white
7.35
#9A1E7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#9A1E7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9A1E7D
7.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A1E7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A1E7D | 1.00 | 7.35 | 2.86 | 7.35 |
| #FFFFFF | 7.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#284A7F
Deuteranopia (green-blind)
#515D7A
Tritanopia (blue-blind)
#A3234C
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #9a1e7d; /* rgb */ color: rgb(154, 30, 125); /* oklch */ color: oklch(47.7% 0.185 339.7);
Tailwind
colors: {
custom: {
50: '#bc69a3',
500: '#9a1e7d',
950: '#000000',
},
}SCSS
$custom: #9a1e7d; $custom-light: #bc69a3; $custom-dark: #000000;
JSON
{
"hex": "#9a1e7d",
"rgb": {
"r": 154,
"g": 30,
"b": 125
},
"hsl": {
"h": 314.032,
"s": 67.391,
"l": 36.078
},
"oklch": {
"l": 0.47733,
"c": 0.18465,
"h": 339.7
},
"luminance": 0.09279
}Semantic roles & 50–950 ramp
primary
#9A1E7D
secondary
#53C16C
accent
#EA663E
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#12070F
muted
#817A7F