#98247E#98247E
#98247E is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.9% C 0.178 H 338.8°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).
Color values
| HEX | #98247E |
|---|---|
| RGB | rgb(152, 36, 126) |
| HSL | hsl(313, 62%, 37%) |
| HSV | hsv(313, 76%, 60%) |
| CMYK | cmyk(0%, 76.3%, 17.1%, 40.4%) |
| CIE-LAB | lab(36.83, 55.91, -23.81) |
| CIE-LCH | lch(36.83, 60.77, 336.93°) |
| OKLab | oklab(47.9% 0.166 -0.0645) |
| OKLCH | oklch(47.9% 0.178 338.8) |
| XYZ | xyz(17.3461, 9.4452, 20.6442) |
| Luminance | 0.0944 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.82
Barney Purple
#A00498
ΔE00 5.37
Red Violet
#9E0168
ΔE00 5.39
Darkmagenta
#8B008B
ΔE00 6.42
Light Eggplant
#894585
ΔE00 6.53
Bruise
#7E4071
ΔE00 7.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98247E #24983E
analogous
#782498 #98247E #982444
triadic
#98247E #7E9824 #247E98
tetradic
#98247E #987824 #24983E #244498
square
#98247E #987824 #24983E #244498
split-complementary
#98247E #449824 #249878
monochromatic
#350D2C #671855 #98247E #C930A7 #D95EBD
Accessibility & contrast
On white
7.27
#98247E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#98247E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #98247E
7.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98247E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##98247E | 1.00 | 7.27 | 2.89 | 7.27 |
| #FFFFFF | 7.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A4B80
Deuteranopia (green-blind)
#515D7B
Tritanopia (blue-blind)
#A1294E
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #98247e; /* rgb */ color: rgb(152, 36, 126); /* oklch */ color: oklch(47.9% 0.178 338.8);
Tailwind
colors: {
custom: {
50: '#ba6ba3',
500: '#98247e',
950: '#000000',
},
}SCSS
$custom: #98247e; $custom-light: #ba6ba3; $custom-dark: #000000;
JSON
{
"hex": "#98247e",
"rgb": {
"r": 152,
"g": 36,
"b": 126
},
"hsl": {
"h": 313.448,
"s": 61.702,
"l": 36.863
},
"oklch": {
"l": 0.47903,
"c": 0.17809,
"h": 338.8
},
"luminance": 0.09444
}Semantic roles & 50–950 ramp
primary
#98247E
secondary
#5ABE70
accent
#E56743
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F