#A71A8B#A71A8B

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

Color values

HEX#A71A8B
RGBrgb(167, 26, 139)
HSLhsl(312, 73%, 38%)
HSVhsv(312, 84%, 65%)
CMYKcmyk(0%, 84.4%, 16.8%, 34.5%)
CIE-LABlab(39.28, 63.85, -27.82)
CIE-LCHlch(39.28, 69.65, 336.45°)
OKLaboklab(50.38% 0.1897 -0.0756)
OKLCHoklch(50.38% 0.204 338.3)
XYZxyz(20.9665, 10.8205, 25.4055)
Luminance0.1082 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71A8B #1AA736
analogous
#7C1AA7 #A71A8B #A71A44
triadic
#A71A8B #8BA71A #1A8BA7
tetradic
#A71A8B #A77C1A #1AA736 #1A44A7
square
#A71A8B #A77C1A #1AA736 #1A44A7
split-complementary
#A71A8B #44A71A #1AA77C
monochromatic
#3D0A33 #72125F #A71A8B #DC22B7 #E557C9

Accessibility & contrast

On white

6.64
#A71A8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A71A8B
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71A8B#FFFFFF#000000##FFFFFF
##A71A8B1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234F8E
Deuteranopia (green-blind)
#566488
Tritanopia (blue-blind)
#B12453
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a71a8b;
/* rgb */ color: rgb(167, 26, 139);
/* oklch */ color: oklch(50.4% 0.204 338.3);
Tailwind
colors: {
  custom: {
    50: '#c56bad',
    500: '#a71a8b',
    950: '#000000',
  },
}
SCSS
$custom: #a71a8b;
$custom-light: #c56bad;
$custom-dark: #000000;
JSON
{
  "hex": "#a71a8b",
  "rgb": {
    "r": 167,
    "g": 26,
    "b": 139
  },
  "hsl": {
    "h": 311.915,
    "s": 73.057,
    "l": 37.843
  },
  "oklch": {
    "l": 0.50379,
    "c": 0.20419,
    "h": 338.3
  },
  "luminance": 0.10818
}

Semantic roles & 50–950 ramp

primary
#A71A8B
secondary
#55C86C
accent
#F05D38
background
#FCF6FA
surface
#F9ECF4
border
#D2C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #A71A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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