#91217E#91217E

#91217E is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.5% C 0.177 H 336.0°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#91217E
RGBrgb(145, 33, 126)
HSLhsl(310, 63%, 35%)
HSVhsv(310, 77%, 57%)
CMYKcmyk(0%, 77.2%, 13.1%, 43.1%)
CIE-LABlab(35.23, 55.17, -26.40)
CIE-LCHlch(35.23, 61.16, 334.43°)
OKLaboklab(46.52% 0.1619 -0.072)
OKLCHoklch(46.52% 0.177 336)
XYZxyz(15.9871, 8.6153, 20.5556)
Luminance0.0861 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#91217E #219134
analogous
#6C2191 #91217E #912146
triadic
#91217E #7E9121 #217E91
tetradic
#91217E #916C21 #219134 #214691
square
#91217E #916C21 #219134 #214691
split-complementary
#91217E #469121 #21916C
monochromatic
#2D0A27 #5F1653 #91217E #C32CA9 #D854C2

Accessibility & contrast

On white

7.71
#91217E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#91217E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #91217E
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##91217E#FFFFFF#000000##FFFFFF
##91217E1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224880
Deuteranopia (green-blind)
#4B597B
Tritanopia (blue-blind)
#992A4E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #91217e;
/* rgb */ color: rgb(145, 33, 126);
/* oklch */ color: oklch(46.5% 0.177 336.0);
Tailwind
colors: {
  custom: {
    50: '#b569a3',
    500: '#91217e',
    950: '#000000',
  },
}
SCSS
$custom: #91217e;
$custom-light: #b569a3;
$custom-dark: #000000;
JSON
{
  "hex": "#91217e",
  "rgb": {
    "r": 145,
    "g": 33,
    "b": 126
  },
  "hsl": {
    "h": 310.179,
    "s": 62.921,
    "l": 34.902
  },
  "oklch": {
    "l": 0.46516,
    "c": 0.17715,
    "h": 336
  },
  "luminance": 0.08614
}

Semantic roles & 50–950 ramp

primary
#91217E
secondary
#52BC64
accent
#E65E42
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #91217E

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

Preview Lab → · Contrast checker → · Palette generator →

#91217E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva