#A9217A#A9217A

#A9217A is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.3% C 0.189 H 346.2°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#A9217A
RGBrgb(169, 33, 122)
HSLhsl(321, 67%, 40%)
HSVhsv(321, 80%, 66%)
CMYKcmyk(0%, 80.5%, 27.8%, 33.7%)
CIE-LABlab(39.46, 60.40, -17.00)
CIE-LCHlch(39.46, 62.75, 344.28°)
OKLaboklab(50.33% 0.1838 -0.0451)
OKLCHoklch(50.33% 0.189 346.2)
XYZxyz(20.4199, 10.9302, 19.4430)
Luminance0.1093 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9217A #21A950
analogous
#9421A9 #A9217A #A92136
triadic
#A9217A #7AA921 #217AA9
tetradic
#A9217A #A99421 #21A950 #2136A9
square
#A9217A #A99421 #21A950 #2136A9
split-complementary
#A9217A #36A921 #21A994
monochromatic
#430D30 #761755 #A9217A #D7319D #E164B5

Accessibility & contrast

On white

6.59
#A9217A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A9217A
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A9217A#FFFFFF#000000##FFFFFF
##A9217A1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364E7C
Deuteranopia (green-blind)
#5F6577
Tritanopia (blue-blind)
#B51C4C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a9217a;
/* rgb */ color: rgb(169, 33, 122);
/* oklch */ color: oklch(50.3% 0.189 346.2);
Tailwind
colors: {
  custom: {
    50: '#c76da0',
    500: '#a9217a',
    950: '#000000',
  },
}
SCSS
$custom: #a9217a;
$custom-light: #c76da0;
$custom-dark: #000000;
JSON
{
  "hex": "#a9217a",
  "rgb": {
    "r": 169,
    "g": 33,
    "b": 122
  },
  "hsl": {
    "h": 320.735,
    "s": 67.327,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50328,
    "c": 0.18928,
    "h": 346.2
  },
  "luminance": 0.10928
}

Semantic roles & 50–950 ramp

primary
#A9217A
secondary
#60C683
accent
#EA793E
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080E
muted
#827B7E

Preview Lab

Preview with #A9217A

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

Preview Lab → · Contrast checker → · Palette generator →

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