#9C247A#9C247A
#9C247A is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.4% C 0.178 H 342.0°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).
Color values
| HEX | #9C247A |
|---|---|
| RGB | rgb(156, 36, 122) |
| HSL | hsl(317, 63%, 38%) |
| HSV | hsv(317, 77%, 61%) |
| CMYK | cmyk(0%, 76.9%, 21.8%, 38.8%) |
| CIE-LAB | lab(37.37, 56.33, -20.43) |
| CIE-LCH | lch(37.37, 59.92, 340.07°) |
| OKLab | oklab(48.37% 0.1693 -0.0549) |
| OKLCH | oklch(48.37% 0.178 342) |
| XYZ | xyz(17.8546, 9.7367, 19.3476) |
| Luminance | 0.0974 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.32
Warm Purple
#952E8F
ΔE00 5.11
Barney Purple
#A00498
ΔE00 6.53
Light Eggplant
#894585
ΔE00 7.05
Deep Magenta
#A0025C
ΔE00 7.10
Bruise
#7E4071
ΔE00 7.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C247A #249C46
analogous
#82249C #9C247A #9C243E
triadic
#9C247A #7A9C24 #247A9C
tetradic
#9C247A #9C8224 #249C46 #243E9C
square
#9C247A #9C8224 #249C46 #243E9C
split-complementary
#9C247A #3E9C24 #249C82
monochromatic
#390D2C #6A1953 #9C247A #CE2FA1 #DA60B8
Accessibility & contrast
On white
7.13
#9C247A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#9C247A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9C247A
7.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C247A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C247A | 1.00 | 7.13 | 2.95 | 7.13 |
| #FFFFFF | 7.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#304B7C
Deuteranopia (green-blind)
#565F77
Tritanopia (blue-blind)
#A6264C
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9c247a; /* rgb */ color: rgb(156, 36, 122); /* oklch */ color: oklch(48.4% 0.178 342.0);
Tailwind
colors: {
custom: {
50: '#bd6ca0',
500: '#9c247a',
950: '#000000',
},
}SCSS
$custom: #9c247a; $custom-light: #bd6ca0; $custom-dark: #000000;
JSON
{
"hex": "#9c247a",
"rgb": {
"r": 156,
"g": 36,
"b": 122
},
"hsl": {
"h": 317,
"s": 62.5,
"l": 37.647
},
"oklch": {
"l": 0.48366,
"c": 0.17796,
"h": 342
},
"luminance": 0.09735
}Semantic roles & 50–950 ramp
primary
#9C247A
secondary
#5CBF78
accent
#E67142
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080E
muted
#827A7E