#9C1D7D#9C1D7D
#9C1D7D is a mid, vivid pink. Relative luminance 0.094; OKLCH L 48.0% C 0.187 H 340.4°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).
Color values
| HEX | #9C1D7D |
|---|---|
| RGB | rgb(156, 29, 125) |
| HSL | hsl(315, 69%, 36%) |
| HSV | hsv(315, 81%, 61%) |
| CMYK | cmyk(0%, 81.4%, 19.9%, 38.8%) |
| CIE-LAB | lab(36.80, 58.77, -23.18) |
| CIE-LCH | lch(36.80, 63.17, 338.47°) |
| OKLab | oklab(48% 0.1759 -0.0626) |
| OKLCH | oklch(48% 0.187 340.4) |
| XYZ | xyz(17.8519, 9.4292, 20.2779) |
| Luminance | 0.0943 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.50
Red Violet
#9E0168
ΔE00 4.71
Barney Purple
#A00498
ΔE00 5.47
Darkmagenta
#8B008B
ΔE00 6.69
Light Eggplant
#894585
ΔE00 7.39
Purple
#800080
ΔE00 7.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C1D7D #1D9C3C
analogous
#7C1D9C #9C1D7D #9C1D3D
triadic
#9C1D7D #7D9C1D #1D7D9C
tetradic
#9C1D7D #9C7C1D #1D9C3C #1D3D9C
square
#9C1D7D #9C7C1D #1D9C3C #1D3D9C
split-complementary
#9C1D7D #3D9C1D #1D9C7C
monochromatic
#350A2A #681354 #9C1D7D #D027A6 #DF54BD
Accessibility & contrast
On white
7.28
#9C1D7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#9C1D7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9C1D7D
7.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C1D7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C1D7D | 1.00 | 7.28 | 2.89 | 7.28 |
| #FFFFFF | 7.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#284A7F
Deuteranopia (green-blind)
#535E7A
Tritanopia (blue-blind)
#A6224C
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #9c1d7d; /* rgb */ color: rgb(156, 29, 125); /* oklch */ color: oklch(48.0% 0.187 340.4);
Tailwind
colors: {
custom: {
50: '#bd69a3',
500: '#9c1d7d',
950: '#000000',
},
}SCSS
$custom: #9c1d7d; $custom-light: #bd69a3; $custom-dark: #000000;
JSON
{
"hex": "#9c1d7d",
"rgb": {
"r": 156,
"g": 29,
"b": 125
},
"hsl": {
"h": 314.646,
"s": 68.649,
"l": 36.275
},
"oklch": {
"l": 0.48002,
"c": 0.18672,
"h": 340.4
},
"luminance": 0.09427
}Semantic roles & 50–950 ramp
primary
#9C1D7D
secondary
#52C26E
accent
#EB673C
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#13070F
muted
#827A7F