#98336A#98336A

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

Color values

HEX#98336A
RGBrgb(152, 51, 106)
HSLhsl(327, 50%, 40%)
HSVhsv(327, 66%, 60%)
CMYKcmyk(0%, 66.4%, 30.3%, 40.4%)
CIE-LABlab(38.00, 47.50, -9.50)
CIE-LCHlch(38.00, 48.44, 348.69°)
OKLaboklab(48.48% 0.1445 -0.0247)
OKLCHoklch(48.48% 0.147 350.3)
XYZxyz(16.7350, 10.0854, 14.6982)
Luminance0.1008 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98336A #339861
analogous
#943398 #98336A #983337
triadic
#98336A #6A9833 #336A98
tetradic
#98336A #989433 #339861 #333798
square
#98336A #989433 #339861 #333798
split-complementary
#98336A #379833 #339894
monochromatic
#3C142A #6A244A #98336A #C1478A #D175A7

Accessibility & contrast

On white

6.96
#98336A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #98336A
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98336A#FFFFFF#000000##FFFFFF
##98336A1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414E6C
Deuteranopia (green-blind)
#5E6068
Tritanopia (blue-blind)
#A32E4A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #98336a;
/* rgb */ color: rgb(152, 51, 106);
/* oklch */ color: oklch(48.5% 0.147 350.3);
Tailwind
colors: {
  custom: {
    50: '#ba7294',
    500: '#98336a',
    950: '#000000',
  },
}
SCSS
$custom: #98336a;
$custom-light: #ba7294;
$custom-dark: #000000;
JSON
{
  "hex": "#98336a",
  "rgb": {
    "r": 152,
    "g": 51,
    "b": 106
  },
  "hsl": {
    "h": 327.327,
    "s": 49.754,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48477,
    "c": 0.14662,
    "h": 350.3
  },
  "luminance": 0.10084
}

Semantic roles & 50–950 ramp

primary
#98336A
secondary
#6EB990
accent
#D98E4F
background
#FBF7F9
surface
#F7EDF1
border
#D0C8CB
text
#12080D
muted
#817B7E

Preview Lab

Preview with #98336A

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

Preview Lab → · Contrast checker → · Palette generator →

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