#9C2879#9C2879
#9C2879 is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.7% C 0.173 H 342.7°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).
Color values
| HEX | #9C2879 |
|---|---|
| RGB | rgb(156, 40, 121) |
| HSL | hsl(318, 59%, 38%) |
| HSV | hsv(318, 74%, 61%) |
| CMYK | cmyk(0%, 74.4%, 22.4%, 38.8%) |
| CIE-LAB | lab(37.78, 54.88, -19.16) |
| CIE-LCH | lch(37.78, 58.13, 340.76°) |
| OKLab | oklab(48.66% 0.1651 -0.0513) |
| OKLCH | oklch(48.66% 0.173 342.7) |
| XYZ | xyz(17.9209, 9.9678, 19.0656) |
| Luminance | 0.0997 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.38
Warm Purple
#952E8F
ΔE00 5.43
Light Eggplant
#894585
ΔE00 6.84
Deep Magenta
#A0025C
ΔE00 6.93
Barney Purple
#A00498
ΔE00 7.08
Bruise
#7E4071
ΔE00 7.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C2879 #289C4B
analogous
#85289C #9C2879 #9C283F
triadic
#9C2879 #799C28 #28799C
tetradic
#9C2879 #9C8528 #289C4B #283F9C
square
#9C2879 #9C8528 #289C4B #283F9C
split-complementary
#9C2879 #3F9C28 #289C85
monochromatic
#3B0F2D #6B1C53 #9C2879 #CB369E #D867B6
Accessibility & contrast
On white
7.02
#9C2879 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#9C2879 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9C2879
7.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C2879 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C2879 | 1.00 | 7.02 | 2.99 | 7.02 |
| #FFFFFF | 7.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#344D7B
Deuteranopia (green-blind)
#586076
Tritanopia (blue-blind)
#A6294D
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #9c2879; /* rgb */ color: rgb(156, 40, 121); /* oklch */ color: oklch(48.7% 0.173 342.7);
Tailwind
colors: {
custom: {
50: '#bd6da0',
500: '#9c2879',
950: '#000000',
},
}SCSS
$custom: #9c2879; $custom-light: #bd6da0; $custom-dark: #000000;
JSON
{
"hex": "#9c2879",
"rgb": {
"r": 156,
"g": 40,
"b": 121
},
"hsl": {
"h": 318.103,
"s": 59.184,
"l": 38.431
},
"oklch": {
"l": 0.48656,
"c": 0.17289,
"h": 342.7
},
"luminance": 0.09966
}Semantic roles & 50–950 ramp
primary
#9C2879
secondary
#62BE7E
accent
#E27545
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080E
muted
#827A7E