#9C277F#9C277F
#9C277F is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.9% C 0.178 H 339.9°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).
Color values
| HEX | #9C277F |
|---|---|
| RGB | rgb(156, 39, 127) |
| HSL | hsl(315, 60%, 38%) |
| HSV | hsv(315, 75%, 61%) |
| CMYK | cmyk(0%, 75%, 18.6%, 38.8%) |
| CIE-LAB | lab(37.94, 56.06, -22.65) |
| CIE-LCH | lch(37.94, 60.46, 337.99°) |
| OKLab | oklab(48.86% 0.1671 -0.0612) |
| OKLCH | oklch(48.86% 0.178 339.9) |
| XYZ | xyz(18.2671, 10.0531, 21.0530) |
| Luminance | 0.1005 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.09
Red Violet
#9E0168
ΔE00 5.36
Barney Purple
#A00498
ΔE00 5.74
Light Eggplant
#894585
ΔE00 6.41
Darkmagenta
#8B008B
ΔE00 7.33
Bruise
#7E4071
ΔE00 7.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C277F #279C44
analogous
#7E279C #9C277F #9C2744
triadic
#9C277F #7F9C27 #277F9C
tetradic
#9C277F #9C7E27 #279C44 #27449C
square
#9C277F #9C7E27 #279C44 #27449C
split-complementary
#9C277F #449C27 #279C7E
monochromatic
#3A0F2F #6B1B57 #9C277F #CC34A6 #D865BC
Accessibility & contrast
On white
6.98
#9C277F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.01
#9C277F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C277F
6.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C277F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C277F | 1.00 | 6.98 | 3.01 | 6.98 |
| #FFFFFF | 6.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F4D81
Deuteranopia (green-blind)
#55607C
Tritanopia (blue-blind)
#A52B50
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #9c277f; /* rgb */ color: rgb(156, 39, 127); /* oklch */ color: oklch(48.9% 0.178 339.9);
Tailwind
colors: {
custom: {
50: '#bd6da4',
500: '#9c277f',
950: '#000000',
},
}SCSS
$custom: #9c277f; $custom-light: #bd6da4; $custom-dark: #000000;
JSON
{
"hex": "#9c277f",
"rgb": {
"r": 156,
"g": 39,
"b": 127
},
"hsl": {
"h": 314.872,
"s": 60,
"l": 38.235
},
"oklch": {
"l": 0.48855,
"c": 0.17794,
"h": 339.9
},
"luminance": 0.10051
}Semantic roles & 50–950 ramp
primary
#9C277F
secondary
#61BE78
accent
#E36C45
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#12080F
muted
#817B7F