#98216C#98216C

#98216C is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.8% C 0.170 H 347.2°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#98216C
RGBrgb(152, 33, 108)
HSLhsl(322, 64%, 36%)
HSVhsv(322, 78%, 60%)
CMYKcmyk(0%, 78.3%, 28.9%, 40.4%)
CIE-LABlab(35.69, 54.43, -14.26)
CIE-LCHlch(35.69, 56.26, 345.31°)
OKLaboklab(46.82% 0.1658 -0.0377)
OKLCHoklch(46.82% 0.17 347.2)
XYZxyz(16.2003, 8.8477, 15.0391)
Luminance0.0885 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98216C #21984D
analogous
#892198 #98216C #982131
triadic
#98216C #6C9821 #216C98
tetradic
#98216C #988921 #21984D #213198
square
#98216C #988921 #21984D #213198
split-complementary
#98216C #319821 #219889
monochromatic
#330B25 #661648 #98216C #CA2C90 #DB59AB

Accessibility & contrast

On white

7.58
#98216C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#98216C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98216C
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98216C#FFFFFF#000000##FFFFFF
##98216C1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33476E
Deuteranopia (green-blind)
#575B69
Tritanopia (blue-blind)
#A31C44
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #98216c;
/* rgb */ color: rgb(152, 33, 108);
/* oklch */ color: oklch(46.8% 0.170 347.2);
Tailwind
colors: {
  custom: {
    50: '#ba6a96',
    500: '#98216c',
    950: '#000000',
  },
}
SCSS
$custom: #98216c;
$custom-light: #ba6a96;
$custom-dark: #000000;
JSON
{
  "hex": "#98216c",
  "rgb": {
    "r": 152,
    "g": 33,
    "b": 108
  },
  "hsl": {
    "h": 322.185,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46815,
    "c": 0.17002,
    "h": 347.2
  },
  "luminance": 0.08846
}

Semantic roles & 50–950 ramp

primary
#98216C
secondary
#56BF7D
accent
#E77E40
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#12070D
muted
#817A7E

Preview Lab

Preview with #98216C

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

Preview Lab → · Contrast checker → · Palette generator →

#98216C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva