#98216E#98216E

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

Color values

HEX#98216E
RGBrgb(152, 33, 110)
HSLhsl(321, 64%, 36%)
HSVhsv(321, 78%, 60%)
CMYKcmyk(0%, 78.3%, 27.6%, 40.4%)
CIE-LABlab(35.77, 54.68, -15.40)
CIE-LCHlch(35.77, 56.81, 344.27°)
OKLaboklab(46.9% 0.1662 -0.0408)
OKLCHoklch(46.9% 0.171 346.2)
XYZxyz(16.3080, 8.8907, 15.6061)
Luminance0.0889 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98216E #21984B
analogous
#872198 #98216E #982133
triadic
#98216E #6E9821 #216E98
tetradic
#98216E #988721 #21984B #213398
square
#98216E #988721 #21984B #213398
split-complementary
#98216E #339821 #219887
monochromatic
#330B25 #66164A #98216E #CA2C92 #DB59AD

Accessibility & contrast

On white

7.56
#98216E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#98216E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98216E
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98216E#FFFFFF#000000##FFFFFF
##98216E1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324770
Deuteranopia (green-blind)
#565B6B
Tritanopia (blue-blind)
#A31D45
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #98216e;
/* rgb */ color: rgb(152, 33, 110);
/* oklch */ color: oklch(46.9% 0.171 346.2);
Tailwind
colors: {
  custom: {
    50: '#ba6a97',
    500: '#98216e',
    950: '#000000',
  },
}
SCSS
$custom: #98216e;
$custom-light: #ba6a97;
$custom-dark: #000000;
JSON
{
  "hex": "#98216e",
  "rgb": {
    "r": 152,
    "g": 33,
    "b": 110
  },
  "hsl": {
    "h": 321.176,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46903,
    "c": 0.17116,
    "h": 346.2
  },
  "luminance": 0.08889
}

Semantic roles & 50–950 ramp

primary
#98216E
secondary
#56BF7B
accent
#E77B40
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070D
muted
#817A7E

Preview Lab

Preview with #98216E

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

Preview Lab → · Contrast checker → · Palette generator →

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