#A71F82#A71F82

#A71F82 is a mid, vivid pink. Relative luminance 0.108; OKLCH L 50.2% C 0.195 H 342.0°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#A71F82
RGBrgb(167, 31, 130)
HSLhsl(316, 69%, 39%)
HSVhsv(316, 81%, 65%)
CMYKcmyk(0%, 81.4%, 22.2%, 34.5%)
CIE-LABlab(39.26, 61.46, -22.31)
CIE-LCHlch(39.26, 65.38, 340.05°)
OKLaboklab(50.23% 0.185 -0.06)
OKLCHoklch(50.23% 0.195 342)
XYZxyz(20.4564, 10.8094, 22.1239)
Luminance0.1081 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71F82 #1FA744
analogous
#881FA7 #A71F82 #A71F3E
triadic
#A71F82 #82A71F #1F82A7
tetradic
#A71F82 #A7881F #1FA744 #1F3EA7
square
#A71F82 #A7881F #1FA744 #1F3EA7
split-complementary
#A71F82 #3EA71F #1FA788
monochromatic
#400C32 #73155A #A71F82 #D82BA9 #E15FBE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A71F82#FFFFFF#000000##FFFFFF
##A71F821.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)
#2E4E85
Deuteranopia (green-blind)
#5A647F
Tritanopia (blue-blind)
#B2214F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a71f82;
/* rgb */ color: rgb(167, 31, 130);
/* oklch */ color: oklch(50.2% 0.195 342.0);
Tailwind
colors: {
  custom: {
    50: '#c56ca6',
    500: '#a71f82',
    950: '#000000',
  },
}
SCSS
$custom: #a71f82;
$custom-light: #c56ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#a71f82",
  "rgb": {
    "r": 167,
    "g": 31,
    "b": 130
  },
  "hsl": {
    "h": 316.324,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.50226,
    "c": 0.19452,
    "h": 342
  },
  "luminance": 0.10807
}

Semantic roles & 50–950 ramp

primary
#A71F82
secondary
#5CC679
accent
#EC6C3C
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A71F82

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

Preview Lab → · Contrast checker → · Palette generator →

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