#98215F#98215F

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

Color values

HEX#98215F
RGBrgb(152, 33, 95)
HSLhsl(329, 64%, 36%)
HSVhsv(329, 78%, 60%)
CMYKcmyk(0%, 78.3%, 37.5%, 40.4%)
CIE-LABlab(35.19, 52.89, -6.73)
CIE-LCHlch(35.19, 53.32, 352.75°)
OKLaboklab(46.28% 0.1625 -0.0171)
OKLCHoklch(46.28% 0.163 354)
XYZxyz(15.5593, 8.5913, 11.6632)
Luminance0.0859 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98215F #21985A
analogous
#962198 #98215F #982124
triadic
#98215F #5F9821 #215F98
tetradic
#98215F #989621 #21985A #212498
square
#98215F #989621 #21985A #212498
split-complementary
#98215F #249821 #219896
monochromatic
#330B20 #661640 #98215F #CA2C7E #DB599C

Accessibility & contrast

On white

7.73
#98215F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#98215F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98215F
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98215F#FFFFFF#000000##FFFFFF
##98215F1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394561
Deuteranopia (green-blind)
#5A5B5C
Tritanopia (blue-blind)
#A4133D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #98215f;
/* rgb */ color: rgb(152, 33, 95);
/* oklch */ color: oklch(46.3% 0.163 354.0);
Tailwind
colors: {
  custom: {
    50: '#bb698c',
    500: '#98215f',
    950: '#000000',
  },
}
SCSS
$custom: #98215f;
$custom-light: #bb698c;
$custom-dark: #000000;
JSON
{
  "hex": "#98215f",
  "rgb": {
    "r": 152,
    "g": 33,
    "b": 95
  },
  "hsl": {
    "h": 328.739,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46283,
    "c": 0.16335,
    "h": 354
  },
  "luminance": 0.08589
}

Semantic roles & 50–950 ramp

primary
#98215F
secondary
#56BF88
accent
#E79040
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #98215F

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

Preview Lab → · Contrast checker → · Palette generator →

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