#98215B#98215B

#98215B is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.1% C 0.162 H 356.2°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#98215B
RGBrgb(152, 33, 91)
HSLhsl(331, 64%, 36%)
HSVhsv(331, 78%, 60%)
CMYKcmyk(0%, 78.3%, 40.1%, 40.4%)
CIE-LABlab(35.04, 52.46, -4.37)
CIE-LCHlch(35.04, 52.64, 355.23°)
OKLaboklab(46.13% 0.1612 -0.0108)
OKLCHoklch(46.13% 0.162 356.2)
XYZxyz(15.3822, 8.5204, 10.7301)
Luminance0.0852 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98215B #21985E
analogous
#982197 #98215B #982321
triadic
#98215B #5B9821 #215B98
tetradic
#98215B #979821 #21985E #232198
square
#98215B #979821 #21985E #232198
split-complementary
#98215B #219823 #219798
monochromatic
#330B1F #66163D #98215B #CA2C79 #DB5998

Accessibility & contrast

On white

7.77
#98215B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#98215B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98215B
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98215B#FFFFFF#000000##FFFFFF
##98215B1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A445C
Deuteranopia (green-blind)
#5B5A58
Tritanopia (blue-blind)
#A5103B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #98215b;
/* rgb */ color: rgb(152, 33, 91);
/* oklch */ color: oklch(46.1% 0.162 356.2);
Tailwind
colors: {
  custom: {
    50: '#bb6989',
    500: '#98215b',
    950: '#000000',
  },
}
SCSS
$custom: #98215b;
$custom-light: #bb6989;
$custom-dark: #000000;
JSON
{
  "hex": "#98215b",
  "rgb": {
    "r": 152,
    "g": 33,
    "b": 91
  },
  "hsl": {
    "h": 330.756,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46133,
    "c": 0.1616,
    "h": 356.2
  },
  "luminance": 0.08518
}

Semantic roles & 50–950 ramp

primary
#98215B
secondary
#56BF8C
accent
#E79640
background
#FCF6F8
surface
#F8EBF0
border
#D1C6CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #98215B

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

Preview Lab → · Contrast checker → · Palette generator →

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