#9C247E#9C247E
#9C247E is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.6% C 0.181 H 340.2°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).
Color values
| HEX | #9C247E |
|---|---|
| RGB | rgb(156, 36, 126) |
| HSL | hsl(315, 63%, 38%) |
| HSV | hsv(315, 77%, 61%) |
| CMYK | cmyk(0%, 76.9%, 19.2%, 38.8%) |
| CIE-LAB | lab(37.55, 56.88, -22.64) |
| CIE-LCH | lch(37.55, 61.22, 338.30°) |
| OKLab | oklab(48.56% 0.1699 -0.0611) |
| OKLCH | oklch(48.56% 0.181 340.2) |
| XYZ | xyz(18.1076, 9.8378, 20.6799) |
| Luminance | 0.0984 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.26
Red Violet
#9E0168
ΔE00 5.06
Barney Purple
#A00498
ΔE00 5.70
Light Eggplant
#894585
ΔE00 6.74
Darkmagenta
#8B008B
ΔE00 7.16
Bruise
#7E4071
ΔE00 7.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C247E #249C42
analogous
#7E249C #9C247E #9C2442
triadic
#9C247E #7E9C24 #247E9C
tetradic
#9C247E #9C7E24 #249C42 #24429C
square
#9C247E #9C7E24 #249C42 #24429C
split-complementary
#9C247E #429C24 #249C7E
monochromatic
#390D2E #6A1956 #9C247E #CE2FA6 #DA60BC
Accessibility & contrast
On white
7.08
#9C247E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#9C247E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9C247E
7.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C247E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C247E | 1.00 | 7.08 | 2.97 | 7.08 |
| #FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D4C80
Deuteranopia (green-blind)
#545F7B
Tritanopia (blue-blind)
#A5284E
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9c247e; /* rgb */ color: rgb(156, 36, 126); /* oklch */ color: oklch(48.6% 0.181 340.2);
Tailwind
colors: {
custom: {
50: '#bd6ca3',
500: '#9c247e',
950: '#000000',
},
}SCSS
$custom: #9c247e; $custom-light: #bd6ca3; $custom-dark: #000000;
JSON
{
"hex": "#9c247e",
"rgb": {
"r": 156,
"g": 36,
"b": 126
},
"hsl": {
"h": 315,
"s": 62.5,
"l": 37.647
},
"oklch": {
"l": 0.4856,
"c": 0.18055,
"h": 340.2
},
"luminance": 0.09836
}Semantic roles & 50–950 ramp
primary
#9C247E
secondary
#5CBF75
accent
#E66B42
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F