#98297B#98297B
#98297B is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.2% C 0.170 H 340.4°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).
Color values
| HEX | #98297B |
|---|---|
| RGB | rgb(152, 41, 123) |
| HSL | hsl(316, 58%, 38%) |
| HSV | hsv(316, 73%, 60%) |
| CMYK | cmyk(0%, 73%, 19.1%, 40.4%) |
| CIE-LAB | lab(37.29, 53.78, -21.23) |
| CIE-LCH | lch(37.29, 57.82, 338.45°) |
| OKLab | oklab(48.19% 0.1604 -0.0572) |
| OKLCH | oklch(48.19% 0.17 340.4) |
| XYZ | xyz(17.3175, 9.6930, 19.6940) |
| Luminance | 0.0969 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.52
Red Violet
#9E0168
ΔE00 5.01
Light Eggplant
#894585
ΔE00 6.22
Barney Purple
#A00498
ΔE00 6.39
Bruise
#7E4071
ΔE00 6.69
Darkmagenta
#8B008B
ΔE00 7.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98297B #299846
analogous
#7E2998 #98297B #982943
triadic
#98297B #7B9829 #297B98
tetradic
#98297B #987E29 #299846 #294398
square
#98297B #987E29 #299846 #294398
split-complementary
#98297B #439829 #29987E
monochromatic
#380F2D #681C54 #98297B #C836A2 #D666B8
Accessibility & contrast
On white
7.15
#98297B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.94
#98297B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #98297B
7.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98297B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##98297B | 1.00 | 7.15 | 2.94 | 7.15 |
| #FFFFFF | 7.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#314C7D
Deuteranopia (green-blind)
#545E78
Tritanopia (blue-blind)
#A12C4E
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #98297b; /* rgb */ color: rgb(152, 41, 123); /* oklch */ color: oklch(48.2% 0.170 340.4);
Tailwind
colors: {
custom: {
50: '#ba6da1',
500: '#98297b',
950: '#000000',
},
}SCSS
$custom: #98297b; $custom-light: #ba6da1; $custom-dark: #000000;
JSON
{
"hex": "#98297b",
"rgb": {
"r": 152,
"g": 41,
"b": 123
},
"hsl": {
"h": 315.676,
"s": 57.513,
"l": 37.843
},
"oklch": {
"l": 0.48188,
"c": 0.17034,
"h": 340.4
},
"luminance": 0.09691
}Semantic roles & 50–950 ramp
primary
#98297B
secondary
#61BC79
accent
#E16F47
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12080F
muted
#817B7E