#98337A#98337A

#98337A is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.2% C 0.157 H 341.5°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#98337A
RGBrgb(152, 51, 122)
HSLhsl(318, 50%, 40%)
HSVhsv(318, 66%, 60%)
CMYKcmyk(0%, 66.4%, 19.7%, 40.4%)
CIE-LABlab(38.64, 49.73, -18.52)
CIE-LCHlch(38.64, 53.07, 339.57°)
OKLaboklab(49.16% 0.1484 -0.0497)
OKLCHoklch(49.16% 0.157 341.5)
XYZxyz(17.6460, 10.4498, 19.4963)
Luminance0.1045 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98337A #339851
analogous
#843398 #98337A #983347
triadic
#98337A #7A9833 #337A98
tetradic
#98337A #988433 #339851 #334798
square
#98337A #988433 #339851 #334798
split-complementary
#98337A #479833 #339884
monochromatic
#3C1430 #6A2455 #98337A #C1479D #D175B5

Accessibility & contrast

On white

6.80
#98337A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#98337A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98337A
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98337A#FFFFFF#000000##FFFFFF
##98337A1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A517C
Deuteranopia (green-blind)
#596178
Tritanopia (blue-blind)
#A13452
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #98337a;
/* rgb */ color: rgb(152, 51, 122);
/* oklch */ color: oklch(49.2% 0.157 341.5);
Tailwind
colors: {
  custom: {
    50: '#b972a0',
    500: '#98337a',
    950: '#000000',
  },
}
SCSS
$custom: #98337a;
$custom-light: #b972a0;
$custom-dark: #000000;
JSON
{
  "hex": "#98337a",
  "rgb": {
    "r": 152,
    "g": 51,
    "b": 122
  },
  "hsl": {
    "h": 317.822,
    "s": 49.754,
    "l": 39.804
  },
  "oklch": {
    "l": 0.4916,
    "c": 0.15653,
    "h": 341.5
  },
  "luminance": 0.10448
}

Semantic roles & 50–950 ramp

primary
#98337A
secondary
#6EB984
accent
#D9784F
background
#FBF7F9
surface
#F7EDF2
border
#D0C8CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #98337A

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

Preview Lab → · Contrast checker → · Palette generator →

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