#A71F86#A71F86

#A71F86 is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.4% C 0.197 H 340.4°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#A71F86
RGBrgb(167, 31, 134)
HSLhsl(315, 69%, 39%)
HSVhsv(315, 81%, 65%)
CMYKcmyk(0%, 81.4%, 19.8%, 34.5%)
CIE-LABlab(39.44, 61.99, -24.49)
CIE-LCHlch(39.44, 66.65, 338.44°)
OKLaboklab(50.42% 0.1856 -0.0661)
OKLCHoklch(50.42% 0.197 340.4)
XYZxyz(20.7301, 10.9188, 23.5655)
Luminance0.1092 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71F86 #1FA740
analogous
#841FA7 #A71F86 #A71F42
triadic
#A71F86 #86A71F #1F86A7
tetradic
#A71F86 #A7841F #1FA740 #1F42A7
square
#A71F86 #A7841F #1FA740 #1F42A7
split-complementary
#A71F86 #42A71F #1FA784
monochromatic
#400C33 #73155D #A71F86 #D82BAE #E15FC2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A71F86#FFFFFF#000000##FFFFFF
##A71F861.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)
#2B4F89
Deuteranopia (green-blind)
#596483
Tritanopia (blue-blind)
#B12452
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a71f86;
/* rgb */ color: rgb(167, 31, 134);
/* oklch */ color: oklch(50.4% 0.197 340.4);
Tailwind
colors: {
  custom: {
    50: '#c56ca9',
    500: '#a71f86',
    950: '#000000',
  },
}
SCSS
$custom: #a71f86;
$custom-light: #c56ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#a71f86",
  "rgb": {
    "r": 167,
    "g": 31,
    "b": 134
  },
  "hsl": {
    "h": 314.559,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.50421,
    "c": 0.19701,
    "h": 340.4
  },
  "luminance": 0.10917
}

Semantic roles & 50–950 ramp

primary
#A71F86
secondary
#5CC676
accent
#EC673C
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A71F86

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

Preview Lab → · Contrast checker → · Palette generator →

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