#9A247D#9A247D
#9A247D is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.2% C 0.179 H 339.9°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).
Color values
| HEX | #9A247D |
|---|---|
| RGB | rgb(154, 36, 125) |
| HSL | hsl(315, 62%, 37%) |
| HSV | hsv(315, 77%, 60%) |
| CMYK | cmyk(0%, 76.6%, 18.8%, 39.6%) |
| CIE-LAB | lab(37.14, 56.25, -22.68) |
| CIE-LCH | lch(37.14, 60.65, 338.04°) |
| OKLab | oklab(48.18% 0.1678 -0.0613) |
| OKLCH | oklch(48.18% 0.179 339.9) |
| XYZ | xyz(17.6595, 9.6142, 20.3238) |
| Luminance | 0.0961 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.24
Red Violet
#9E0168
ΔE00 5.01
Barney Purple
#A00498
ΔE00 5.72
Light Eggplant
#894585
ΔE00 6.69
Darkmagenta
#8B008B
ΔE00 6.94
Bruise
#7E4071
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A247D #249A41
analogous
#7C249A #9A247D #9A2442
triadic
#9A247D #7D9A24 #247D9A
tetradic
#9A247D #9A7C24 #249A41 #24429A
square
#9A247D #9A7C24 #249A41 #24429A
split-complementary
#9A247D #429A24 #249A7C
monochromatic
#370D2C #681855 #9A247D #CC30A5 #DA5FBB
Accessibility & contrast
On white
7.19
#9A247D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#9A247D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9A247D
7.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A247D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A247D | 1.00 | 7.19 | 2.92 | 7.19 |
| #FFFFFF | 7.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D4B7F
Deuteranopia (green-blind)
#535E7A
Tritanopia (blue-blind)
#A3284E
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #9a247d; /* rgb */ color: rgb(154, 36, 125); /* oklch */ color: oklch(48.2% 0.179 339.9);
Tailwind
colors: {
custom: {
50: '#bc6ca3',
500: '#9a247d',
950: '#000000',
},
}SCSS
$custom: #9a247d; $custom-light: #bc6ca3; $custom-dark: #000000;
JSON
{
"hex": "#9a247d",
"rgb": {
"r": 154,
"g": 36,
"b": 125
},
"hsl": {
"h": 314.746,
"s": 62.105,
"l": 37.255
},
"oklch": {
"l": 0.48181,
"c": 0.17865,
"h": 339.9
},
"luminance": 0.09612
}Semantic roles & 50–950 ramp
primary
#9A247D
secondary
#5BBF74
accent
#E56B43
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#12080F
muted
#817B7F