#9C277A#9C277A
#9C277A is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.6% C 0.175 H 342.2°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).
Color values
| HEX | #9C277A |
|---|---|
| RGB | rgb(156, 39, 122) |
| HSL | hsl(317, 60%, 38%) |
| HSV | hsv(317, 75%, 61%) |
| CMYK | cmyk(0%, 75%, 21.8%, 38.8%) |
| CIE-LAB | lab(37.71, 55.36, -19.90) |
| CIE-LCH | lch(37.71, 58.83, 340.23°) |
| OKLab | oklab(48.62% 0.1663 -0.0534) |
| OKLCH | oklch(48.62% 0.175 342.2) |
| XYZ | xyz(17.9493, 9.9259, 19.3792) |
| Luminance | 0.0992 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.47
Warm Purple
#952E8F
ΔE00 5.17
Barney Purple
#A00498
ΔE00 6.78
Light Eggplant
#894585
ΔE00 6.81
Deep Magenta
#A0025C
ΔE00 7.12
Bruise
#7E4071
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C277A #279C49
analogous
#83279C #9C277A #9C273F
triadic
#9C277A #7A9C27 #277A9C
tetradic
#9C277A #9C8327 #279C49 #273F9C
square
#9C277A #9C8327 #279C49 #273F9C
split-complementary
#9C277A #3F9C27 #279C83
monochromatic
#3A0F2D #6B1B54 #9C277A #CC34A0 #D865B7
Accessibility & contrast
On white
7.04
#9C277A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#9C277A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9C277A
7.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C277A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C277A | 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)
#324D7C
Deuteranopia (green-blind)
#576077
Tritanopia (blue-blind)
#A6284D
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #9c277a; /* rgb */ color: rgb(156, 39, 122); /* oklch */ color: oklch(48.6% 0.175 342.2);
Tailwind
colors: {
custom: {
50: '#bd6da0',
500: '#9c277a',
950: '#000000',
},
}SCSS
$custom: #9c277a; $custom-light: #bd6da0; $custom-dark: #000000;
JSON
{
"hex": "#9c277a",
"rgb": {
"r": 156,
"g": 39,
"b": 122
},
"hsl": {
"h": 317.436,
"s": 60,
"l": 38.235
},
"oklch": {
"l": 0.48615,
"c": 0.17467,
"h": 342.2
},
"luminance": 0.09924
}Semantic roles & 50–950 ramp
primary
#9C277A
secondary
#61BE7C
accent
#E37345
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080E
muted
#827A7E