#A9217C#A9217C

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

Color values

HEX#A9217C
RGBrgb(169, 33, 124)
HSLhsl(320, 67%, 40%)
HSVhsv(320, 80%, 66%)
CMYKcmyk(0%, 80.5%, 26.6%, 33.7%)
CIE-LABlab(39.55, 60.64, -18.11)
CIE-LCHlch(39.55, 63.29, 343.37°)
OKLaboklab(50.42% 0.1842 -0.0482)
OKLCHoklch(50.42% 0.19 345.3)
XYZxyz(20.5451, 10.9803, 20.1023)
Luminance0.1098 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9217C #21A94E
analogous
#9221A9 #A9217C #A92138
triadic
#A9217C #7CA921 #217CA9
tetradic
#A9217C #A99221 #21A94E #2138A9
square
#A9217C #A99221 #21A94E #2138A9
split-complementary
#A9217C #38A921 #21A992
monochromatic
#430D31 #761756 #A9217C #D731A0 #E164B7

Accessibility & contrast

On white

6.57
#A9217C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A9217C
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A9217C#FFFFFF#000000##FFFFFF
##A9217C1.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354F7E
Deuteranopia (green-blind)
#5E6579
Tritanopia (blue-blind)
#B51E4D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a9217c;
/* rgb */ color: rgb(169, 33, 124);
/* oklch */ color: oklch(50.4% 0.190 345.3);
Tailwind
colors: {
  custom: {
    50: '#c76da2',
    500: '#a9217c',
    950: '#000000',
  },
}
SCSS
$custom: #a9217c;
$custom-light: #c76da2;
$custom-dark: #000000;
JSON
{
  "hex": "#a9217c",
  "rgb": {
    "r": 169,
    "g": 33,
    "b": 124
  },
  "hsl": {
    "h": 319.853,
    "s": 67.327,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50417,
    "c": 0.19042,
    "h": 345.3
  },
  "luminance": 0.10978
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A9217C

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

Preview Lab → · Contrast checker → · Palette generator →

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