#98215D#98215D

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

Color values

HEX#98215D
RGBrgb(152, 33, 93)
HSLhsl(330, 64%, 36%)
HSVhsv(330, 78%, 60%)
CMYKcmyk(0%, 78.3%, 38.8%, 40.4%)
CIE-LABlab(35.11, 52.67, -5.56)
CIE-LCHlch(35.11, 52.97, 353.98°)
OKLaboklab(46.21% 0.1619 -0.014)
OKLCHoklch(46.21% 0.162 355.1)
XYZxyz(15.4696, 8.5554, 11.1905)
Luminance0.0855 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98215D #21985C
analogous
#982198 #98215D #982122
triadic
#98215D #5D9821 #215D98
tetradic
#98215D #989821 #21985C #212298
square
#98215D #989821 #21985C #212298
split-complementary
#98215D #229821 #219898
monochromatic
#330B1F #66163E #98215D #CA2C7C #DB599A

Accessibility & contrast

On white

7.75
#98215D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #98215D
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98215D#FFFFFF#000000##FFFFFF
##98215D1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39455F
Deuteranopia (green-blind)
#5B5A5A
Tritanopia (blue-blind)
#A4113C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #98215d;
/* rgb */ color: rgb(152, 33, 93);
/* oklch */ color: oklch(46.2% 0.162 355.1);
Tailwind
colors: {
  custom: {
    50: '#bb698a',
    500: '#98215d',
    950: '#000000',
  },
}
SCSS
$custom: #98215d;
$custom-light: #bb698a;
$custom-dark: #000000;
JSON
{
  "hex": "#98215d",
  "rgb": {
    "r": 152,
    "g": 33,
    "b": 93
  },
  "hsl": {
    "h": 329.748,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46207,
    "c": 0.16246,
    "h": 355.1
  },
  "luminance": 0.08553
}

Semantic roles & 50–950 ramp

primary
#98215D
secondary
#56BF8A
accent
#E79340
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #98215D

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

Preview Lab → · Contrast checker → · Palette generator →

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