#9C287E#9C287E
#9C287E is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.9% C 0.176 H 340.4°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).
Color values
| HEX | #9C287E |
|---|---|
| RGB | rgb(156, 40, 126) |
| HSL | hsl(316, 59%, 38%) |
| HSV | hsv(316, 74%, 61%) |
| CMYK | cmyk(0%, 74.4%, 19.2%, 38.8%) |
| CIE-LAB | lab(38.01, 55.58, -21.92) |
| CIE-LCH | lch(38.01, 59.74, 338.47°) |
| OKLab | oklab(48.89% 0.1659 -0.0591) |
| OKLCH | oklch(48.89% 0.176 340.4) |
| XYZ | xyz(18.2355, 10.0937, 20.7225) |
| Luminance | 0.1009 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.33
Red Violet
#9E0168
ΔE00 5.23
Barney Purple
#A00498
ΔE00 6.04
Light Eggplant
#894585
ΔE00 6.39
Bruise
#7E4071
ΔE00 7.27
Darkmagenta
#8B008B
ΔE00 7.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C287E #289C46
analogous
#80289C #9C287E #9C2844
triadic
#9C287E #7E9C28 #287E9C
tetradic
#9C287E #9C8028 #289C46 #28449C
square
#9C287E #9C8028 #289C46 #28449C
split-complementary
#9C287E #449C28 #289C80
monochromatic
#3B0F2F #6B1C57 #9C287E #CB36A5 #D867BB
Accessibility & contrast
On white
6.96
#9C287E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.02
#9C287E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C287E
6.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C287E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C287E | 1.00 | 6.96 | 3.02 | 6.96 |
| #FFFFFF | 6.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#314E80
Deuteranopia (green-blind)
#56607B
Tritanopia (blue-blind)
#A52B50
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #9c287e; /* rgb */ color: rgb(156, 40, 126); /* oklch */ color: oklch(48.9% 0.176 340.4);
Tailwind
colors: {
custom: {
50: '#bd6ea3',
500: '#9c287e',
950: '#000000',
},
}SCSS
$custom: #9c287e; $custom-light: #bd6ea3; $custom-dark: #000000;
JSON
{
"hex": "#9c287e",
"rgb": {
"r": 156,
"g": 40,
"b": 126
},
"hsl": {
"h": 315.517,
"s": 59.184,
"l": 38.431
},
"oklch": {
"l": 0.48893,
"c": 0.17614,
"h": 340.4
},
"luminance": 0.10092
}Semantic roles & 50–950 ramp
primary
#9C287E
secondary
#62BE7A
accent
#E26E45
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#12080F
muted
#817B7F