#9D3172#9D3172
#9D3172 is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.4% C 0.158 H 347.4°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #9D3172 |
|---|---|
| RGB | rgb(157, 49, 114) |
| HSL | hsl(324, 52%, 40%) |
| HSV | hsv(324, 69%, 62%) |
| CMYK | cmyk(0%, 68.8%, 27.4%, 38.4%) |
| CIE-LAB | lab(38.87, 50.86, -13.12) |
| CIE-LCH | lch(38.87, 52.52, 345.54°) |
| OKLab | oklab(49.38% 0.1542 -0.0346) |
| OKLCH | oklch(49.38% 0.158 347.4) |
| XYZ | xyz(18.0410, 10.5815, 17.0087) |
| Luminance | 0.1058 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.73
Deep Magenta
#A0025C
ΔE00 5.95
Dark Fuchsia
#9D0759
ΔE00 6.33
Magenta (survey)
#C20078
ΔE00 6.58
Bruise
#7E4071
ΔE00 6.97
Dark Magenta
#960056
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D3172 #319D5C
analogous
#92319D #9D3172 #9D313C
triadic
#9D3172 #729D31 #31729D
tetradic
#9D3172 #9D9231 #319D5C #313C9D
square
#9D3172 #9D9231 #319D5C #313C9D
split-complementary
#9D3172 #3C9D31 #319D92
monochromatic
#40142E #6E2250 #9D3172 #C54693 #D475AE
Accessibility & contrast
On white
6.74
#9D3172 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#9D3172 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D3172
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D3172 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D3172 | 1.00 | 6.74 | 3.12 | 6.74 |
| #FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F5074
Deuteranopia (green-blind)
#5E626F
Tritanopia (blue-blind)
#A82E4D
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #9d3172; /* rgb */ color: rgb(157, 49, 114); /* oklch */ color: oklch(49.4% 0.158 347.4);
Tailwind
colors: {
custom: {
50: '#be719a',
500: '#9d3172',
950: '#000000',
},
}SCSS
$custom: #9d3172; $custom-light: #be719a; $custom-dark: #000000;
JSON
{
"hex": "#9d3172",
"rgb": {
"r": 157,
"g": 49,
"b": 114
},
"hsl": {
"h": 323.889,
"s": 52.427,
"l": 40.392
},
"oklch": {
"l": 0.49383,
"c": 0.15806,
"h": 347.4
},
"luminance": 0.1058
}Semantic roles & 50–950 ramp
primary
#9D3172
secondary
#6EBC8D
accent
#DC854C
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E