#9D1C79#9D1C79
#9D1C79 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.9% C 0.186 H 342.5°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).
Color values
| HEX | #9D1C79 |
|---|---|
| RGB | rgb(157, 28, 121) |
| HSL | hsl(317, 70%, 36%) |
| HSV | hsv(317, 82%, 62%) |
| CMYK | cmyk(0%, 82.2%, 22.9%, 38.4%) |
| CIE-LAB | lab(36.71, 58.72, -20.81) |
| CIE-LCH | lch(36.71, 62.30, 340.49°) |
| OKLab | oklab(47.91% 0.1771 -0.0559) |
| OKLCH | oklch(47.91% 0.186 342.5) |
| XYZ | xyz(17.7718, 9.3810, 18.9603) |
| Luminance | 0.0938 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.82
Warm Purple
#952E8F
ΔE00 5.41
Barney Purple
#A00498
ΔE00 6.36
Deep Magenta
#A0025C
ΔE00 6.81
Dark Fuchsia
#9D0759
ΔE00 7.34
Darkmagenta
#8B008B
ΔE00 7.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D1C79 #1C9D40
analogous
#811C9D #9D1C79 #9D1C39
triadic
#9D1C79 #799D1C #1C799D
tetradic
#9D1C79 #9D811C #1C9D40 #1C399D
square
#9D1C79 #9D811C #1C9D40 #1C399D
split-complementary
#9D1C79 #399D1C #1C9D81
monochromatic
#350929 #691351 #9D1C79 #D125A1 #E053B9
Accessibility & contrast
On white
7.30
#9D1C79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#9D1C79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9D1C79
7.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D1C79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D1C79 | 1.00 | 7.30 | 2.88 | 7.30 |
| #FFFFFF | 7.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B497B
Deuteranopia (green-blind)
#555E76
Tritanopia (blue-blind)
#A71D4A
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #9d1c79; /* rgb */ color: rgb(157, 28, 121); /* oklch */ color: oklch(47.9% 0.186 342.5);
Tailwind
colors: {
custom: {
50: '#be69a0',
500: '#9d1c79',
950: '#000000',
},
}SCSS
$custom: #9d1c79; $custom-light: #be69a0; $custom-dark: #000000;
JSON
{
"hex": "#9d1c79",
"rgb": {
"r": 157,
"g": 28,
"b": 121
},
"hsl": {
"h": 316.744,
"s": 69.73,
"l": 36.275
},
"oklch": {
"l": 0.47911,
"c": 0.18568,
"h": 342.5
},
"luminance": 0.09379
}Semantic roles & 50–950 ramp
primary
#9D1C79
secondary
#51C371
accent
#ED6D3B
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E