#A8217D#A8217D

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

Color values

HEX#A8217D
RGBrgb(168, 33, 125)
HSLhsl(319, 67%, 39%)
HSVhsv(319, 80%, 66%)
CMYKcmyk(0%, 80.4%, 25.6%, 34.1%)
CIE-LABlab(39.40, 60.53, -18.97)
CIE-LCHlch(39.40, 63.43, 342.60°)
OKLaboklab(50.29% 0.1835 -0.0506)
OKLCHoklch(50.29% 0.19 344.6)
XYZxyz(20.3949, 10.8955, 20.4271)
Luminance0.1089 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8217D #21A84C
analogous
#9021A8 #A8217D #A8213A
triadic
#A8217D #7DA821 #217DA8
tetradic
#A8217D #A89021 #21A84C #213AA8
square
#A8217D #A89021 #21A84C #213AA8
split-complementary
#A8217D #3AA821 #21A890
monochromatic
#420D31 #751757 #A8217D #D630A1 #E063B8

Accessibility & contrast

On white

6.61
#A8217D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A8217D
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8217D#FFFFFF#000000##FFFFFF
##A8217D1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334E7F
Deuteranopia (green-blind)
#5D657A
Tritanopia (blue-blind)
#B41F4D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a8217d;
/* rgb */ color: rgb(168, 33, 125);
/* oklch */ color: oklch(50.3% 0.190 344.6);
Tailwind
colors: {
  custom: {
    50: '#c66da2',
    500: '#a8217d',
    950: '#000000',
  },
}
SCSS
$custom: #a8217d;
$custom-light: #c66da2;
$custom-dark: #000000;
JSON
{
  "hex": "#a8217d",
  "rgb": {
    "r": 168,
    "g": 33,
    "b": 125
  },
  "hsl": {
    "h": 319.111,
    "s": 67.164,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50293,
    "c": 0.19036,
    "h": 344.6
  },
  "luminance": 0.10893
}

Semantic roles & 50–950 ramp

primary
#A8217D
secondary
#5FC580
accent
#EA753E
background
#FCF7FA
surface
#F9EDF3
border
#D2C8CD
text
#14080F
muted
#827B7F

Preview Lab

Preview with #A8217D

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

Preview Lab → · Contrast checker → · Palette generator →

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