#98337D#98337D

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

Color values

HEX#98337D
RGBrgb(152, 51, 125)
HSLhsl(316, 50%, 40%)
HSVhsv(316, 66%, 60%)
CMYKcmyk(0%, 66.4%, 17.8%, 40.4%)
CIE-LABlab(38.77, 50.18, -20.18)
CIE-LCHlch(38.77, 54.08, 338.09°)
OKLaboklab(49.3% 0.149 -0.0544)
OKLCHoklch(49.3% 0.159 340)
XYZxyz(17.8348, 10.5253, 20.4904)
Luminance0.1052 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98337D #33984E
analogous
#813398 #98337D #98334A
triadic
#98337D #7D9833 #337D98
tetradic
#98337D #988133 #33984E #334A98
square
#98337D #988133 #33984E #334A98
split-complementary
#98337D #4A9833 #339881
monochromatic
#3C1432 #6A2457 #98337D #C147A1 #D175B8

Accessibility & contrast

On white

6.76
#98337D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #98337D
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98337D#FFFFFF#000000##FFFFFF
##98337D1.006.763.106.76
#FFFFFF6.761.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39517F
Deuteranopia (green-blind)
#58617B
Tritanopia (blue-blind)
#A13653
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #98337d;
/* rgb */ color: rgb(152, 51, 125);
/* oklch */ color: oklch(49.3% 0.159 340.0);
Tailwind
colors: {
  custom: {
    50: '#b972a3',
    500: '#98337d',
    950: '#000000',
  },
}
SCSS
$custom: #98337d;
$custom-light: #b972a3;
$custom-dark: #000000;
JSON
{
  "hex": "#98337d",
  "rgb": {
    "r": 152,
    "g": 51,
    "b": 125
  },
  "hsl": {
    "h": 316.04,
    "s": 49.754,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49298,
    "c": 0.15863,
    "h": 340
  },
  "luminance": 0.10524
}

Semantic roles & 50–950 ramp

primary
#98337D
secondary
#6EB982
accent
#D9744F
background
#FBF7FA
surface
#F7EDF3
border
#D0C8CD
text
#12080F
muted
#817B7F

Preview Lab

Preview with #98337D

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

Preview Lab → · Contrast checker → · Palette generator →

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