#9D2180#9D2180
#9D2180 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.6% C 0.186 H 339.6°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).
Color values
| HEX | #9D2180 |
|---|---|
| RGB | rgb(157, 33, 128) |
| HSL | hsl(314, 65%, 37%) |
| HSV | hsv(314, 79%, 62%) |
| CMYK | cmyk(0%, 79%, 18.5%, 38.4%) |
| CIE-LAB | lab(37.51, 58.31, -23.93) |
| CIE-LCH | lch(37.51, 63.03, 337.69°) |
| OKLab | oklab(48.6% 0.1739 -0.0647) |
| OKLCH | oklch(48.6% 0.186 339.6) |
| XYZ | xyz(18.3453, 9.8162, 21.3465) |
| Luminance | 0.0981 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.99
Barney Purple
#A00498
ΔE00 5.17
Red Violet
#9E0168
ΔE00 5.30
Darkmagenta
#8B008B
ΔE00 6.76
Light Eggplant
#894585
ΔE00 6.96
Ugly Purple
#A442A0
ΔE00 7.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D2180 #219D3E
analogous
#7C219D #9D2180 #9D2142
triadic
#9D2180 #809D21 #21809D
tetradic
#9D2180 #9D7C21 #219D3E #21429D
square
#9D2180 #9D7C21 #219D3E #21429D
split-complementary
#9D2180 #429D21 #219D7C
monochromatic
#380C2E #6A1657 #9D2180 #D02CA9 #DD5CBF
Accessibility & contrast
On white
7.09
#9D2180 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#9D2180 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9D2180
7.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D2180 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D2180 | 1.00 | 7.09 | 2.96 | 7.09 |
| #FFFFFF | 7.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A4C82
Deuteranopia (green-blind)
#545F7D
Tritanopia (blue-blind)
#A6264F
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9d2180; /* rgb */ color: rgb(157, 33, 128); /* oklch */ color: oklch(48.6% 0.186 339.6);
Tailwind
colors: {
custom: {
50: '#be6ba5',
500: '#9d2180',
950: '#000000',
},
}SCSS
$custom: #9d2180; $custom-light: #be6ba5; $custom-dark: #000000;
JSON
{
"hex": "#9d2180",
"rgb": {
"r": 157,
"g": 33,
"b": 128
},
"hsl": {
"h": 314.032,
"s": 65.263,
"l": 37.255
},
"oklch": {
"l": 0.48596,
"c": 0.18552,
"h": 339.6
},
"luminance": 0.09814
}Semantic roles & 50–950 ramp
primary
#9D2180
secondary
#59C171
accent
#E86740
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F