#98307E#98307E
#98307E is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.0% C 0.163 H 339.3°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).
Color values
| HEX | #98307E |
|---|---|
| RGB | rgb(152, 48, 126) |
| HSL | hsl(315, 52%, 39%) |
| HSV | hsv(315, 68%, 60%) |
| CMYK | cmyk(0%, 68.4%, 17.1%, 40.4%) |
| CIE-LAB | lab(38.37, 51.56, -21.42) |
| CIE-LCH | lch(38.37, 55.83, 337.44°) |
| OKLab | oklab(49.02% 0.1529 -0.0578) |
| OKLCH | oklch(49.02% 0.163 339.3) |
| XYZ | xyz(17.7721, 10.2973, 20.7862) |
| Luminance | 0.1030 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.17
Light Eggplant
#894585
ΔE00 5.24
Red Violet
#9E0168
ΔE00 5.98
Bruise
#7E4071
ΔE00 6.22
Barney Purple
#A00498
ΔE00 6.58
Ugly Purple
#A442A0
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98307E #30984A
analogous
#7E3098 #98307E #98304A
triadic
#98307E #7E9830 #307E98
tetradic
#98307E #987E30 #30984A #304A98
square
#98307E #987E30 #30984A #304A98
split-complementary
#98307E #4A9830 #30987E
monochromatic
#3B1331 #692157 #98307E #C342A3 #D270BA
Accessibility & contrast
On white
6.86
#98307E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#98307E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #98307E
6.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98307E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##98307E | 1.00 | 6.86 | 3.06 | 6.86 |
| #FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#355080
Deuteranopia (green-blind)
#56607B
Tritanopia (blue-blind)
#A13352
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #98307e; /* rgb */ color: rgb(152, 48, 126); /* oklch */ color: oklch(49.0% 0.163 339.3);
Tailwind
colors: {
custom: {
50: '#ba71a3',
500: '#98307e',
950: '#000000',
},
}SCSS
$custom: #98307e; $custom-light: #ba71a3; $custom-dark: #000000;
JSON
{
"hex": "#98307e",
"rgb": {
"r": 152,
"g": 48,
"b": 126
},
"hsl": {
"h": 315,
"s": 52,
"l": 39.216
},
"oklch": {
"l": 0.49022,
"c": 0.16347,
"h": 339.3
},
"luminance": 0.10296
}Semantic roles & 50–950 ramp
primary
#98307E
secondary
#6ABA7E
accent
#DB704C
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#12080F
muted
#817B7F