#A9217B#A9217B

#A9217B is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.4% C 0.190 H 345.8°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#A9217B
RGBrgb(169, 33, 123)
HSLhsl(320, 67%, 40%)
HSVhsv(320, 80%, 66%)
CMYKcmyk(0%, 80.5%, 27.2%, 33.7%)
CIE-LABlab(39.50, 60.52, -17.56)
CIE-LCHlch(39.50, 63.02, 343.82°)
OKLaboklab(50.37% 0.184 -0.0466)
OKLCHoklch(50.37% 0.19 345.8)
XYZxyz(20.4822, 10.9551, 19.7710)
Luminance0.1095 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9217B #21A94F
analogous
#9321A9 #A9217B #A92137
triadic
#A9217B #7BA921 #217BA9
tetradic
#A9217B #A99321 #21A94F #2137A9
square
#A9217B #A99321 #21A94F #2137A9
split-complementary
#A9217B #37A921 #21A993
monochromatic
#430D30 #761756 #A9217B #D7319E #E164B6

Accessibility & contrast

On white

6.58
#A9217B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#A9217B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A9217B
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A9217B#FFFFFF#000000##FFFFFF
##A9217B1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354E7D
Deuteranopia (green-blind)
#5F6578
Tritanopia (blue-blind)
#B51D4C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a9217b;
/* rgb */ color: rgb(169, 33, 123);
/* oklch */ color: oklch(50.4% 0.190 345.8);
Tailwind
colors: {
  custom: {
    50: '#c76da1',
    500: '#a9217b',
    950: '#000000',
  },
}
SCSS
$custom: #a9217b;
$custom-light: #c76da1;
$custom-dark: #000000;
JSON
{
  "hex": "#a9217b",
  "rgb": {
    "r": 169,
    "g": 33,
    "b": 123
  },
  "hsl": {
    "h": 320.294,
    "s": 67.327,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50373,
    "c": 0.18985,
    "h": 345.8
  },
  "luminance": 0.10953
}

Semantic roles & 50–950 ramp

primary
#A9217B
secondary
#60C682
accent
#EA783E
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080F
muted
#827B7E

Preview Lab

Preview with #A9217B

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

Preview Lab → · Contrast checker → · Palette generator →

#A9217B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva