#A71E8B#A71E8B

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

Color values

HEX#A71E8B
RGBrgb(167, 30, 139)
HSLhsl(312, 70%, 39%)
HSVhsv(312, 82%, 65%)
CMYKcmyk(0%, 82%, 16.8%, 34.5%)
CIE-LABlab(39.60, 62.92, -27.32)
CIE-LCHlch(39.60, 68.60, 336.53°)
OKLaboklab(50.61% 0.1869 -0.0742)
OKLCHoklch(50.61% 0.201 338.3)
XYZxyz(21.0614, 11.0102, 25.4371)
Luminance0.1101 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71E8B #1EA73A
analogous
#7E1EA7 #A71E8B #A71E46
triadic
#A71E8B #8BA71E #1E8BA7
tetradic
#A71E8B #A77E1E #1EA73A #1E46A7
square
#A71E8B #A77E1E #1EA73A #1E46A7
split-complementary
#A71E8B #46A71E #1EA77E
monochromatic
#3F0B35 #731560 #A71E8B #D92AB5 #E25DC7

Accessibility & contrast

On white

6.56
#A71E8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#A71E8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A71E8B
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71E8B#FFFFFF#000000##FFFFFF
##A71E8B1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26508E
Deuteranopia (green-blind)
#576588
Tritanopia (blue-blind)
#B12754
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a71e8b;
/* rgb */ color: rgb(167, 30, 139);
/* oklch */ color: oklch(50.6% 0.201 338.3);
Tailwind
colors: {
  custom: {
    50: '#c56cad',
    500: '#a71e8b',
    950: '#000000',
  },
}
SCSS
$custom: #a71e8b;
$custom-light: #c56cad;
$custom-dark: #000000;
JSON
{
  "hex": "#a71e8b",
  "rgb": {
    "r": 167,
    "g": 30,
    "b": 139
  },
  "hsl": {
    "h": 312.263,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.5061,
    "c": 0.20106,
    "h": 338.3
  },
  "luminance": 0.11008
}

Semantic roles & 50–950 ramp

primary
#A71E8B
secondary
#5BC671
accent
#EC603B
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A71E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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