#9C1F80#9C1F80
#9C1F80 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.3% C 0.187 H 339.2°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).
Color values
| HEX | #9C1F80 |
|---|---|
| RGB | rgb(156, 31, 128) |
| HSL | hsl(313, 67%, 37%) |
| HSV | hsv(313, 80%, 61%) |
| CMYK | cmyk(0%, 80.1%, 17.9%, 38.8%) |
| CIE-LAB | lab(37.13, 58.64, -24.53) |
| CIE-LCH | lch(37.13, 63.56, 337.30°) |
| OKLab | oklab(48.29% 0.1746 -0.0665) |
| OKLCH | oklch(48.29% 0.187 339.2) |
| XYZ | xyz(18.0971, 9.6082, 21.3194) |
| Luminance | 0.0961 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.90
Barney Purple
#A00498
ΔE00 4.95
Red Violet
#9E0168
ΔE00 5.34
Darkmagenta
#8B008B
ΔE00 6.39
Light Eggplant
#894585
ΔE00 7.08
Purple
#800080
ΔE00 7.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C1F80 #1F9C3B
analogous
#7A1F9C #9C1F80 #9C1F42
triadic
#9C1F80 #809C1F #1F809C
tetradic
#9C1F80 #9C7A1F #1F9C3B #1F429C
square
#9C1F80 #9C7A1F #1F9C3B #1F429C
split-complementary
#9C1F80 #429C1F #1F9C7A
monochromatic
#360B2C #691556 #9C1F80 #CF29AA #DE58C0
Accessibility & contrast
On white
7.19
#9C1F80 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#9C1F80 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9C1F80
7.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C1F80 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C1F80 | 1.00 | 7.19 | 2.92 | 7.19 |
| #FFFFFF | 7.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#284B83
Deuteranopia (green-blind)
#525E7D
Tritanopia (blue-blind)
#A5254E
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #9c1f80; /* rgb */ color: rgb(156, 31, 128); /* oklch */ color: oklch(48.3% 0.187 339.2);
Tailwind
colors: {
custom: {
50: '#bd6aa5',
500: '#9c1f80',
950: '#000000',
},
}SCSS
$custom: #9c1f80; $custom-light: #bd6aa5; $custom-dark: #000000;
JSON
{
"hex": "#9c1f80",
"rgb": {
"r": 156,
"g": 31,
"b": 128
},
"hsl": {
"h": 313.44,
"s": 66.845,
"l": 36.667
},
"oklch": {
"l": 0.48288,
"c": 0.18684,
"h": 339.2
},
"luminance": 0.09606
}Semantic roles & 50–950 ramp
primary
#9C1F80
secondary
#55C16E
accent
#EA653E
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F