#98216D#98216D

#98216D is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.9% C 0.171 H 346.7°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#98216D
RGBrgb(152, 33, 109)
HSLhsl(322, 64%, 36%)
HSVhsv(322, 78%, 60%)
CMYKcmyk(0%, 78.3%, 28.3%, 40.4%)
CIE-LABlab(35.73, 54.55, -14.83)
CIE-LCHlch(35.73, 56.53, 344.79°)
OKLaboklab(46.86% 0.166 -0.0392)
OKLCHoklch(46.86% 0.171 346.7)
XYZxyz(16.2538, 8.8691, 15.3210)
Luminance0.0887 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98216D #21984C
analogous
#882198 #98216D #982132
triadic
#98216D #6D9821 #216D98
tetradic
#98216D #988821 #21984C #213298
square
#98216D #988821 #21984C #213298
split-complementary
#98216D #329821 #219888
monochromatic
#330B25 #661649 #98216D #CA2C91 #DB59AC

Accessibility & contrast

On white

7.57
#98216D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #98216D
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98216D#FFFFFF#000000##FFFFFF
##98216D1.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32476F
Deuteranopia (green-blind)
#565B6A
Tritanopia (blue-blind)
#A31D44
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #98216d;
/* rgb */ color: rgb(152, 33, 109);
/* oklch */ color: oklch(46.9% 0.171 346.7);
Tailwind
colors: {
  custom: {
    50: '#ba6a97',
    500: '#98216d',
    950: '#000000',
  },
}
SCSS
$custom: #98216d;
$custom-light: #ba6a97;
$custom-dark: #000000;
JSON
{
  "hex": "#98216d",
  "rgb": {
    "r": 152,
    "g": 33,
    "b": 109
  },
  "hsl": {
    "h": 321.681,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46859,
    "c": 0.17058,
    "h": 346.7
  },
  "luminance": 0.08867
}

Semantic roles & 50–950 ramp

primary
#98216D
secondary
#56BF7C
accent
#E77D40
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#12070D
muted
#817A7E

Preview Lab

Preview with #98216D

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

Preview Lab → · Contrast checker → · Palette generator →

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