#99217B#99217B

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

Color values

HEX#99217B
RGBrgb(153, 33, 123)
HSLhsl(315, 65%, 36%)
HSVhsv(315, 78%, 60%)
CMYKcmyk(0%, 78.4%, 19.6%, 40%)
CIE-LABlab(36.54, 56.66, -22.38)
CIE-LCHlch(36.54, 60.92, 338.45°)
OKLaboklab(47.68% 0.1694 -0.0604)
OKLCHoklch(47.68% 0.18 340.4)
XYZxyz(17.2564, 9.2918, 19.6198)
Luminance0.0929 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#99217B #21993F
analogous
#7B2199 #99217B #99213F
triadic
#99217B #7B9921 #217B99
tetradic
#99217B #997B21 #21993F #213F99
square
#99217B #997B21 #21993F #213F99
split-complementary
#99217B #3F9921 #21997B
monochromatic
#340B2A #671653 #99217B #CB2CA3 #DB59BB

Accessibility & contrast

On white

7.35
#99217B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #99217B
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##99217B#FFFFFF#000000##FFFFFF
##99217B1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4A7D
Deuteranopia (green-blind)
#525D78
Tritanopia (blue-blind)
#A2254C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #99217b;
/* rgb */ color: rgb(153, 33, 123);
/* oklch */ color: oklch(47.7% 0.180 340.4);
Tailwind
colors: {
  custom: {
    50: '#bb6aa1',
    500: '#99217b',
    950: '#000000',
  },
}
SCSS
$custom: #99217b;
$custom-light: #bb6aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#99217b",
  "rgb": {
    "r": 153,
    "g": 33,
    "b": 123
  },
  "hsl": {
    "h": 315,
    "s": 64.516,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47683,
    "c": 0.17984,
    "h": 340.4
  },
  "luminance": 0.0929
}

Semantic roles & 50–950 ramp

primary
#99217B
secondary
#56BF71
accent
#E86A40
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070F
muted
#817A7E

Preview Lab

Preview with #99217B

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

Preview Lab → · Contrast checker → · Palette generator →

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