#98247F#98247F
#98247F is a mid, vivid pink. Relative luminance 0.095; OKLCH L 48.0% C 0.179 H 338.3°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).
Color values
| HEX | #98247F |
|---|---|
| RGB | rgb(152, 36, 127) |
| HSL | hsl(313, 62%, 37%) |
| HSV | hsv(313, 76%, 60%) |
| CMYK | cmyk(0%, 76.3%, 16.4%, 40.4%) |
| CIE-LAB | lab(36.88, 56.05, -24.36) |
| CIE-LCH | lch(36.88, 61.12, 336.51°) |
| OKLab | oklab(47.95% 0.1661 -0.0661) |
| OKLCH | oklch(47.95% 0.179 338.3) |
| XYZ | xyz(17.4109, 9.4711, 20.9857) |
| Luminance | 0.0947 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.62
Barney Purple
#A00498
ΔE00 5.17
Red Violet
#9E0168
ΔE00 5.58
Darkmagenta
#8B008B
ΔE00 6.26
Light Eggplant
#894585
ΔE00 6.49
Purple
#800080
ΔE00 7.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98247F #24983D
analogous
#772498 #98247F #982445
triadic
#98247F #7F9824 #247F98
tetradic
#98247F #987724 #24983D #244598
square
#98247F #987724 #24983D #244598
split-complementary
#98247F #459824 #249877
monochromatic
#350D2C #671856 #98247F #C930A8 #D95EBE
Accessibility & contrast
On white
7.26
#98247F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#98247F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #98247F
7.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98247F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##98247F | 1.00 | 7.26 | 2.89 | 7.26 |
| #FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A4B81
Deuteranopia (green-blind)
#515D7C
Tritanopia (blue-blind)
#A12A4F
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #98247f; /* rgb */ color: rgb(152, 36, 127); /* oklch */ color: oklch(48.0% 0.179 338.3);
Tailwind
colors: {
custom: {
50: '#ba6ba4',
500: '#98247f',
950: '#000000',
},
}SCSS
$custom: #98247f; $custom-light: #ba6ba4; $custom-dark: #000000;
JSON
{
"hex": "#98247f",
"rgb": {
"r": 152,
"g": 36,
"b": 127
},
"hsl": {
"h": 312.931,
"s": 61.702,
"l": 36.863
},
"oklch": {
"l": 0.47953,
"c": 0.17878,
"h": 338.3
},
"luminance": 0.09469
}Semantic roles & 50–950 ramp
primary
#98247F
secondary
#5ABE70
accent
#E56643
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F