#9A216E#9A216E

#9A216E is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.2% C 0.173 H 346.9°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#9A216E
RGBrgb(154, 33, 110)
HSLhsl(322, 65%, 37%)
HSVhsv(322, 79%, 60%)
CMYKcmyk(0%, 78.6%, 28.6%, 39.6%)
CIE-LABlab(36.15, 55.19, -14.80)
CIE-LCHlch(36.15, 57.14, 344.99°)
OKLaboklab(47.25% 0.168 -0.0391)
OKLCHoklch(47.25% 0.173 346.9)
XYZxyz(16.6856, 9.0854, 15.6238)
Luminance0.0908 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A216E #219A4D
analogous
#8A219A #9A216E #9A2132
triadic
#9A216E #6E9A21 #216E9A
tetradic
#9A216E #9A8A21 #219A4D #21329A
square
#9A216E #9A8A21 #219A4D #21329A
split-complementary
#9A216E #329A21 #219A8A
monochromatic
#350B26 #68164A #9A216E #CC2C92 #DC5AAC

Accessibility & contrast

On white

7.46
#9A216E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#9A216E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A216E
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A216E#FFFFFF#000000##FFFFFF
##9A216E1.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334870
Deuteranopia (green-blind)
#575C6B
Tritanopia (blue-blind)
#A51C45
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9a216e;
/* rgb */ color: rgb(154, 33, 110);
/* oklch */ color: oklch(47.2% 0.173 346.9);
Tailwind
colors: {
  custom: {
    50: '#bc6a97',
    500: '#9a216e',
    950: '#000000',
  },
}
SCSS
$custom: #9a216e;
$custom-light: #bc6a97;
$custom-dark: #000000;
JSON
{
  "hex": "#9a216e",
  "rgb": {
    "r": 154,
    "g": 33,
    "b": 110
  },
  "hsl": {
    "h": 321.818,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47245,
    "c": 0.17253,
    "h": 346.9
  },
  "luminance": 0.09084
}

Semantic roles & 50–950 ramp

primary
#9A216E
secondary
#57C07D
accent
#E87D40
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9A216E

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

Preview Lab → · Contrast checker → · Palette generator →

#9A216E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva