#9D1682#9D1682
#9D1682 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 48.0% C 0.196 H 338.5°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).
Color values
| HEX | #9D1682 |
|---|---|
| RGB | rgb(157, 22, 130) |
| HSL | hsl(312, 75%, 35%) |
| HSV | hsv(312, 86%, 62%) |
| CMYK | cmyk(0%, 86%, 17.2%, 38.4%) |
| CIE-LAB | lab(36.66, 61.32, -26.50) |
| CIE-LCH | lch(36.66, 66.80, 336.63°) |
| OKLab | oklab(48.02% 0.1824 -0.072) |
| OKLCH | oklch(48.02% 0.196 338.5) |
| XYZ | xyz(18.2213, 9.3555, 21.9609) |
| Luminance | 0.0935 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.89
Barney Purple
#A00498
ΔE00 4.24
Red Violet
#9E0168
ΔE00 5.62
Darkmagenta
#8B008B
ΔE00 5.68
Purple
#800080
ΔE00 7.00
Light Eggplant
#894585
ΔE00 7.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D1682 #169D31
analogous
#74169D #9D1682 #9D163E
triadic
#9D1682 #829D16 #16829D
tetradic
#9D1682 #9D7416 #169D31 #163E9D
square
#9D1682 #9D7416 #169D31 #163E9D
split-complementary
#9D1682 #3E9D16 #169D74
monochromatic
#320729 #670E56 #9D1682 #D31EAE #E548C6
Accessibility & contrast
On white
7.32
#9D1682 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#9D1682 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9D1682
7.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D1682 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D1682 | 1.00 | 7.32 | 2.87 | 7.32 |
| #FFFFFF | 7.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F4985
Deuteranopia (green-blind)
#505D7F
Tritanopia (blue-blind)
#A61F4D
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #9d1682; /* rgb */ color: rgb(157, 22, 130); /* oklch */ color: oklch(48.0% 0.196 338.5);
Tailwind
colors: {
custom: {
50: '#be68a6',
500: '#9d1682',
950: '#000000',
},
}SCSS
$custom: #9d1682; $custom-light: #be68a6; $custom-dark: #000000;
JSON
{
"hex": "#9d1682",
"rgb": {
"r": 157,
"g": 22,
"b": 130
},
"hsl": {
"h": 312,
"s": 75.419,
"l": 35.098
},
"oklch": {
"l": 0.48017,
"c": 0.19605,
"h": 338.5
},
"luminance": 0.09354
}Semantic roles & 50–950 ramp
primary
#9D1682
secondary
#48C762
accent
#F25B36
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F