#A8217A#A8217A

#A8217A is a mid, vivid pink. Relative luminance 0.108; OKLCH L 50.2% C 0.189 H 345.9°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#A8217A
RGBrgb(168, 33, 122)
HSLhsl(320, 67%, 39%)
HSVhsv(320, 80%, 66%)
CMYKcmyk(0%, 80.4%, 27.4%, 34.1%)
CIE-LABlab(39.28, 60.16, -17.30)
CIE-LCHlch(39.28, 62.59, 343.95°)
OKLaboklab(50.16% 0.183 -0.0459)
OKLCHoklch(50.16% 0.189 345.9)
XYZxyz(20.2061, 10.8200, 19.4329)
Luminance0.1082 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8217A #21A84F
analogous
#9221A8 #A8217A #A82137
triadic
#A8217A #7AA821 #217AA8
tetradic
#A8217A #A89221 #21A84F #2137A8
square
#A8217A #A89221 #21A84F #2137A8
split-complementary
#A8217A #37A821 #21A892
monochromatic
#420D30 #751755 #A8217A #D6309E #E063B6

Accessibility & contrast

On white

6.64
#A8217A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#A8217A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8217A
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8217A#FFFFFF#000000##FFFFFF
##A8217A1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354E7C
Deuteranopia (green-blind)
#5E6577
Tritanopia (blue-blind)
#B41D4C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a8217a;
/* rgb */ color: rgb(168, 33, 122);
/* oklch */ color: oklch(50.2% 0.189 345.9);
Tailwind
colors: {
  custom: {
    50: '#c66da0',
    500: '#a8217a',
    950: '#000000',
  },
}
SCSS
$custom: #a8217a;
$custom-light: #c66da0;
$custom-dark: #000000;
JSON
{
  "hex": "#a8217a",
  "rgb": {
    "r": 168,
    "g": 33,
    "b": 122
  },
  "hsl": {
    "h": 320.444,
    "s": 67.164,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50159,
    "c": 0.18864,
    "h": 345.9
  },
  "luminance": 0.10818
}

Semantic roles & 50–950 ramp

primary
#A8217A
secondary
#5FC582
accent
#EA783E
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080E
muted
#827B7E

Preview Lab

Preview with #A8217A

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

Preview Lab → · Contrast checker → · Palette generator →

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