#A71A8E#A71A8E

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

Color values

HEX#A71A8E
RGBrgb(167, 26, 142)
HSLhsl(311, 73%, 38%)
HSVhsv(311, 84%, 65%)
CMYKcmyk(0%, 84.4%, 15%, 34.5%)
CIE-LABlab(39.43, 64.26, -29.42)
CIE-LCHlch(39.43, 70.68, 335.40°)
OKLaboklab(50.54% 0.1899 -0.0802)
OKLCHoklch(50.54% 0.206 337.1)
XYZxyz(21.1887, 10.9094, 26.5758)
Luminance0.1091 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71A8E #1AA733
analogous
#791AA7 #A71A8E #A71A48
triadic
#A71A8E #8EA71A #1A8EA7
tetradic
#A71A8E #A7791A #1AA733 #1A48A7
square
#A71A8E #A7791A #1AA733 #1A48A7
split-complementary
#A71A8E #48A71A #1AA779
monochromatic
#3D0A34 #721261 #A71A8E #DC22BB #E557CC

Accessibility & contrast

On white

6.60
#A71A8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A71A8E
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71A8E#FFFFFF#000000##FFFFFF
##A71A8E1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205091
Deuteranopia (green-blind)
#54648B
Tritanopia (blue-blind)
#B02655
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a71a8e;
/* rgb */ color: rgb(167, 26, 142);
/* oklch */ color: oklch(50.5% 0.206 337.1);
Tailwind
colors: {
  custom: {
    50: '#c56baf',
    500: '#a71a8e',
    950: '#000000',
  },
}
SCSS
$custom: #a71a8e;
$custom-light: #c56baf;
$custom-dark: #000000;
JSON
{
  "hex": "#a71a8e",
  "rgb": {
    "r": 167,
    "g": 26,
    "b": 142
  },
  "hsl": {
    "h": 310.638,
    "s": 73.057,
    "l": 37.843
  },
  "oklch": {
    "l": 0.50536,
    "c": 0.20613,
    "h": 337.1
  },
  "luminance": 0.10907
}

Semantic roles & 50–950 ramp

primary
#A71A8E
secondary
#55C869
accent
#F05938
background
#FCF6FA
surface
#F9ECF4
border
#D2C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #A71A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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