#98215C#98215C

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

Color values

HEX#98215C
RGBrgb(152, 33, 92)
HSLhsl(330, 64%, 36%)
HSVhsv(330, 78%, 60%)
CMYKcmyk(0%, 78.3%, 39.5%, 40.4%)
CIE-LABlab(35.08, 52.57, -4.96)
CIE-LCHlch(35.08, 52.80, 354.60°)
OKLaboklab(46.17% 0.1616 -0.0124)
OKLCHoklch(46.17% 0.162 355.6)
XYZxyz(15.4256, 8.5378, 10.9588)
Luminance0.0854 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98215C #21985D
analogous
#982198 #98215C #982221
triadic
#98215C #5C9821 #215C98
tetradic
#98215C #989821 #21985D #222198
square
#98215C #989821 #21985D #222198
split-complementary
#98215C #219822 #219898
monochromatic
#330B1F #66163E #98215C #CA2C7A #DB5999

Accessibility & contrast

On white

7.76
#98215C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #98215C
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98215C#FFFFFF#000000##FFFFFF
##98215C1.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A445D
Deuteranopia (green-blind)
#5B5A59
Tritanopia (blue-blind)
#A5103C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #98215c;
/* rgb */ color: rgb(152, 33, 92);
/* oklch */ color: oklch(46.2% 0.162 355.6);
Tailwind
colors: {
  custom: {
    50: '#bb698a',
    500: '#98215c',
    950: '#000000',
  },
}
SCSS
$custom: #98215c;
$custom-light: #bb698a;
$custom-dark: #000000;
JSON
{
  "hex": "#98215c",
  "rgb": {
    "r": 152,
    "g": 33,
    "b": 92
  },
  "hsl": {
    "h": 330.252,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.4617,
    "c": 0.16203,
    "h": 355.6
  },
  "luminance": 0.08536
}

Semantic roles & 50–950 ramp

primary
#98215C
secondary
#56BF8B
accent
#E79540
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #98215C

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

Preview Lab → · Contrast checker → · Palette generator →

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