#A71A8D#A71A8D

#A71A8D is a mid, highly saturated pink. Relative luminance 0.109; OKLCH L 50.5% C 0.205 H 337.5°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#A71A8D
RGBrgb(167, 26, 141)
HSLhsl(311, 73%, 38%)
HSVhsv(311, 84%, 65%)
CMYKcmyk(0%, 84.4%, 15.6%, 34.5%)
CIE-LABlab(39.38, 64.12, -28.89)
CIE-LCHlch(39.38, 70.33, 335.75°)
OKLaboklab(50.48% 0.1898 -0.0787)
OKLCHoklch(50.48% 0.205 337.5)
XYZxyz(21.1140, 10.8795, 26.1821)
Luminance0.1088 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71A8D #1AA734
analogous
#7A1AA7 #A71A8D #A71A46
triadic
#A71A8D #8DA71A #1A8DA7
tetradic
#A71A8D #A77A1A #1AA734 #1A46A7
square
#A71A8D #A77A1A #1AA734 #1A46A7
split-complementary
#A71A8D #46A71A #1AA77A
monochromatic
#3D0A34 #721260 #A71A8D #DC22BA #E557CB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A71A8D#FFFFFF#000000##FFFFFF
##A71A8D1.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)
#214F90
Deuteranopia (green-blind)
#55648A
Tritanopia (blue-blind)
#B02555
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a71a8d;
/* rgb */ color: rgb(167, 26, 141);
/* oklch */ color: oklch(50.5% 0.205 337.5);
Tailwind
colors: {
  custom: {
    50: '#c56bae',
    500: '#a71a8d',
    950: '#000000',
  },
}
SCSS
$custom: #a71a8d;
$custom-light: #c56bae;
$custom-dark: #000000;
JSON
{
  "hex": "#a71a8d",
  "rgb": {
    "r": 167,
    "g": 26,
    "b": 141
  },
  "hsl": {
    "h": 311.064,
    "s": 73.057,
    "l": 37.843
  },
  "oklch": {
    "l": 0.50484,
    "c": 0.20548,
    "h": 337.5
  },
  "luminance": 0.10877
}

Semantic roles & 50–950 ramp

primary
#A71A8D
secondary
#55C86A
accent
#F05A38
background
#FCF6FA
surface
#F9ECF4
border
#D2C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #A71A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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