#A71A8A#A71A8A

#A71A8A is a mid, highly saturated pink. Relative luminance 0.108; OKLCH L 50.3% C 0.204 H 338.7°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#A71A8A
RGBrgb(167, 26, 138)
HSLhsl(312, 73%, 38%)
HSVhsv(312, 84%, 65%)
CMYKcmyk(0%, 84.4%, 17.4%, 34.5%)
CIE-LABlab(39.23, 63.71, -27.29)
CIE-LCHlch(39.23, 69.31, 336.82°)
OKLaboklab(50.33% 0.1896 -0.0741)
OKLCHoklch(50.33% 0.204 338.7)
XYZxyz(20.8938, 10.7914, 25.0224)
Luminance0.1079 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71A8A #1AA737
analogous
#7D1AA7 #A71A8A #A71A44
triadic
#A71A8A #8AA71A #1A8AA7
tetradic
#A71A8A #A77D1A #1AA737 #1A44A7
square
#A71A8A #A77D1A #1AA737 #1A44A7
split-complementary
#A71A8A #44A71A #1AA77D
monochromatic
#3D0A32 #72125E #A71A8A #DC22B6 #E557C8

Accessibility & contrast

On white

6.65
#A71A8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#A71A8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A71A8A
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71A8A#FFFFFF#000000##FFFFFF
##A71A8A1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244F8D
Deuteranopia (green-blind)
#566487
Tritanopia (blue-blind)
#B12353
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a71a8a;
/* rgb */ color: rgb(167, 26, 138);
/* oklch */ color: oklch(50.3% 0.204 338.7);
Tailwind
colors: {
  custom: {
    50: '#c56bac',
    500: '#a71a8a',
    950: '#000000',
  },
}
SCSS
$custom: #a71a8a;
$custom-light: #c56bac;
$custom-dark: #000000;
JSON
{
  "hex": "#a71a8a",
  "rgb": {
    "r": 167,
    "g": 26,
    "b": 138
  },
  "hsl": {
    "h": 312.34,
    "s": 73.057,
    "l": 37.843
  },
  "oklch": {
    "l": 0.50328,
    "c": 0.20354,
    "h": 338.7
  },
  "luminance": 0.10789
}

Semantic roles & 50–950 ramp

primary
#A71A8A
secondary
#55C86D
accent
#F05E38
background
#FCF6FA
surface
#F9ECF4
border
#D2C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #A71A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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