#9D197C#9D197C
#9D197C is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.9% C 0.190 H 341.1°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).
Color values
| HEX | #9D197C |
|---|---|
| RGB | rgb(157, 25, 124) |
| HSL | hsl(315, 73%, 36%) |
| HSV | hsv(315, 84%, 62%) |
| CMYK | cmyk(0%, 84.1%, 21%, 38.4%) |
| CIE-LAB | lab(36.59, 59.85, -22.86) |
| CIE-LCH | lch(36.59, 64.07, 339.10°) |
| OKLab | oklab(47.87% 0.1797 -0.0617) |
| OKLCH | oklch(47.87% 0.19 341.1) |
| XYZ | xyz(17.8910, 9.3205, 19.9217) |
| Luminance | 0.0932 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.40
Warm Purple
#952E8F
ΔE00 4.85
Barney Purple
#A00498
ΔE00 5.59
Darkmagenta
#8B008B
ΔE00 6.77
Deep Magenta
#A0025C
ΔE00 7.48
Light Eggplant
#894585
ΔE00 7.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D197C #199D3A
analogous
#7C199D #9D197C #9D193A
triadic
#9D197C #7C9D19 #197C9D
tetradic
#9D197C #9D7C19 #199D3A #193A9D
square
#9D197C #9D7C19 #199D3A #193A9D
split-complementary
#9D197C #3A9D19 #199D7C
monochromatic
#330829 #681152 #9D197C #D221A6 #E34EBD
Accessibility & contrast
On white
7.33
#9D197C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#9D197C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9D197C
7.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D197C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D197C | 1.00 | 7.33 | 2.86 | 7.33 |
| #FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#27497E
Deuteranopia (green-blind)
#535D79
Tritanopia (blue-blind)
#A71D4B
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #9d197c; /* rgb */ color: rgb(157, 25, 124); /* oklch */ color: oklch(47.9% 0.190 341.1);
Tailwind
colors: {
custom: {
50: '#be68a2',
500: '#9d197c',
950: '#000000',
},
}SCSS
$custom: #9d197c; $custom-light: #be68a2; $custom-dark: #000000;
JSON
{
"hex": "#9d197c",
"rgb": {
"r": 157,
"g": 25,
"b": 124
},
"hsl": {
"h": 315,
"s": 72.527,
"l": 35.686
},
"oklch": {
"l": 0.47874,
"c": 0.19002,
"h": 341.1
},
"luminance": 0.09319
}Semantic roles & 50–950 ramp
primary
#9D197C
secondary
#4DC56B
accent
#EF6639
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#13070F
muted
#827A7F