#9C2B7F#9C2B7F
#9C2B7F is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.2% C 0.173 H 340.1°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).
Color values
| HEX | #9C2B7F |
|---|---|
| RGB | rgb(156, 43, 127) |
| HSL | hsl(315, 57%, 39%) |
| HSV | hsv(315, 72%, 61%) |
| CMYK | cmyk(0%, 72.4%, 18.6%, 38.8%) |
| CIE-LAB | lab(38.43, 54.67, -21.89) |
| CIE-LCH | lch(38.43, 58.89, 338.17°) |
| OKLab | oklab(49.21% 0.1629 -0.0591) |
| OKLCH | oklch(49.21% 0.173 340.1) |
| XYZ | xyz(18.4054, 10.3298, 21.0991) |
| Luminance | 0.1033 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.22
Red Violet
#9E0168
ΔE00 5.57
Light Eggplant
#894585
ΔE00 6.04
Barney Purple
#A00498
ΔE00 6.14
Bruise
#7E4071
ΔE00 7.09
Ugly Purple
#A442A0
ΔE00 7.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C2B7F #2B9C48
analogous
#812B9C #9C2B7F #9C2B47
triadic
#9C2B7F #7F9C2B #2B7F9C
tetradic
#9C2B7F #9C812B #2B9C48 #2B479C
square
#9C2B7F #9C812B #2B9C48 #2B479C
split-complementary
#9C2B7F #479C2B #2B9C81
monochromatic
#3C1131 #6C1E58 #9C2B7F #C93BA5 #D66BBB
Accessibility & contrast
On white
6.85
#9C2B7F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.07
#9C2B7F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C2B7F
6.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C2B7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C2B7F | 1.00 | 6.85 | 3.07 | 6.85 |
| #FFFFFF | 6.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#334F81
Deuteranopia (green-blind)
#57617C
Tritanopia (blue-blind)
#A52E51
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #9c2b7f; /* rgb */ color: rgb(156, 43, 127); /* oklch */ color: oklch(49.2% 0.173 340.1);
Tailwind
colors: {
custom: {
50: '#bd6fa4',
500: '#9c2b7f',
950: '#000000',
},
}SCSS
$custom: #9c2b7f; $custom-light: #bd6fa4; $custom-dark: #000000;
JSON
{
"hex": "#9c2b7f",
"rgb": {
"r": 156,
"g": 43,
"b": 127
},
"hsl": {
"h": 315.398,
"s": 56.784,
"l": 39.02
},
"oklch": {
"l": 0.49211,
"c": 0.17327,
"h": 340.1
},
"luminance": 0.10328
}Semantic roles & 50–950 ramp
primary
#9C2B7F
secondary
#66BD7C
accent
#E06F48
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#12080F
muted
#817B7F