#98296F#98296F
#98296F is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.6% C 0.163 H 346.3°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).
Color values
| HEX | #98296F |
|---|---|
| RGB | rgb(152, 41, 111) |
| HSL | hsl(322, 58%, 38%) |
| HSV | hsv(322, 73%, 60%) |
| CMYK | cmyk(0%, 73%, 27%, 40.4%) |
| CIE-LAB | lab(36.76, 52.12, -14.52) |
| CIE-LCH | lch(36.76, 54.11, 344.43°) |
| OKLab | oklab(47.64% 0.1581 -0.0384) |
| OKLCH | oklch(47.64% 0.163 346.3) |
| XYZ | xyz(16.6118, 9.4108, 15.9775) |
| Luminance | 0.0941 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.38
Deep Magenta
#A0025C
ΔE00 5.31
Dark Fuchsia
#9D0759
ΔE00 5.67
Dark Magenta
#960056
ΔE00 6.00
Bruise
#7E4071
ΔE00 6.78
Reddish Purple
#910951
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98296F #299852
analogous
#892998 #98296F #982938
triadic
#98296F #6F9829 #296F98
tetradic
#98296F #988929 #299852 #293898
square
#98296F #988929 #299852 #293898
split-complementary
#98296F #389829 #299889
monochromatic
#380F29 #681C4C #98296F #C83692 #D666AC
Accessibility & contrast
On white
7.29
#98296F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#98296F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #98296F
7.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98296F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##98296F | 1.00 | 7.29 | 2.88 | 7.29 |
| #FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#374A71
Deuteranopia (green-blind)
#585D6C
Tritanopia (blue-blind)
#A32648
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #98296f; /* rgb */ color: rgb(152, 41, 111); /* oklch */ color: oklch(47.6% 0.163 346.3);
Tailwind
colors: {
custom: {
50: '#ba6d98',
500: '#98296f',
950: '#000000',
},
}SCSS
$custom: #98296f; $custom-light: #ba6d98; $custom-dark: #000000;
JSON
{
"hex": "#98296f",
"rgb": {
"r": 152,
"g": 41,
"b": 111
},
"hsl": {
"h": 322.162,
"s": 57.513,
"l": 37.843
},
"oklch": {
"l": 0.47638,
"c": 0.16271,
"h": 346.3
},
"luminance": 0.09409
}Semantic roles & 50–950 ramp
primary
#98296F
secondary
#61BC83
accent
#E18047
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12080D
muted
#817B7E