#A71A8C#A71A8C

#A71A8C is a mid, highly saturated pink. Relative luminance 0.108; OKLCH L 50.4% C 0.205 H 337.9°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#A71A8C
RGBrgb(167, 26, 140)
HSLhsl(311, 73%, 38%)
HSVhsv(311, 84%, 65%)
CMYKcmyk(0%, 84.4%, 16.2%, 34.5%)
CIE-LABlab(39.33, 63.99, -28.36)
CIE-LCHlch(39.33, 69.99, 336.10°)
OKLaboklab(50.43% 0.1897 -0.0772)
OKLCHoklch(50.43% 0.205 337.9)
XYZxyz(21.0399, 10.8498, 25.7920)
Luminance0.1085 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71A8C #1AA735
analogous
#7B1AA7 #A71A8C #A71A46
triadic
#A71A8C #8CA71A #1A8CA7
tetradic
#A71A8C #A77B1A #1AA735 #1A46A7
square
#A71A8C #A77B1A #1AA735 #1A46A7
split-complementary
#A71A8C #46A71A #1AA77B
monochromatic
#3D0A33 #721260 #A71A8C #DC22B8 #E557CA

Accessibility & contrast

On white

6.63
#A71A8C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#A71A8C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A71A8C
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71A8C#FFFFFF#000000##FFFFFF
##A71A8C1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224F8F
Deuteranopia (green-blind)
#556489
Tritanopia (blue-blind)
#B12454
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a71a8c;
/* rgb */ color: rgb(167, 26, 140);
/* oklch */ color: oklch(50.4% 0.205 337.9);
Tailwind
colors: {
  custom: {
    50: '#c56bae',
    500: '#a71a8c',
    950: '#000000',
  },
}
SCSS
$custom: #a71a8c;
$custom-light: #c56bae;
$custom-dark: #000000;
JSON
{
  "hex": "#a71a8c",
  "rgb": {
    "r": 167,
    "g": 26,
    "b": 140
  },
  "hsl": {
    "h": 311.489,
    "s": 73.057,
    "l": 37.843
  },
  "oklch": {
    "l": 0.50431,
    "c": 0.20483,
    "h": 337.9
  },
  "luminance": 0.10848
}

Semantic roles & 50–950 ramp

primary
#A71A8C
secondary
#55C86B
accent
#F05B38
background
#FCF6FA
surface
#F9ECF4
border
#D2C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #A71A8C

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

Preview Lab → · Contrast checker → · Palette generator →

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