#9C277E#9C277E
#9C277E is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.8% C 0.177 H 340.3°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).
Color values
| HEX | #9C277E |
|---|---|
| RGB | rgb(156, 39, 126) |
| HSL | hsl(315, 60%, 38%) |
| HSV | hsv(315, 75%, 61%) |
| CMYK | cmyk(0%, 75%, 19.2%, 38.8%) |
| CIE-LAB | lab(37.89, 55.91, -22.11) |
| CIE-LCH | lch(37.89, 60.13, 338.43°) |
| OKLab | oklab(48.81% 0.1669 -0.0596) |
| OKLCH | oklch(48.81% 0.177 340.3) |
| XYZ | xyz(18.2022, 10.0271, 20.7114) |
| Luminance | 0.1003 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.31
Red Violet
#9E0168
ΔE00 5.18
Barney Purple
#A00498
ΔE00 5.94
Light Eggplant
#894585
ΔE00 6.48
Bruise
#7E4071
ΔE00 7.34
Darkmagenta
#8B008B
ΔE00 7.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C277E #279C45
analogous
#7F279C #9C277E #9C2743
triadic
#9C277E #7E9C27 #277E9C
tetradic
#9C277E #9C7F27 #279C45 #27439C
square
#9C277E #9C7F27 #279C45 #27439C
split-complementary
#9C277E #439C27 #279C7F
monochromatic
#3A0F2F #6B1B56 #9C277E #CC34A5 #D865BB
Accessibility & contrast
On white
6.99
#9C277E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.01
#9C277E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C277E
6.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C277E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C277E | 1.00 | 6.99 | 3.01 | 6.99 |
| #FFFFFF | 6.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#304D80
Deuteranopia (green-blind)
#56607B
Tritanopia (blue-blind)
#A52A4F
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #9c277e; /* rgb */ color: rgb(156, 39, 126); /* oklch */ color: oklch(48.8% 0.177 340.3);
Tailwind
colors: {
custom: {
50: '#bd6da3',
500: '#9c277e',
950: '#000000',
},
}SCSS
$custom: #9c277e; $custom-light: #bd6da3; $custom-dark: #000000;
JSON
{
"hex": "#9c277e",
"rgb": {
"r": 156,
"g": 39,
"b": 126
},
"hsl": {
"h": 315.385,
"s": 60,
"l": 38.235
},
"oklch": {
"l": 0.48806,
"c": 0.17728,
"h": 340.3
},
"luminance": 0.10025
}Semantic roles & 50–950 ramp
primary
#9C277E
secondary
#61BE79
accent
#E36D45
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F