#A71D8B#A71D8B

#A71D8B is a mid, highly saturated pink. Relative luminance 0.110; OKLCH L 50.5% C 0.202 H 338.3°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#A71D8B
RGBrgb(167, 29, 139)
HSLhsl(312, 70%, 38%)
HSVhsv(312, 83%, 65%)
CMYKcmyk(0%, 82.6%, 16.8%, 34.5%)
CIE-LABlab(39.51, 63.16, -27.45)
CIE-LCHlch(39.51, 68.87, 336.51°)
OKLaboklab(50.55% 0.1876 -0.0746)
OKLCHoklch(50.55% 0.202 338.3)
XYZxyz(21.0365, 10.9604, 25.4288)
Luminance0.1096 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71D8B #1DA739
analogous
#7E1DA7 #A71D8B #A71D46
triadic
#A71D8B #8BA71D #1D8BA7
tetradic
#A71D8B #A77E1D #1DA739 #1D46A7
square
#A71D8B #A77E1D #1DA739 #1D46A7
split-complementary
#A71D8B #46A71D #1DA77E
monochromatic
#3F0B34 #731460 #A71D8B #DA28B5 #E35CC7

Accessibility & contrast

On white

6.58
#A71D8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#A71D8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A71D8B
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71D8B#FFFFFF#000000##FFFFFF
##A71D8B1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25508E
Deuteranopia (green-blind)
#566488
Tritanopia (blue-blind)
#B12654
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a71d8b;
/* rgb */ color: rgb(167, 29, 139);
/* oklch */ color: oklch(50.5% 0.202 338.3);
Tailwind
colors: {
  custom: {
    50: '#c56cad',
    500: '#a71d8b',
    950: '#000000',
  },
}
SCSS
$custom: #a71d8b;
$custom-light: #c56cad;
$custom-dark: #000000;
JSON
{
  "hex": "#a71d8b",
  "rgb": {
    "r": 167,
    "g": 29,
    "b": 139
  },
  "hsl": {
    "h": 312.174,
    "s": 70.408,
    "l": 38.431
  },
  "oklch": {
    "l": 0.5055,
    "c": 0.20187,
    "h": 338.3
  },
  "luminance": 0.10958
}

Semantic roles & 50–950 ramp

primary
#A71D8B
secondary
#59C76F
accent
#ED5F3B
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A71D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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