#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
RGBrgb(152, 51, 127)
HSLhsl(315, 50%, 40%)
HSVhsv(315, 66%, 60%)
CMYKcmyk(0%, 66.4%, 16.4%, 40.4%)
CIE-LABlab(38.86, 50.48, -21.28)
CIE-LCHlch(38.86, 54.78, 337.14°)
OKLaboklab(49.39% 0.1494 -0.0575)
OKLCHoklch(49.39% 0.16 339)
XYZxyz(17.9639, 10.5770, 21.1700)
Luminance0.1057 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

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
##98337F1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.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

Preview Lab

Preview with #98337F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#98337F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva