#99217C#99217C

#99217C is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.7% C 0.180 H 339.9°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#99217C
RGBrgb(153, 33, 124)
HSLhsl(315, 65%, 36%)
HSVhsv(315, 78%, 60%)
CMYKcmyk(0%, 78.4%, 19%, 40%)
CIE-LABlab(36.59, 56.80, -22.93)
CIE-LCHlch(36.59, 61.25, 338.02°)
OKLaboklab(47.73% 0.1695 -0.062)
OKLCHoklch(47.73% 0.181 339.9)
XYZxyz(17.3193, 9.3170, 19.9511)
Luminance0.0931 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#99217C #21993E
analogous
#7A2199 #99217C #992140
triadic
#99217C #7C9921 #217C99
tetradic
#99217C #997A21 #21993E #214099
square
#99217C #997A21 #21993E #214099
split-complementary
#99217C #409921 #21997A
monochromatic
#340B2A #671653 #99217C #CB2CA5 #DB59BC

Accessibility & contrast

On white

7.33
#99217C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#99217C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #99217C
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##99217C#FFFFFF#000000##FFFFFF
##99217C1.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4A7E
Deuteranopia (green-blind)
#525D79
Tritanopia (blue-blind)
#A2254D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #99217c;
/* rgb */ color: rgb(153, 33, 124);
/* oklch */ color: oklch(47.7% 0.180 339.9);
Tailwind
colors: {
  custom: {
    50: '#bb6aa2',
    500: '#99217c',
    950: '#000000',
  },
}
SCSS
$custom: #99217c;
$custom-light: #bb6aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#99217c",
  "rgb": {
    "r": 153,
    "g": 33,
    "b": 124
  },
  "hsl": {
    "h": 314.5,
    "s": 64.516,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47732,
    "c": 0.1805,
    "h": 339.9
  },
  "luminance": 0.09315
}

Semantic roles & 50–950 ramp

primary
#99217C
secondary
#56BF70
accent
#E86940
background
#FBF6FA
surface
#F7ECF3
border
#D0C7CD
text
#12070F
muted
#817A7F

Preview Lab

Preview with #99217C

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

Preview Lab → · Contrast checker → · Palette generator →

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