#9C2877#9C2877
#9C2877 is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.6% C 0.172 H 343.7°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).
Color values
| HEX | #9C2877 |
|---|---|
| RGB | rgb(156, 40, 119) |
| HSL | hsl(319, 59%, 38%) |
| HSV | hsv(319, 74%, 61%) |
| CMYK | cmyk(0%, 74.4%, 23.7%, 38.8%) |
| CIE-LAB | lab(37.70, 54.61, -18.04) |
| CIE-LCH | lch(37.70, 57.51, 341.71°) |
| OKLab | oklab(48.56% 0.1647 -0.0482) |
| OKLCH | oklch(48.56% 0.172 343.7) |
| XYZ | xyz(17.7995, 9.9193, 18.4264) |
| Luminance | 0.0992 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.07
Warm Purple
#952E8F
ΔE00 5.88
Deep Magenta
#A0025C
ΔE00 6.52
Dark Fuchsia
#9D0759
ΔE00 6.99
Light Eggplant
#894585
ΔE00 7.06
Bruise
#7E4071
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C2877 #289C4D
analogous
#87289C #9C2877 #9C283D
triadic
#9C2877 #779C28 #28779C
tetradic
#9C2877 #9C8728 #289C4D #283D9C
square
#9C2877 #9C8728 #289C4D #283D9C
split-complementary
#9C2877 #3D9C28 #289C87
monochromatic
#3B0F2D #6B1C52 #9C2877 #CB369C #D867B4
Accessibility & contrast
On white
7.04
#9C2877 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#9C2877 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9C2877
7.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C2877 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C2877 | 1.00 | 7.04 | 2.98 | 7.04 |
| #FFFFFF | 7.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#354C79
Deuteranopia (green-blind)
#586074
Tritanopia (blue-blind)
#A6284C
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #9c2877; /* rgb */ color: rgb(156, 40, 119); /* oklch */ color: oklch(48.6% 0.172 343.7);
Tailwind
colors: {
custom: {
50: '#bd6d9e',
500: '#9c2877',
950: '#000000',
},
}SCSS
$custom: #9c2877; $custom-light: #bd6d9e; $custom-dark: #000000;
JSON
{
"hex": "#9c2877",
"rgb": {
"r": 156,
"g": 40,
"b": 119
},
"hsl": {
"h": 319.138,
"s": 59.184,
"l": 38.431
},
"oklch": {
"l": 0.48563,
"c": 0.17163,
"h": 343.7
},
"luminance": 0.09917
}Semantic roles & 50–950 ramp
primary
#9C2877
secondary
#62BE7F
accent
#E27745
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080E
muted
#827A7E