#A82171#A82171

#A82171 is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.8% C 0.184 H 350.0°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#A82171
RGBrgb(168, 33, 113)
HSLhsl(324, 67%, 39%)
HSVhsv(324, 80%, 66%)
CMYKcmyk(0%, 80.4%, 32.7%, 34.1%)
CIE-LABlab(38.91, 59.09, -12.24)
CIE-LCHlch(38.91, 60.34, 348.30°)
OKLaboklab(49.78% 0.181 -0.0319)
OKLCHoklch(49.78% 0.184 350)
XYZxyz(19.6741, 10.6072, 16.6309)
Luminance0.1061 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A82171 #21A858
analogous
#9B21A8 #A82171 #A8212E
triadic
#A82171 #71A821 #2171A8
tetradic
#A82171 #A89B21 #21A858 #212EA8
square
#A82171 #A89B21 #21A858 #212EA8
split-complementary
#A82171 #2EA821 #21A89B
monochromatic
#420D2C #75174F #A82171 #D63093 #E063AD

Accessibility & contrast

On white

6.73
#A82171 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#A82171 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A82171
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A82171#FFFFFF#000000##FFFFFF
##A821711.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4C73
Deuteranopia (green-blind)
#61646E
Tritanopia (blue-blind)
#B51647
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a82171;
/* rgb */ color: rgb(168, 33, 113);
/* oklch */ color: oklch(49.8% 0.184 350.0);
Tailwind
colors: {
  custom: {
    50: '#c76c99',
    500: '#a82171',
    950: '#000000',
  },
}
SCSS
$custom: #a82171;
$custom-light: #c76c99;
$custom-dark: #000000;
JSON
{
  "hex": "#a82171",
  "rgb": {
    "r": 168,
    "g": 33,
    "b": 113
  },
  "hsl": {
    "h": 324.444,
    "s": 67.164,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49775,
    "c": 0.1838,
    "h": 350
  },
  "luminance": 0.10605
}

Semantic roles & 50–950 ramp

primary
#A82171
secondary
#5FC589
accent
#EA843E
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080E
muted
#827B7E

Preview Lab

Preview with #A82171

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

Preview Lab → · Contrast checker → · Palette generator →

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