#9D2C76#9D2C76
#9D2C76 is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.1% C 0.167 H 344.8°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).
Color values
| HEX | #9D2C76 |
|---|---|
| RGB | rgb(157, 44, 118) |
| HSL | hsl(321, 56%, 39%) |
| HSV | hsv(321, 72%, 62%) |
| CMYK | cmyk(0%, 72%, 24.8%, 38.4%) |
| CIE-LAB | lab(38.34, 53.31, -16.42) |
| CIE-LCH | lch(38.34, 55.79, 342.88°) |
| OKLab | oklab(49.05% 0.1611 -0.0437) |
| OKLCH | oklch(49.05% 0.167 344.8) |
| XYZ | xyz(18.0760, 10.2794, 18.1682) |
| Luminance | 0.1028 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.32
Deep Magenta
#A0025C
ΔE00 6.36
Warm Purple
#952E8F
ΔE00 6.44
Magenta (survey)
#C20078
ΔE00 6.80
Dark Fuchsia
#9D0759
ΔE00 6.82
Bruise
#7E4071
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D2C76 #2C9D53
analogous
#8C2C9D #9D2C76 #9D2C3E
triadic
#9D2C76 #769D2C #2C769D
tetradic
#9D2C76 #9D8C2C #2C9D53 #2C3E9D
square
#9D2C76 #9D8C2C #2C9D53 #2C3E9D
split-complementary
#9D2C76 #3E9D2C #2C9D8C
monochromatic
#3D112E #6D1F52 #9D2C76 #C93D99 #D66DB2
Accessibility & contrast
On white
6.87
#9D2C76 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#9D2C76 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D2C76
6.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D2C76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D2C76 | 1.00 | 6.87 | 3.06 | 6.87 |
| #FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#394E78
Deuteranopia (green-blind)
#5B6173
Tritanopia (blue-blind)
#A82B4D
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #9d2c76; /* rgb */ color: rgb(157, 44, 118); /* oklch */ color: oklch(49.1% 0.167 344.8);
Tailwind
colors: {
custom: {
50: '#be6f9d',
500: '#9d2c76',
950: '#000000',
},
}SCSS
$custom: #9d2c76; $custom-light: #be6f9d; $custom-dark: #000000;
JSON
{
"hex": "#9d2c76",
"rgb": {
"r": 157,
"g": 44,
"b": 118
},
"hsl": {
"h": 320.708,
"s": 56.219,
"l": 39.412
},
"oklch": {
"l": 0.49051,
"c": 0.16692,
"h": 344.8
},
"luminance": 0.10277
}Semantic roles & 50–950 ramp
primary
#9D2C76
secondary
#68BD85
accent
#E07C48
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E