#98217C#98217C

#98217C is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.6% C 0.180 H 339.6°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#98217C
RGBrgb(152, 33, 124)
HSLhsl(314, 64%, 36%)
HSVhsv(314, 78%, 60%)
CMYKcmyk(0%, 78.3%, 18.4%, 40.4%)
CIE-LABlab(36.40, 56.55, -23.23)
CIE-LCHlch(36.40, 61.14, 337.67°)
OKLaboklab(47.57% 0.1686 -0.0628)
OKLCHoklch(47.57% 0.18 339.6)
XYZxyz(17.1313, 9.2201, 19.9423)
Luminance0.0922 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98217C #21983D
analogous
#792198 #98217C #982141
triadic
#98217C #7C9821 #217C98
tetradic
#98217C #987921 #21983D #214198
square
#98217C #987921 #21983D #214198
split-complementary
#98217C #419821 #219879
monochromatic
#330B2A #661653 #98217C #CA2CA5 #DB59BC

Accessibility & contrast

On white

7.39
#98217C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#98217C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98217C
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98217C#FFFFFF#000000##FFFFFF
##98217C1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294A7E
Deuteranopia (green-blind)
#515C79
Tritanopia (blue-blind)
#A1264D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #98217c;
/* rgb */ color: rgb(152, 33, 124);
/* oklch */ color: oklch(47.6% 0.180 339.6);
Tailwind
colors: {
  custom: {
    50: '#ba6aa2',
    500: '#98217c',
    950: '#000000',
  },
}
SCSS
$custom: #98217c;
$custom-light: #ba6aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#98217c",
  "rgb": {
    "r": 152,
    "g": 33,
    "b": 124
  },
  "hsl": {
    "h": 314.118,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47566,
    "c": 0.17989,
    "h": 339.6
  },
  "luminance": 0.09218
}

Semantic roles & 50–950 ramp

primary
#98217C
secondary
#56BF6F
accent
#E76840
background
#FBF6FA
surface
#F7ECF3
border
#D0C7CD
text
#12070F
muted
#817A7F

Preview Lab

Preview with #98217C

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

Preview Lab → · Contrast checker → · Palette generator →

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