#9C247B#9C247B
#9C247B is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.4% C 0.179 H 341.6°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).
Color values
| HEX | #9C247B |
|---|---|
| RGB | rgb(156, 36, 123) |
| HSL | hsl(317, 63%, 38%) |
| HSV | hsv(317, 77%, 61%) |
| CMYK | cmyk(0%, 76.9%, 21.2%, 38.8%) |
| CIE-LAB | lab(37.41, 56.47, -20.98) |
| CIE-LCH | lch(37.41, 60.24, 339.62°) |
| OKLab | oklab(48.41% 0.1695 -0.0564) |
| OKLCH | oklch(48.41% 0.179 341.6) |
| XYZ | xyz(17.9169, 9.7616, 19.6756) |
| Luminance | 0.0976 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.50
Warm Purple
#952E8F
ΔE00 4.90
Barney Purple
#A00498
ΔE00 6.32
Light Eggplant
#894585
ΔE00 6.96
Deep Magenta
#A0025C
ΔE00 7.31
Bruise
#7E4071
ΔE00 7.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C247B #249C45
analogous
#81249C #9C247B #9C243F
triadic
#9C247B #7B9C24 #247B9C
tetradic
#9C247B #9C8124 #249C45 #243F9C
square
#9C247B #9C8124 #249C45 #243F9C
split-complementary
#9C247B #3F9C24 #249C81
monochromatic
#390D2D #6A1954 #9C247B #CE2FA2 #DA60B9
Accessibility & contrast
On white
7.11
#9C247B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#9C247B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9C247B
7.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C247B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C247B | 1.00 | 7.11 | 2.95 | 7.11 |
| #FFFFFF | 7.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F4C7D
Deuteranopia (green-blind)
#565F78
Tritanopia (blue-blind)
#A6264D
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9c247b; /* rgb */ color: rgb(156, 36, 123); /* oklch */ color: oklch(48.4% 0.179 341.6);
Tailwind
colors: {
custom: {
50: '#bd6ca1',
500: '#9c247b',
950: '#000000',
},
}SCSS
$custom: #9c247b; $custom-light: #bd6ca1; $custom-dark: #000000;
JSON
{
"hex": "#9c247b",
"rgb": {
"r": 156,
"g": 36,
"b": 123
},
"hsl": {
"h": 316.5,
"s": 62.5,
"l": 37.647
},
"oklch": {
"l": 0.48414,
"c": 0.1786,
"h": 341.6
},
"luminance": 0.0976
}Semantic roles & 50–950 ramp
primary
#9C247B
secondary
#5CBF78
accent
#E66F42
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080F
muted
#827A7E