#9C1D7C#9C1D7C
#9C1D7C is a mid, vivid pink. Relative luminance 0.094; OKLCH L 48.0% C 0.186 H 340.8°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).
Color values
| HEX | #9C1D7C |
|---|---|
| RGB | rgb(156, 29, 124) |
| HSL | hsl(315, 69%, 36%) |
| HSV | hsv(315, 81%, 61%) |
| CMYK | cmyk(0%, 81.4%, 20.5%, 38.8%) |
| CIE-LAB | lab(36.75, 58.63, -22.63) |
| CIE-LCH | lch(36.75, 62.85, 338.89°) |
| OKLab | oklab(47.95% 0.1758 -0.0611) |
| OKLCH | oklch(47.95% 0.186 340.8) |
| XYZ | xyz(17.7883, 9.4037, 19.9432) |
| Luminance | 0.0940 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.51
Warm Purple
#952E8F
ΔE00 4.69
Barney Purple
#A00498
ΔE00 5.68
Darkmagenta
#8B008B
ΔE00 6.86
Light Eggplant
#894585
ΔE00 7.45
Deep Magenta
#A0025C
ΔE00 7.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C1D7C #1D9C3D
analogous
#7D1D9C #9C1D7C #9C1D3D
triadic
#9C1D7C #7C9C1D #1D7C9C
tetradic
#9C1D7C #9C7D1D #1D9C3D #1D3D9C
square
#9C1D7C #9C7D1D #1D9C3D #1D3D9C
split-complementary
#9C1D7C #3D9C1D #1D9C7D
monochromatic
#350A2A #681353 #9C1D7C #D027A5 #DF54BC
Accessibility & contrast
On white
7.29
#9C1D7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#9C1D7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9C1D7C
7.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C1D7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C1D7C | 1.00 | 7.29 | 2.88 | 7.29 |
| #FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#294A7E
Deuteranopia (green-blind)
#535E79
Tritanopia (blue-blind)
#A6214C
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #9c1d7c; /* rgb */ color: rgb(156, 29, 124); /* oklch */ color: oklch(48.0% 0.186 340.8);
Tailwind
colors: {
custom: {
50: '#bd69a2',
500: '#9c1d7c',
950: '#000000',
},
}SCSS
$custom: #9c1d7c; $custom-light: #bd69a2; $custom-dark: #000000;
JSON
{
"hex": "#9c1d7c",
"rgb": {
"r": 156,
"g": 29,
"b": 124
},
"hsl": {
"h": 315.118,
"s": 68.649,
"l": 36.275
},
"oklch": {
"l": 0.47952,
"c": 0.18608,
"h": 340.8
},
"luminance": 0.09402
}Semantic roles & 50–950 ramp
primary
#9C1D7C
secondary
#52C26F
accent
#EB683C
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#13070F
muted
#827A7F