#9C1F72#9C1F72
#9C1F72 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.6% C 0.178 H 345.5°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).
Color values
| HEX | #9C1F72 |
|---|---|
| RGB | rgb(156, 31, 114) |
| HSL | hsl(320, 67%, 37%) |
| HSV | hsv(320, 80%, 61%) |
| CMYK | cmyk(0%, 80.1%, 26.9%, 38.8%) |
| CIE-LAB | lab(36.49, 56.78, -16.77) |
| CIE-LCH | lch(36.49, 59.20, 343.55°) |
| OKLab | oklab(47.62% 0.1725 -0.0446) |
| OKLCH | oklch(47.62% 0.178 345.5) |
| XYZ | xyz(17.2383, 9.2647, 16.7968) |
| Luminance | 0.0926 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 2.70
Deep Magenta
#A0025C
ΔE00 5.38
Dark Fuchsia
#9D0759
ΔE00 5.87
Dark Magenta
#960056
ΔE00 6.13
Warm Purple
#952E8F
ΔE00 6.80
Magenta (survey)
#C20078
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C1F72 #1F9C49
analogous
#881F9C #9C1F72 #9C1F34
triadic
#9C1F72 #729C1F #1F729C
tetradic
#9C1F72 #9C881F #1F9C49 #1F349C
square
#9C1F72 #9C881F #1F9C49 #1F349C
split-complementary
#9C1F72 #349C1F #1F9C88
monochromatic
#360B27 #69154D #9C1F72 #CF2997 #DE58B1
Accessibility & contrast
On white
7.36
#9C1F72 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#9C1F72 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9C1F72
7.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C1F72 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C1F72 | 1.00 | 7.36 | 2.85 | 7.36 |
| #FFFFFF | 7.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#314874
Deuteranopia (green-blind)
#575D6F
Tritanopia (blue-blind)
#A71C47
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #9c1f72; /* rgb */ color: rgb(156, 31, 114); /* oklch */ color: oklch(47.6% 0.178 345.5);
Tailwind
colors: {
custom: {
50: '#bd6a9a',
500: '#9c1f72',
950: '#000000',
},
}SCSS
$custom: #9c1f72; $custom-light: #bd6a9a; $custom-dark: #000000;
JSON
{
"hex": "#9c1f72",
"rgb": {
"r": 156,
"g": 31,
"b": 114
},
"hsl": {
"h": 320.16,
"s": 66.845,
"l": 36.667
},
"oklch": {
"l": 0.47616,
"c": 0.17815,
"h": 345.5
},
"luminance": 0.09263
}Semantic roles & 50–950 ramp
primary
#9C1F72
secondary
#55C17A
accent
#EA783E
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E