#98336D#98336D

#98336D is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.6% C 0.148 H 348.6°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#98336D
RGBrgb(152, 51, 109)
HSLhsl(326, 50%, 40%)
HSVhsv(326, 66%, 60%)
CMYKcmyk(0%, 66.4%, 28.3%, 40.4%)
CIE-LABlab(38.11, 47.90, -11.22)
CIE-LCHlch(38.11, 49.20, 346.82°)
OKLaboklab(48.6% 0.1454 -0.0294)
OKLCHoklch(48.6% 0.148 348.6)
XYZxyz(16.8938, 10.1489, 15.5343)
Luminance0.1015 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98336D #33985E
analogous
#913398 #98336D #98333A
triadic
#98336D #6D9833 #336D98
tetradic
#98336D #989133 #33985E #333A98
square
#98336D #989133 #33985E #333A98
split-complementary
#98336D #3A9833 #339891
monochromatic
#3C142B #6A244C #98336D #C1478D #D175AA

Accessibility & contrast

On white

6.93
#98336D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #98336D
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98336D#FFFFFF#000000##FFFFFF
##98336D1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404E6F
Deuteranopia (green-blind)
#5D606B
Tritanopia (blue-blind)
#A32F4B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #98336d;
/* rgb */ color: rgb(152, 51, 109);
/* oklch */ color: oklch(48.6% 0.148 348.6);
Tailwind
colors: {
  custom: {
    50: '#ba7296',
    500: '#98336d',
    950: '#000000',
  },
}
SCSS
$custom: #98336d;
$custom-light: #ba7296;
$custom-dark: #000000;
JSON
{
  "hex": "#98336d",
  "rgb": {
    "r": 152,
    "g": 51,
    "b": 109
  },
  "hsl": {
    "h": 325.545,
    "s": 49.754,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48597,
    "c": 0.1483,
    "h": 348.6
  },
  "luminance": 0.10147
}

Semantic roles & 50–950 ramp

primary
#98336D
secondary
#6EB98E
accent
#D98A4F
background
#FBF7F9
surface
#F7EDF2
border
#D0C8CC
text
#12080D
muted
#817B7E

Preview Lab

Preview with #98336D

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

Preview Lab → · Contrast checker → · Palette generator →

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