#98307D#98307D
#98307D is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.0% C 0.163 H 339.8°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).
Color values
| HEX | #98307D |
|---|---|
| RGB | rgb(152, 48, 125) |
| HSL | hsl(316, 52%, 39%) |
| HSV | hsv(316, 68%, 60%) |
| CMYK | cmyk(0%, 68.4%, 17.8%, 40.4%) |
| CIE-LAB | lab(38.33, 51.41, -20.87) |
| CIE-LCH | lch(38.33, 55.48, 337.91°) |
| OKLab | oklab(48.98% 0.1527 -0.0563) |
| OKLCH | oklch(48.98% 0.163 339.8) |
| XYZ | xyz(17.7079, 10.2716, 20.4481) |
| Luminance | 0.1027 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.40
Light Eggplant
#894585
ΔE00 5.33
Red Violet
#9E0168
ΔE00 5.83
Bruise
#7E4071
ΔE00 6.16
Barney Purple
#A00498
ΔE00 6.77
Ugly Purple
#A442A0
ΔE00 7.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98307D #30984B
analogous
#7F3098 #98307D #983049
triadic
#98307D #7D9830 #307D98
tetradic
#98307D #987F30 #30984B #304998
square
#98307D #987F30 #30984B #304998
split-complementary
#98307D #499830 #30987F
monochromatic
#3B1331 #692157 #98307D #C342A2 #D270B9
Accessibility & contrast
On white
6.88
#98307D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.05
#98307D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #98307D
6.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98307D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##98307D | 1.00 | 6.88 | 3.05 | 6.88 |
| #FFFFFF | 6.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#36507F
Deuteranopia (green-blind)
#56607A
Tritanopia (blue-blind)
#A13352
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #98307d; /* rgb */ color: rgb(152, 48, 125); /* oklch */ color: oklch(49.0% 0.163 339.8);
Tailwind
colors: {
custom: {
50: '#ba71a3',
500: '#98307d',
950: '#000000',
},
}SCSS
$custom: #98307d; $custom-light: #ba71a3; $custom-dark: #000000;
JSON
{
"hex": "#98307d",
"rgb": {
"r": 152,
"g": 48,
"b": 125
},
"hsl": {
"h": 315.577,
"s": 52,
"l": 39.216
},
"oklch": {
"l": 0.48975,
"c": 0.16276,
"h": 339.8
},
"luminance": 0.1027
}Semantic roles & 50–950 ramp
primary
#98307D
secondary
#6ABA7F
accent
#DB724C
background
#FBF7FA
surface
#F7EDF3
border
#D0C8CD
text
#12080F
muted
#817B7F