#98337C#98337C

#98337C is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.3% C 0.158 H 340.5°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#98337C
RGBrgb(152, 51, 124)
HSLhsl(317, 50%, 40%)
HSVhsv(317, 66%, 60%)
CMYKcmyk(0%, 66.4%, 18.4%, 40.4%)
CIE-LABlab(38.73, 50.03, -19.63)
CIE-LCHlch(38.73, 53.74, 338.58°)
OKLaboklab(49.25% 0.1488 -0.0528)
OKLCHoklch(49.25% 0.158 340.5)
XYZxyz(17.7712, 10.4999, 20.1556)
Luminance0.1050 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98337C #33984F
analogous
#823398 #98337C #983349
triadic
#98337C #7C9833 #337C98
tetradic
#98337C #988233 #33984F #334998
square
#98337C #988233 #33984F #334998
split-complementary
#98337C #499833 #339882
monochromatic
#3C1431 #6A2457 #98337C #C1479F #D175B7

Accessibility & contrast

On white

6.78
#98337C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#98337C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98337C
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98337C#FFFFFF#000000##FFFFFF
##98337C1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39517E
Deuteranopia (green-blind)
#58617A
Tritanopia (blue-blind)
#A13553
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #98337c;
/* rgb */ color: rgb(152, 51, 124);
/* oklch */ color: oklch(49.3% 0.158 340.5);
Tailwind
colors: {
  custom: {
    50: '#b972a2',
    500: '#98337c',
    950: '#000000',
  },
}
SCSS
$custom: #98337c;
$custom-light: #b972a2;
$custom-dark: #000000;
JSON
{
  "hex": "#98337c",
  "rgb": {
    "r": 152,
    "g": 51,
    "b": 124
  },
  "hsl": {
    "h": 316.634,
    "s": 49.754,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49252,
    "c": 0.15792,
    "h": 340.5
  },
  "luminance": 0.10498
}

Semantic roles & 50–950 ramp

primary
#98337C
secondary
#6EB983
accent
#D9754F
background
#FBF7F9
surface
#F7EDF2
border
#D0C8CC
text
#12080F
muted
#817B7E

Preview Lab

Preview with #98337C

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

Preview Lab → · Contrast checker → · Palette generator →

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