#A8217E#A8217E

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

Color values

HEX#A8217E
RGBrgb(168, 33, 126)
HSLhsl(319, 67%, 39%)
HSVhsv(319, 80%, 66%)
CMYKcmyk(0%, 80.4%, 25%, 34.1%)
CIE-LABlab(39.45, 60.66, -19.52)
CIE-LCHlch(39.45, 63.72, 342.16°)
OKLaboklab(50.34% 0.1837 -0.0521)
OKLCHoklch(50.34% 0.191 344.2)
XYZxyz(20.4591, 10.9212, 20.7652)
Luminance0.1092 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8217E #21A84B
analogous
#8F21A8 #A8217E #A8213A
triadic
#A8217E #7EA821 #217EA8
tetradic
#A8217E #A88F21 #21A84B #213AA8
square
#A8217E #A88F21 #21A84B #213AA8
split-complementary
#A8217E #3AA821 #21A88F
monochromatic
#420D31 #751758 #A8217E #D630A3 #E063B9

Accessibility & contrast

On white

6.60
#A8217E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#A8217E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8217E
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8217E#FFFFFF#000000##FFFFFF
##A8217E1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334F80
Deuteranopia (green-blind)
#5D657B
Tritanopia (blue-blind)
#B3204E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a8217e;
/* rgb */ color: rgb(168, 33, 126);
/* oklch */ color: oklch(50.3% 0.191 344.2);
Tailwind
colors: {
  custom: {
    50: '#c66da3',
    500: '#a8217e',
    950: '#000000',
  },
}
SCSS
$custom: #a8217e;
$custom-light: #c66da3;
$custom-dark: #000000;
JSON
{
  "hex": "#a8217e",
  "rgb": {
    "r": 168,
    "g": 33,
    "b": 126
  },
  "hsl": {
    "h": 318.667,
    "s": 67.164,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50339,
    "c": 0.19095,
    "h": 344.2
  },
  "luminance": 0.10919
}

Semantic roles & 50–950 ramp

primary
#A8217E
secondary
#5FC57F
accent
#EA733E
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14080F
muted
#827B7F

Preview Lab

Preview with #A8217E

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

Preview Lab → · Contrast checker → · Palette generator →

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