#9C2F76#9C2F76
#9C2F76 is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.2% C 0.162 H 344.7°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).
Color values
| HEX | #9C2F76 |
|---|---|
| RGB | rgb(156, 47, 118) |
| HSL | hsl(321, 54%, 40%) |
| HSV | hsv(321, 70%, 61%) |
| CMYK | cmyk(0%, 69.9%, 24.4%, 38.8%) |
| CIE-LAB | lab(38.57, 51.90, -16.08) |
| CIE-LCH | lch(38.57, 54.34, 342.79°) |
| OKLab | oklab(49.19% 0.1566 -0.0428) |
| OKLCH | oklch(49.19% 0.162 344.7) |
| XYZ | xyz(17.9975, 10.4108, 18.1977) |
| Luminance | 0.1041 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.67
Warm Purple
#952E8F
ΔE00 6.51
Deep Magenta
#A0025C
ΔE00 6.57
Bruise
#7E4071
ΔE00 6.69
Light Eggplant
#894585
ΔE00 6.76
Magenta (survey)
#C20078
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C2F76 #2F9C55
analogous
#8B2F9C #9C2F76 #9C2F40
triadic
#9C2F76 #769C2F #2F769C
tetradic
#9C2F76 #9C8B2F #2F9C55 #2F409C
square
#9C2F76 #9C8B2F #2F9C55 #2F409C
split-complementary
#9C2F76 #409C2F #2F9C8B
monochromatic
#3E132F #6D2152 #9C2F76 #C64298 #D471B2
Accessibility & contrast
On white
6.81
#9C2F76 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#9C2F76 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C2F76
6.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C2F76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C2F76 | 1.00 | 6.81 | 3.08 | 6.81 |
| #FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B4F78
Deuteranopia (green-blind)
#5B6173
Tritanopia (blue-blind)
#A62E4E
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #9c2f76; /* rgb */ color: rgb(156, 47, 118); /* oklch */ color: oklch(49.2% 0.162 344.7);
Tailwind
colors: {
custom: {
50: '#bd709d',
500: '#9c2f76',
950: '#000000',
},
}SCSS
$custom: #9c2f76; $custom-light: #bd709d; $custom-dark: #000000;
JSON
{
"hex": "#9c2f76",
"rgb": {
"r": 156,
"g": 47,
"b": 118
},
"hsl": {
"h": 320.917,
"s": 53.695,
"l": 39.804
},
"oklch": {
"l": 0.49186,
"c": 0.16235,
"h": 344.7
},
"luminance": 0.10409
}Semantic roles & 50–950 ramp
primary
#9C2F76
secondary
#6BBC87
accent
#DD7E4B
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#12080E
muted
#817B7E