#98337F#98337F
#98337F is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.4% C 0.160 H 339.0°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #98337F |
|---|---|
| RGB | rgb(152, 51, 127) |
| HSL | hsl(315, 50%, 40%) |
| HSV | hsv(315, 66%, 60%) |
| CMYK | cmyk(0%, 66.4%, 16.4%, 40.4%) |
| CIE-LAB | lab(38.86, 50.48, -21.28) |
| CIE-LCH | lch(38.86, 54.78, 337.14°) |
| OKLab | oklab(49.39% 0.1494 -0.0575) |
| OKLCH | oklch(49.39% 0.16 339) |
| XYZ | xyz(17.9639, 10.5770, 21.1700) |
| Luminance | 0.1057 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.21
Light Eggplant
#894585
ΔE00 4.85
Bruise
#7E4071
ΔE00 6.04
Red Violet
#9E0168
ΔE00 6.40
Barney Purple
#A00498
ΔE00 6.80
Ugly Purple
#A442A0
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98337F #33984C
analogous
#7E3398 #98337F #98334D
triadic
#98337F #7F9833 #337F98
tetradic
#98337F #987E33 #33984C #334D98
square
#98337F #987E33 #33984C #334D98
split-complementary
#98337F #4D9833 #33987E
monochromatic
#3C1432 #6A2459 #98337F #C147A3 #D175BA
Accessibility & contrast
On white
6.74
#98337F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#98337F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #98337F
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98337F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##98337F | 1.00 | 6.74 | 3.12 | 6.74 |
| #FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#385181
Deuteranopia (green-blind)
#57617D
Tritanopia (blue-blind)
#A03654
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #98337f; /* rgb */ color: rgb(152, 51, 127); /* oklch */ color: oklch(49.4% 0.160 339.0);
Tailwind
colors: {
custom: {
50: '#b972a4',
500: '#98337f',
950: '#000000',
},
}SCSS
$custom: #98337f; $custom-light: #b972a4; $custom-dark: #000000;
JSON
{
"hex": "#98337f",
"rgb": {
"r": 152,
"g": 51,
"b": 127
},
"hsl": {
"h": 314.851,
"s": 49.754,
"l": 39.804
},
"oklch": {
"l": 0.49393,
"c": 0.16005,
"h": 339
},
"luminance": 0.10575
}Semantic roles & 50–950 ramp
primary
#98337F
secondary
#6EB980
accent
#D9714F
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#12080F
muted
#817B7F