#98307B#98307B
#98307B is a mid, vivid pink. Relative luminance 0.102; OKLCH L 48.9% C 0.161 H 340.8°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).
Color values
| HEX | #98307B |
|---|---|
| RGB | rgb(152, 48, 123) |
| HSL | hsl(317, 52%, 39%) |
| HSV | hsv(317, 68%, 60%) |
| CMYK | cmyk(0%, 68.4%, 19.1%, 40.4%) |
| CIE-LAB | lab(38.24, 51.11, -19.76) |
| CIE-LCH | lch(38.24, 54.80, 338.86°) |
| OKLab | oklab(48.88% 0.1524 -0.0532) |
| OKLCH | oklch(48.88% 0.161 340.8) |
| XYZ | xyz(17.5815, 10.2210, 19.7820) |
| Luminance | 0.1022 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.87
Red Violet
#9E0168
ΔE00 5.53
Light Eggplant
#894585
ΔE00 5.54
Bruise
#7E4071
ΔE00 6.07
Barney Purple
#A00498
ΔE00 7.17
Ugly Purple
#A442A0
ΔE00 7.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98307B #30984D
analogous
#813098 #98307B #983047
triadic
#98307B #7B9830 #307B98
tetradic
#98307B #988130 #30984D #304798
square
#98307B #988130 #30984D #304798
split-complementary
#98307B #479830 #309881
monochromatic
#3B1330 #692155 #98307B #C3429F #D270B7
Accessibility & contrast
On white
6.90
#98307B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.04
#98307B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #98307B
6.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98307B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##98307B | 1.00 | 6.90 | 3.04 | 6.90 |
| #FFFFFF | 6.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#374F7D
Deuteranopia (green-blind)
#576078
Tritanopia (blue-blind)
#A13251
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #98307b; /* rgb */ color: rgb(152, 48, 123); /* oklch */ color: oklch(48.9% 0.161 340.8);
Tailwind
colors: {
custom: {
50: '#ba71a1',
500: '#98307b',
950: '#000000',
},
}SCSS
$custom: #98307b; $custom-light: #ba71a1; $custom-dark: #000000;
JSON
{
"hex": "#98307b",
"rgb": {
"r": 152,
"g": 48,
"b": 123
},
"hsl": {
"h": 316.731,
"s": 52,
"l": 39.216
},
"oklch": {
"l": 0.4888,
"c": 0.16137,
"h": 340.8
},
"luminance": 0.10219
}Semantic roles & 50–950 ramp
primary
#98307B
secondary
#6ABA80
accent
#DB744C
background
#FBF7F9
surface
#F7EDF2
border
#D0C8CC
text
#12080F
muted
#817B7E