#9C1F7A#9C1F7A
#9C1F7A is a mid, vivid pink. Relative luminance 0.095; OKLCH L 48.0% C 0.183 H 341.8°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).
Color values
| HEX | #9C1F7A |
|---|---|
| RGB | rgb(156, 31, 122) |
| HSL | hsl(316, 67%, 37%) |
| HSV | hsv(316, 80%, 61%) |
| CMYK | cmyk(0%, 80.1%, 21.8%, 38.8%) |
| CIE-LAB | lab(36.85, 57.82, -21.24) |
| CIE-LCH | lch(36.85, 61.59, 339.83°) |
| OKLab | oklab(47.99% 0.1738 -0.0571) |
| OKLCH | oklch(47.99% 0.183 341.8) |
| XYZ | xyz(17.7138, 9.4549, 19.3007) |
| Luminance | 0.0945 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.15
Warm Purple
#952E8F
ΔE00 5.08
Barney Purple
#A00498
ΔE00 6.21
Deep Magenta
#A0025C
ΔE00 7.11
Darkmagenta
#8B008B
ΔE00 7.35
Light Eggplant
#894585
ΔE00 7.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C1F7A #1F9C41
analogous
#801F9C #9C1F7A #9C1F3C
triadic
#9C1F7A #7A9C1F #1F7A9C
tetradic
#9C1F7A #9C801F #1F9C41 #1F3C9C
square
#9C1F7A #9C801F #1F9C41 #1F3C9C
split-complementary
#9C1F7A #3C9C1F #1F9C80
monochromatic
#360B2A #691552 #9C1F7A #CF29A2 #DE58B9
Accessibility & contrast
On white
7.26
#9C1F7A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#9C1F7A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9C1F7A
7.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C1F7A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C1F7A | 1.00 | 7.26 | 2.89 | 7.26 |
| #FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C4A7C
Deuteranopia (green-blind)
#545E77
Tritanopia (blue-blind)
#A6214B
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #9c1f7a; /* rgb */ color: rgb(156, 31, 122); /* oklch */ color: oklch(48.0% 0.183 341.8);
Tailwind
colors: {
custom: {
50: '#bd6aa0',
500: '#9c1f7a',
950: '#000000',
},
}SCSS
$custom: #9c1f7a; $custom-light: #bd6aa0; $custom-dark: #000000;
JSON
{
"hex": "#9c1f7a",
"rgb": {
"r": 156,
"g": 31,
"b": 122
},
"hsl": {
"h": 316.32,
"s": 66.845,
"l": 36.667
},
"oklch": {
"l": 0.47991,
"c": 0.18298,
"h": 341.8
},
"luminance": 0.09453
}Semantic roles & 50–950 ramp
primary
#9C1F7A
secondary
#55C173
accent
#EA6D3E
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070F
muted
#827A7E