#98336B#98336B

#98336B is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.5% C 0.147 H 349.7°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#98336B
RGBrgb(152, 51, 107)
HSLhsl(327, 50%, 40%)
HSVhsv(327, 66%, 60%)
CMYKcmyk(0%, 66.4%, 29.6%, 40.4%)
CIE-LABlab(38.03, 47.63, -10.07)
CIE-LCHlch(38.03, 48.69, 348.06°)
OKLaboklab(48.52% 0.1448 -0.0263)
OKLCHoklch(48.52% 0.147 349.7)
XYZxyz(16.7873, 10.1064, 14.9737)
Luminance0.1011 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98336B #339860
analogous
#933398 #98336B #983338
triadic
#98336B #6B9833 #336B98
tetradic
#98336B #989333 #339860 #333898
square
#98336B #989333 #339860 #333898
split-complementary
#98336B #389833 #339893
monochromatic
#3C142A #6A244B #98336B #C1478B #D175A8

Accessibility & contrast

On white

6.95
#98336B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#98336B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98336B
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98336B#FFFFFF#000000##FFFFFF
##98336B1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414E6D
Deuteranopia (green-blind)
#5D6069
Tritanopia (blue-blind)
#A32F4A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #98336b;
/* rgb */ color: rgb(152, 51, 107);
/* oklch */ color: oklch(48.5% 0.147 349.7);
Tailwind
colors: {
  custom: {
    50: '#ba7295',
    500: '#98336b',
    950: '#000000',
  },
}
SCSS
$custom: #98336b;
$custom-light: #ba7295;
$custom-dark: #000000;
JSON
{
  "hex": "#98336b",
  "rgb": {
    "r": 152,
    "g": 51,
    "b": 107
  },
  "hsl": {
    "h": 326.733,
    "s": 49.754,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48517,
    "c": 0.14717,
    "h": 349.7
  },
  "luminance": 0.10105
}

Semantic roles & 50–950 ramp

primary
#98336B
secondary
#6EB98F
accent
#D98C4F
background
#FBF7F9
surface
#F7EDF1
border
#D0C8CB
text
#12080D
muted
#817B7E

Preview Lab

Preview with #98336B

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

Preview Lab → · Contrast checker → · Palette generator →

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