#A9217D#A9217D

#A9217D is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.5% C 0.191 H 344.9°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#A9217D
RGBrgb(169, 33, 125)
HSLhsl(319, 67%, 40%)
HSVhsv(319, 80%, 66%)
CMYKcmyk(0%, 80.5%, 26%, 33.7%)
CIE-LABlab(39.59, 60.77, -18.67)
CIE-LCHlch(39.59, 63.57, 342.92°)
OKLaboklab(50.46% 0.1844 -0.0497)
OKLCHoklch(50.46% 0.191 344.9)
XYZxyz(20.6086, 11.0057, 20.4371)
Luminance0.1100 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9217D #21A94D
analogous
#9121A9 #A9217D #A92139
triadic
#A9217D #7DA921 #217DA9
tetradic
#A9217D #A99121 #21A94D #2139A9
square
#A9217D #A99121 #21A94D #2139A9
split-complementary
#A9217D #39A921 #21A991
monochromatic
#430D31 #761757 #A9217D #D731A1 #E164B8

Accessibility & contrast

On white

6.56
#A9217D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#A9217D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A9217D
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A9217D#FFFFFF#000000##FFFFFF
##A9217D1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344F7F
Deuteranopia (green-blind)
#5E657A
Tritanopia (blue-blind)
#B51E4D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a9217d;
/* rgb */ color: rgb(169, 33, 125);
/* oklch */ color: oklch(50.5% 0.191 344.9);
Tailwind
colors: {
  custom: {
    50: '#c76da2',
    500: '#a9217d',
    950: '#000000',
  },
}
SCSS
$custom: #a9217d;
$custom-light: #c76da2;
$custom-dark: #000000;
JSON
{
  "hex": "#a9217d",
  "rgb": {
    "r": 169,
    "g": 33,
    "b": 125
  },
  "hsl": {
    "h": 319.412,
    "s": 67.327,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50462,
    "c": 0.19099,
    "h": 344.9
  },
  "luminance": 0.11003
}

Semantic roles & 50–950 ramp

primary
#A9217D
secondary
#60C681
accent
#EA753E
background
#FCF7FA
surface
#F9EDF3
border
#D2C8CD
text
#14080F
muted
#827B7F

Preview Lab

Preview with #A9217D

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

Preview Lab → · Contrast checker → · Palette generator →

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