#9C2A79#9C2A79
#9C2A79 is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.8% C 0.171 H 342.9°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).
Color values
| HEX | #9C2A79 |
|---|---|
| RGB | rgb(156, 42, 121) |
| HSL | hsl(318, 58%, 39%) |
| HSV | hsv(318, 73%, 61%) |
| CMYK | cmyk(0%, 73.1%, 22.4%, 38.8%) |
| CIE-LAB | lab(38.03, 54.18, -18.78) |
| CIE-LCH | lch(38.03, 57.34, 340.89°) |
| OKLab | oklab(48.84% 0.163 -0.0503) |
| OKLCH | oklch(48.84% 0.171 342.9) |
| XYZ | xyz(17.9901, 10.1062, 19.0887) |
| Luminance | 0.1010 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.53
Warm Purple
#952E8F
ΔE00 5.51
Light Eggplant
#894585
ΔE00 6.69
Deep Magenta
#A0025C
ΔE00 6.97
Bruise
#7E4071
ΔE00 6.98
Barney Purple
#A00498
ΔE00 7.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C2A79 #2A9C4D
analogous
#862A9C #9C2A79 #9C2A40
triadic
#9C2A79 #799C2A #2A799C
tetradic
#9C2A79 #9C862A #2A9C4D #2A409C
square
#9C2A79 #9C862A #2A9C4D #2A409C
split-complementary
#9C2A79 #409C2A #2A9C86
monochromatic
#3C102E #6C1D54 #9C2A79 #CA399D #D76AB5
Accessibility & contrast
On white
6.95
#9C2A79 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.02
#9C2A79 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C2A79
6.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C2A79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C2A79 | 1.00 | 6.95 | 3.02 | 6.95 |
| #FFFFFF | 6.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#354E7B
Deuteranopia (green-blind)
#586076
Tritanopia (blue-blind)
#A62B4E
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #9c2a79; /* rgb */ color: rgb(156, 42, 121); /* oklch */ color: oklch(48.8% 0.171 342.9);
Tailwind
colors: {
custom: {
50: '#bd6ea0',
500: '#9c2a79',
950: '#000000',
},
}SCSS
$custom: #9c2a79; $custom-light: #bd6ea0; $custom-dark: #000000;
JSON
{
"hex": "#9c2a79",
"rgb": {
"r": 156,
"g": 42,
"b": 121
},
"hsl": {
"h": 318.421,
"s": 57.576,
"l": 38.824
},
"oklch": {
"l": 0.48836,
"c": 0.17053,
"h": 342.9
},
"luminance": 0.10104
}Semantic roles & 50–950 ramp
primary
#9C2A79
secondary
#65BD80
accent
#E17647
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#12080E
muted
#817B7E