#9D2179#9D2179
#9D2179 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.3% C 0.181 H 342.7°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).
Color values
| HEX | #9D2179 |
|---|---|
| RGB | rgb(157, 33, 121) |
| HSL | hsl(317, 65%, 37%) |
| HSV | hsv(317, 79%, 62%) |
| CMYK | cmyk(0%, 79%, 22.9%, 38.4%) |
| CIE-LAB | lab(37.19, 57.35, -20.07) |
| CIE-LCH | lch(37.19, 60.76, 340.71°) |
| OKLab | oklab(48.26% 0.1729 -0.0538) |
| OKLCH | oklch(48.26% 0.181 342.7) |
| XYZ | xyz(17.9003, 9.6382, 19.0031) |
| Luminance | 0.0964 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.96
Warm Purple
#952E8F
ΔE00 5.41
Barney Purple
#A00498
ΔE00 6.64
Deep Magenta
#A0025C
ΔE00 6.79
Dark Fuchsia
#9D0759
ΔE00 7.30
Magenta (survey)
#C20078
ΔE00 7.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D2179 #219D45
analogous
#83219D #9D2179 #9D213B
triadic
#9D2179 #799D21 #21799D
tetradic
#9D2179 #9D8321 #219D45 #213B9D
square
#9D2179 #9D8321 #219D45 #213B9D
split-complementary
#9D2179 #3B9D21 #219D83
monochromatic
#380C2B #6A1652 #9D2179 #D02CA0 #DD5CB7
Accessibility & contrast
On white
7.17
#9D2179 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#9D2179 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9D2179
7.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D2179 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D2179 | 1.00 | 7.17 | 2.93 | 7.17 |
| #FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F4B7B
Deuteranopia (green-blind)
#565F76
Tritanopia (blue-blind)
#A7224B
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #9d2179; /* rgb */ color: rgb(157, 33, 121); /* oklch */ color: oklch(48.3% 0.181 342.7);
Tailwind
colors: {
custom: {
50: '#be6ba0',
500: '#9d2179',
950: '#000000',
},
}SCSS
$custom: #9d2179; $custom-light: #be6ba0; $custom-dark: #000000;
JSON
{
"hex": "#9d2179",
"rgb": {
"r": 157,
"g": 33,
"b": 121
},
"hsl": {
"h": 317.419,
"s": 65.263,
"l": 37.255
},
"oklch": {
"l": 0.48255,
"c": 0.18105,
"h": 342.7
},
"luminance": 0.09636
}Semantic roles & 50–950 ramp
primary
#9D2179
secondary
#59C177
accent
#E87140
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E