#9C2F71#9C2F71
#9C2F71 is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.0% C 0.159 H 347.3°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).
Color values
| HEX | #9C2F71 |
|---|---|
| RGB | rgb(156, 47, 113) |
| HSL | hsl(324, 54%, 40%) |
| HSV | hsv(324, 70%, 61%) |
| CMYK | cmyk(0%, 69.9%, 27.6%, 38.8%) |
| CIE-LAB | lab(38.37, 51.23, -13.27) |
| CIE-LCH | lch(38.37, 52.92, 345.48°) |
| OKLab | oklab(48.97% 0.1555 -0.035) |
| OKLCH | oklch(48.97% 0.159 347.3) |
| XYZ | xyz(17.7082, 10.2951, 16.6742) |
| Luminance | 0.1029 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.34
Deep Magenta
#A0025C
ΔE00 5.68
Dark Fuchsia
#9D0759
ΔE00 6.05
Dark Magenta
#960056
ΔE00 6.70
Magenta (survey)
#C20078
ΔE00 6.72
Bruise
#7E4071
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C2F71 #2F9C5A
analogous
#912F9C #9C2F71 #9C2F3A
triadic
#9C2F71 #719C2F #2F719C
tetradic
#9C2F71 #9C912F #2F9C5A #2F3A9C
square
#9C2F71 #9C912F #2F9C5A #2F3A9C
split-complementary
#9C2F71 #3A9C2F #2F9C91
monochromatic
#3E132D #6D214F #9C2F71 #C64292 #D471AD
Accessibility & contrast
On white
6.87
#9C2F71 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#9C2F71 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C2F71
6.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C2F71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C2F71 | 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)
#3D4E73
Deuteranopia (green-blind)
#5D616E
Tritanopia (blue-blind)
#A72C4C
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #9c2f71; /* rgb */ color: rgb(156, 47, 113); /* oklch */ color: oklch(49.0% 0.159 347.3);
Tailwind
colors: {
custom: {
50: '#bd7099',
500: '#9c2f71',
950: '#000000',
},
}SCSS
$custom: #9c2f71; $custom-light: #bd7099; $custom-dark: #000000;
JSON
{
"hex": "#9c2f71",
"rgb": {
"r": 156,
"g": 47,
"b": 113
},
"hsl": {
"h": 323.67,
"s": 53.695,
"l": 39.804
},
"oklch": {
"l": 0.48971,
"c": 0.15934,
"h": 347.3
},
"luminance": 0.10293
}Semantic roles & 50–950 ramp
primary
#9C2F71
secondary
#6BBC8B
accent
#DD844B
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#12080E
muted
#817B7E