#99217F#99217F

#99217F is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.9% C 0.182 H 338.6°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#99217F
RGBrgb(153, 33, 127)
HSLhsl(313, 65%, 36%)
HSVhsv(313, 78%, 60%)
CMYKcmyk(0%, 78.4%, 17%, 40%)
CIE-LABlab(36.73, 57.22, -24.57)
CIE-LCHlch(36.73, 62.27, 336.76°)
OKLaboklab(47.88% 0.1699 -0.0666)
OKLCHoklch(47.88% 0.183 338.6)
XYZxyz(17.5119, 9.3940, 20.9655)
Luminance0.0939 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#99217F #21993B
analogous
#772199 #99217F #992143
triadic
#99217F #7F9921 #217F99
tetradic
#99217F #997721 #21993B #214399
square
#99217F #997721 #21993B #214399
split-complementary
#99217F #439921 #219977
monochromatic
#340B2B #671655 #99217F #CB2CA9 #DB59BF

Accessibility & contrast

On white

7.30
#99217F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#99217F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #99217F
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##99217F#FFFFFF#000000##FFFFFF
##99217F1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284B81
Deuteranopia (green-blind)
#515D7C
Tritanopia (blue-blind)
#A2274E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #99217f;
/* rgb */ color: rgb(153, 33, 127);
/* oklch */ color: oklch(47.9% 0.182 338.6);
Tailwind
colors: {
  custom: {
    50: '#bb6aa4',
    500: '#99217f',
    950: '#000000',
  },
}
SCSS
$custom: #99217f;
$custom-light: #bb6aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#99217f",
  "rgb": {
    "r": 153,
    "g": 33,
    "b": 127
  },
  "hsl": {
    "h": 313,
    "s": 64.516,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47884,
    "c": 0.1825,
    "h": 338.6
  },
  "luminance": 0.09392
}

Semantic roles & 50–950 ramp

primary
#99217F
secondary
#56BF6D
accent
#E86540
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #99217F

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

Preview Lab → · Contrast checker → · Palette generator →

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