#A71D8C#A71D8C

#A71D8C is a mid, highly saturated pink. Relative luminance 0.110; OKLCH L 50.6% C 0.203 H 337.9°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#A71D8C
RGBrgb(167, 29, 140)
HSLhsl(312, 70%, 38%)
HSVhsv(312, 83%, 65%)
CMYKcmyk(0%, 82.6%, 16.2%, 34.5%)
CIE-LABlab(39.56, 63.30, -27.99)
CIE-LCHlch(39.56, 69.21, 336.15°)
OKLaboklab(50.6% 0.1877 -0.0761)
OKLCHoklch(50.6% 0.203 337.9)
XYZxyz(21.1099, 10.9898, 25.8154)
Luminance0.1099 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71D8C #1DA738
analogous
#7D1DA7 #A71D8C #A71D47
triadic
#A71D8C #8CA71D #1D8CA7
tetradic
#A71D8C #A77D1D #1DA738 #1D47A7
square
#A71D8C #A77D1D #1DA738 #1D47A7
split-complementary
#A71D8C #47A71D #1DA77D
monochromatic
#3F0B35 #731460 #A71D8C #DA28B7 #E35CC8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A71D8C#FFFFFF#000000##FFFFFF
##A71D8C1.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)
#24508F
Deuteranopia (green-blind)
#566589
Tritanopia (blue-blind)
#B12755
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a71d8c;
/* rgb */ color: rgb(167, 29, 140);
/* oklch */ color: oklch(50.6% 0.203 337.9);
Tailwind
colors: {
  custom: {
    50: '#c56cae',
    500: '#a71d8c',
    950: '#000000',
  },
}
SCSS
$custom: #a71d8c;
$custom-light: #c56cae;
$custom-dark: #000000;
JSON
{
  "hex": "#a71d8c",
  "rgb": {
    "r": 167,
    "g": 29,
    "b": 140
  },
  "hsl": {
    "h": 311.739,
    "s": 70.408,
    "l": 38.431
  },
  "oklch": {
    "l": 0.50601,
    "c": 0.20253,
    "h": 337.9
  },
  "luminance": 0.10988
}

Semantic roles & 50–950 ramp

primary
#A71D8C
secondary
#59C76F
accent
#ED5E3B
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A71D8C

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

Preview Lab → · Contrast checker → · Palette generator →

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