#98247C#98247C
#98247C is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.8% C 0.177 H 339.7°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).
Color values
| HEX | #98247C |
|---|---|
| RGB | rgb(152, 36, 124) |
| HSL | hsl(314, 62%, 37%) |
| HSV | hsv(314, 76%, 60%) |
| CMYK | cmyk(0%, 76.3%, 18.4%, 40.4%) |
| CIE-LAB | lab(36.73, 55.62, -22.72) |
| CIE-LCH | lch(36.73, 60.08, 337.78°) |
| OKLab | oklab(47.8% 0.1657 -0.0614) |
| OKLCH | oklch(47.8% 0.177 339.7) |
| XYZ | xyz(17.2183, 9.3941, 19.9713) |
| Luminance | 0.0939 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.24
Red Violet
#9E0168
ΔE00 5.00
Barney Purple
#A00498
ΔE00 5.78
Light Eggplant
#894585
ΔE00 6.65
Darkmagenta
#8B008B
ΔE00 6.74
Bruise
#7E4071
ΔE00 7.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98247C #249840
analogous
#7A2498 #98247C #982442
triadic
#98247C #7C9824 #247C98
tetradic
#98247C #987A24 #249840 #244298
square
#98247C #987A24 #249840 #244298
split-complementary
#98247C #429824 #24987A
monochromatic
#350D2B #671854 #98247C #C930A4 #D95EBB
Accessibility & contrast
On white
7.30
#98247C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#98247C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #98247C
7.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98247C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##98247C | 1.00 | 7.30 | 2.88 | 7.30 |
| #FFFFFF | 7.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C4B7E
Deuteranopia (green-blind)
#525D79
Tritanopia (blue-blind)
#A1284D
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #98247c; /* rgb */ color: rgb(152, 36, 124); /* oklch */ color: oklch(47.8% 0.177 339.7);
Tailwind
colors: {
custom: {
50: '#ba6ba2',
500: '#98247c',
950: '#000000',
},
}SCSS
$custom: #98247c; $custom-light: #ba6ba2; $custom-dark: #000000;
JSON
{
"hex": "#98247c",
"rgb": {
"r": 152,
"g": 36,
"b": 124
},
"hsl": {
"h": 314.483,
"s": 61.702,
"l": 36.863
},
"oklch": {
"l": 0.47803,
"c": 0.17674,
"h": 339.7
},
"luminance": 0.09392
}Semantic roles & 50–950 ramp
primary
#98247C
secondary
#5ABE72
accent
#E56A43
background
#FBF6FA
surface
#F7ECF3
border
#D0C7CD
text
#12070F
muted
#817A7F