#98336F#98336F
#98336F is a mid, vivid pink. Relative luminance 0.102; OKLCH L 48.7% C 0.149 H 347.4°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).
Color values
| HEX | #98336F |
|---|---|
| RGB | rgb(152, 51, 111) |
| HSL | hsl(324, 50%, 40%) |
| HSV | hsv(324, 66%, 60%) |
| CMYK | cmyk(0%, 66.4%, 27%, 40.4%) |
| CIE-LAB | lab(38.19, 48.17, -12.35) |
| CIE-LCH | lch(38.19, 49.73, 345.62°) |
| OKLab | oklab(48.68% 0.1459 -0.0325) |
| OKLCH | oklch(48.68% 0.149 347.4) |
| XYZ | xyz(17.0027, 10.1925, 16.1078) |
| Luminance | 0.1019 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.90
Deep Magenta
#A0025C
ΔE00 5.96
Dark Fuchsia
#9D0759
ΔE00 6.22
Bruise
#7E4071
ΔE00 6.24
Dark Magenta
#960056
ΔE00 6.80
Light Eggplant
#894585
ΔE00 7.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98336F #33985C
analogous
#8E3398 #98336F #98333D
triadic
#98336F #6F9833 #336F98
tetradic
#98336F #988E33 #33985C #333D98
square
#98336F #988E33 #33985C #333D98
split-complementary
#98336F #3D9833 #33988E
monochromatic
#3C142C #6A244E #98336F #C14790 #D175AB
Accessibility & contrast
On white
6.91
#98336F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.04
#98336F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #98336F
6.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98336F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##98336F | 1.00 | 6.91 | 3.04 | 6.91 |
| #FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F4F71
Deuteranopia (green-blind)
#5C606D
Tritanopia (blue-blind)
#A2304C
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #98336f; /* rgb */ color: rgb(152, 51, 111); /* oklch */ color: oklch(48.7% 0.149 347.4);
Tailwind
colors: {
custom: {
50: '#ba7298',
500: '#98336f',
950: '#000000',
},
}SCSS
$custom: #98336f; $custom-light: #ba7298; $custom-dark: #000000;
JSON
{
"hex": "#98336f",
"rgb": {
"r": 152,
"g": 51,
"b": 111
},
"hsl": {
"h": 324.356,
"s": 49.754,
"l": 39.804
},
"oklch": {
"l": 0.48679,
"c": 0.14946,
"h": 347.4
},
"luminance": 0.10191
}Semantic roles & 50–950 ramp
primary
#98336F
secondary
#6EB98C
accent
#D9874F
background
#FBF7F9
surface
#F7EDF2
border
#D0C8CC
text
#12080D
muted
#817B7E