#98216F#98216F

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

Color values

HEX#98216F
RGBrgb(152, 33, 111)
HSLhsl(321, 64%, 36%)
HSVhsv(321, 78%, 60%)
CMYKcmyk(0%, 78.3%, 27%, 40.4%)
CIE-LABlab(35.82, 54.81, -15.97)
CIE-LCHlch(35.82, 57.08, 343.75°)
OKLaboklab(46.95% 0.1664 -0.0424)
OKLCHoklch(46.95% 0.172 345.7)
XYZxyz(16.3627, 8.9126, 15.8944)
Luminance0.0891 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98216F #21984A
analogous
#862198 #98216F #982134
triadic
#98216F #6F9821 #216F98
tetradic
#98216F #988621 #21984A #213498
square
#98216F #988621 #21984A #213498
split-complementary
#98216F #349821 #219886
monochromatic
#330B26 #66164A #98216F #CA2C94 #DB59AE

Accessibility & contrast

On white

7.55
#98216F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #98216F
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98216F#FFFFFF#000000##FFFFFF
##98216F1.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314771
Deuteranopia (green-blind)
#565B6C
Tritanopia (blue-blind)
#A31E45
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #98216f;
/* rgb */ color: rgb(152, 33, 111);
/* oklch */ color: oklch(46.9% 0.172 345.7);
Tailwind
colors: {
  custom: {
    50: '#ba6a98',
    500: '#98216f',
    950: '#000000',
  },
}
SCSS
$custom: #98216f;
$custom-light: #ba6a98;
$custom-dark: #000000;
JSON
{
  "hex": "#98216f",
  "rgb": {
    "r": 152,
    "g": 33,
    "b": 111
  },
  "hsl": {
    "h": 320.672,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46948,
    "c": 0.17174,
    "h": 345.7
  },
  "luminance": 0.08911
}

Semantic roles & 50–950 ramp

primary
#98216F
secondary
#56BF7A
accent
#E77A40
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070D
muted
#817A7E

Preview Lab

Preview with #98216F

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

Preview Lab → · Contrast checker → · Palette generator →

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