#98336F#98336F

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

Color values

HEX#98336F
RGBrgb(152, 51, 111)
HSLhsl(324, 50%, 40%)
HSVhsv(324, 66%, 60%)
CMYKcmyk(0%, 66.4%, 27%, 40.4%)
CIE-LABlab(38.19, 48.17, -12.35)
CIE-LCHlch(38.19, 49.73, 345.62°)
OKLaboklab(48.68% 0.1459 -0.0325)
OKLCHoklch(48.68% 0.149 347.4)
XYZxyz(17.0027, 10.1925, 16.1078)
Luminance0.1019 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98336F #33985C
analogous
#8E3398 #98336F #98333D
triadic
#98336F #6F9833 #336F98
tetradic
#98336F #988E33 #33985C #333D98
square
#98336F #988E33 #33985C #333D98
split-complementary
#98336F #3D9833 #33988E
monochromatic
#3C142C #6A244E #98336F #C14790 #D175AB

Accessibility & contrast

On white

6.91
#98336F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#98336F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98336F
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98336F#FFFFFF#000000##FFFFFF
##98336F1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4F71
Deuteranopia (green-blind)
#5C606D
Tritanopia (blue-blind)
#A2304C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #98336f;
/* rgb */ color: rgb(152, 51, 111);
/* oklch */ color: oklch(48.7% 0.149 347.4);
Tailwind
colors: {
  custom: {
    50: '#ba7298',
    500: '#98336f',
    950: '#000000',
  },
}
SCSS
$custom: #98336f;
$custom-light: #ba7298;
$custom-dark: #000000;
JSON
{
  "hex": "#98336f",
  "rgb": {
    "r": 152,
    "g": 51,
    "b": 111
  },
  "hsl": {
    "h": 324.356,
    "s": 49.754,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48679,
    "c": 0.14946,
    "h": 347.4
  },
  "luminance": 0.10191
}

Semantic roles & 50–950 ramp

primary
#98336F
secondary
#6EB98C
accent
#D9874F
background
#FBF7F9
surface
#F7EDF2
border
#D0C8CC
text
#12080D
muted
#817B7E

Preview Lab

Preview with #98336F

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

Preview Lab → · Contrast checker → · Palette generator →

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