#9A1C7D#9A1C7D
#9A1C7D is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.6% C 0.186 H 339.7°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).
Color values
| HEX | #9A1C7D |
|---|---|
| RGB | rgb(154, 28, 125) |
| HSL | hsl(314, 69%, 36%) |
| HSV | hsv(314, 82%, 60%) |
| CMYK | cmyk(0%, 81.8%, 18.8%, 39.6%) |
| CIE-LAB | lab(36.33, 58.57, -23.93) |
| CIE-LCH | lch(36.33, 63.27, 337.77°) |
| OKLab | oklab(47.6% 0.1748 -0.0648) |
| OKLCH | oklch(47.6% 0.186 339.7) |
| XYZ | xyz(17.4439, 9.1830, 20.2519) |
| Luminance | 0.0918 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.34
Red Violet
#9E0168
ΔE00 4.89
Barney Purple
#A00498
ΔE00 5.26
Darkmagenta
#8B008B
ΔE00 6.23
Purple
#800080
ΔE00 7.25
Light Eggplant
#894585
ΔE00 7.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A1C7D #1C9A39
analogous
#781C9A #9A1C7D #9A1C3E
triadic
#9A1C7D #7D9A1C #1C7D9A
tetradic
#9A1C7D #9A781C #1C9A39 #1C3E9A
square
#9A1C7D #9A781C #1C9A39 #1C3E9A
split-complementary
#9A1C7D #3E9A1C #1C9A78
monochromatic
#320929 #661353 #9A1C7D #CE25A7 #DF51BF
Accessibility & contrast
On white
7.40
#9A1C7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#9A1C7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9A1C7D
7.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A1C7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A1C7D | 1.00 | 7.40 | 2.84 | 7.40 |
| #FFFFFF | 7.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#26497F
Deuteranopia (green-blind)
#515C7A
Tritanopia (blue-blind)
#A3224C
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #9a1c7d; /* rgb */ color: rgb(154, 28, 125); /* oklch */ color: oklch(47.6% 0.186 339.7);
Tailwind
colors: {
custom: {
50: '#bc69a3',
500: '#9a1c7d',
950: '#000000',
},
}SCSS
$custom: #9a1c7d; $custom-light: #bc69a3; $custom-dark: #000000;
JSON
{
"hex": "#9a1c7d",
"rgb": {
"r": 154,
"g": 28,
"b": 125
},
"hsl": {
"h": 313.81,
"s": 69.231,
"l": 35.686
},
"oklch": {
"l": 0.476,
"c": 0.18646,
"h": 339.7
},
"luminance": 0.09181
}Semantic roles & 50–950 ramp
primary
#9A1C7D
secondary
#50C26A
accent
#EC643C
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#12070F
muted
#817A7F