#A71F81#A71F81

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

Color values

HEX#A71F81
RGBrgb(167, 31, 129)
HSLhsl(317, 69%, 39%)
HSVhsv(317, 81%, 65%)
CMYKcmyk(0%, 81.4%, 22.8%, 34.5%)
CIE-LABlab(39.21, 61.33, -21.76)
CIE-LCHlch(39.21, 65.08, 340.47°)
OKLaboklab(50.18% 0.1849 -0.0584)
OKLCHoklch(50.18% 0.194 342.5)
XYZxyz(20.3896, 10.7826, 21.7721)
Luminance0.1078 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71F81 #1FA745
analogous
#891FA7 #A71F81 #A71F3D
triadic
#A71F81 #81A71F #1F81A7
tetradic
#A71F81 #A7891F #1FA745 #1F3DA7
square
#A71F81 #A7891F #1FA745 #1F3DA7
split-complementary
#A71F81 #3DA71F #1FA789
monochromatic
#400C31 #731559 #A71F81 #D82BA8 #E15FBD

Accessibility & contrast

On white

6.65
#A71F81 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A71F81
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71F81#FFFFFF#000000##FFFFFF
##A71F811.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4E83
Deuteranopia (green-blind)
#5B647E
Tritanopia (blue-blind)
#B2214F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a71f81;
/* rgb */ color: rgb(167, 31, 129);
/* oklch */ color: oklch(50.2% 0.194 342.5);
Tailwind
colors: {
  custom: {
    50: '#c56ca5',
    500: '#a71f81',
    950: '#000000',
  },
}
SCSS
$custom: #a71f81;
$custom-light: #c56ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#a71f81",
  "rgb": {
    "r": 167,
    "g": 31,
    "b": 129
  },
  "hsl": {
    "h": 316.765,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.50178,
    "c": 0.19391,
    "h": 342.5
  },
  "luminance": 0.1078
}

Semantic roles & 50–950 ramp

primary
#A71F81
secondary
#5CC67A
accent
#EC6D3C
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A71F81

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

Preview Lab → · Contrast checker → · Palette generator →

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