#98336E#98336E

#98336E is a mid, vivid pink. Relative luminance 0.102; OKLCH L 48.6% C 0.149 H 348.0°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#98336E
RGBrgb(152, 51, 110)
HSLhsl(325, 50%, 40%)
HSVhsv(325, 66%, 60%)
CMYKcmyk(0%, 66.4%, 27.6%, 40.4%)
CIE-LABlab(38.15, 48.03, -11.78)
CIE-LCHlch(38.15, 49.46, 346.22°)
OKLaboklab(48.64% 0.1456 -0.031)
OKLCHoklch(48.64% 0.149 348)
XYZxyz(16.9479, 10.1706, 15.8194)
Luminance0.1017 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98336E #33985D
analogous
#8F3398 #98336E #98333C
triadic
#98336E #6E9833 #336E98
tetradic
#98336E #988F33 #33985D #333C98
square
#98336E #988F33 #33985D #333C98
split-complementary
#98336E #3C9833 #33988F
monochromatic
#3C142C #6A244D #98336E #C1478E #D175AA

Accessibility & contrast

On white

6.92
#98336E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#98336E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98336E
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98336E#FFFFFF#000000##FFFFFF
##98336E1.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404F70
Deuteranopia (green-blind)
#5D606C
Tritanopia (blue-blind)
#A3304C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #98336e;
/* rgb */ color: rgb(152, 51, 110);
/* oklch */ color: oklch(48.6% 0.149 348.0);
Tailwind
colors: {
  custom: {
    50: '#ba7297',
    500: '#98336e',
    950: '#000000',
  },
}
SCSS
$custom: #98336e;
$custom-light: #ba7297;
$custom-dark: #000000;
JSON
{
  "hex": "#98336e",
  "rgb": {
    "r": 152,
    "g": 51,
    "b": 110
  },
  "hsl": {
    "h": 324.95,
    "s": 49.754,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48638,
    "c": 0.14888,
    "h": 348
  },
  "luminance": 0.10169
}

Semantic roles & 50–950 ramp

primary
#98336E
secondary
#6EB98D
accent
#D9884F
background
#FBF7F9
surface
#F7EDF2
border
#D0C8CC
text
#12080D
muted
#817B7E

Preview Lab

Preview with #98336E

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

Preview Lab → · Contrast checker → · Palette generator →

#98336E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva