#9C247F#9C247F
#9C247F is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.6% C 0.181 H 339.8°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).
Color values
| HEX | #9C247F |
|---|---|
| RGB | rgb(156, 36, 127) |
| HSL | hsl(315, 63%, 38%) |
| HSV | hsv(315, 77%, 61%) |
| CMYK | cmyk(0%, 76.9%, 18.6%, 38.8%) |
| CIE-LAB | lab(37.60, 57.02, -23.18) |
| CIE-LCH | lch(37.60, 61.56, 337.88°) |
| OKLab | oklab(48.61% 0.17 -0.0627) |
| OKLCH | oklch(48.61% 0.181 339.8) |
| XYZ | xyz(18.1724, 9.8638, 21.0214) |
| Luminance | 0.0986 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.06
Red Violet
#9E0168
ΔE00 5.25
Barney Purple
#A00498
ΔE00 5.49
Light Eggplant
#894585
ΔE00 6.69
Darkmagenta
#8B008B
ΔE00 7.01
Bruise
#7E4071
ΔE00 7.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C247F #249C41
analogous
#7D249C #9C247F #9C2443
triadic
#9C247F #7F9C24 #247F9C
tetradic
#9C247F #9C7D24 #249C41 #24439C
square
#9C247F #9C7D24 #249C41 #24439C
split-complementary
#9C247F #439C24 #249C7D
monochromatic
#390D2E #6A1957 #9C247F #CE2FA7 #DA60BD
Accessibility & contrast
On white
7.06
#9C247F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#9C247F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9C247F
7.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C247F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C247F | 1.00 | 7.06 | 2.97 | 7.06 |
| #FFFFFF | 7.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D4C81
Deuteranopia (green-blind)
#545F7C
Tritanopia (blue-blind)
#A5284F
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9c247f; /* rgb */ color: rgb(156, 36, 127); /* oklch */ color: oklch(48.6% 0.181 339.8);
Tailwind
colors: {
custom: {
50: '#bd6ca4',
500: '#9c247f',
950: '#000000',
},
}SCSS
$custom: #9c247f; $custom-light: #bd6ca4; $custom-dark: #000000;
JSON
{
"hex": "#9c247f",
"rgb": {
"r": 156,
"g": 36,
"b": 127
},
"hsl": {
"h": 314.5,
"s": 62.5,
"l": 37.647
},
"oklch": {
"l": 0.48609,
"c": 0.18121,
"h": 339.8
},
"luminance": 0.09862
}Semantic roles & 50–950 ramp
primary
#9C247F
secondary
#5CBF74
accent
#E66A42
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F