#98215E#98215E

#98215E is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.2% C 0.163 H 354.5°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#98215E
RGBrgb(152, 33, 94)
HSLhsl(329, 64%, 36%)
HSVhsv(329, 78%, 60%)
CMYKcmyk(0%, 78.3%, 38.2%, 40.4%)
CIE-LABlab(35.15, 52.78, -6.15)
CIE-LCHlch(35.15, 53.14, 353.36°)
OKLaboklab(46.25% 0.1622 -0.0156)
OKLCHoklch(46.25% 0.163 354.5)
XYZxyz(15.5142, 8.5732, 11.4253)
Luminance0.0857 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98215E #21985B
analogous
#972198 #98215E #982123
triadic
#98215E #5E9821 #215E98
tetradic
#98215E #989721 #21985B #212398
square
#98215E #989721 #21985B #212398
split-complementary
#98215E #239821 #219897
monochromatic
#330B20 #66163F #98215E #CA2C7D #DB599B

Accessibility & contrast

On white

7.74
#98215E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#98215E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98215E
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98215E#FFFFFF#000000##FFFFFF
##98215E1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394560
Deuteranopia (green-blind)
#5A5B5B
Tritanopia (blue-blind)
#A4123D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #98215e;
/* rgb */ color: rgb(152, 33, 94);
/* oklch */ color: oklch(46.2% 0.163 354.5);
Tailwind
colors: {
  custom: {
    50: '#bb698b',
    500: '#98215e',
    950: '#000000',
  },
}
SCSS
$custom: #98215e;
$custom-light: #bb698b;
$custom-dark: #000000;
JSON
{
  "hex": "#98215e",
  "rgb": {
    "r": 152,
    "g": 33,
    "b": 94
  },
  "hsl": {
    "h": 329.244,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46245,
    "c": 0.1629,
    "h": 354.5
  },
  "luminance": 0.08571
}

Semantic roles & 50–950 ramp

primary
#98215E
secondary
#56BF89
accent
#E79240
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #98215E

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

Preview Lab → · Contrast checker → · Palette generator →

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