#A71F87#A71F87

#A71F87 is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.5% C 0.198 H 340.0°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#A71F87
RGBrgb(167, 31, 135)
HSLhsl(314, 69%, 39%)
HSVhsv(314, 81%, 65%)
CMYKcmyk(0%, 81.4%, 19.2%, 34.5%)
CIE-LABlab(39.49, 62.12, -25.03)
CIE-LCHlch(39.49, 66.98, 338.06°)
OKLaboklab(50.47% 0.1857 -0.0677)
OKLCHoklch(50.47% 0.198 340)
XYZxyz(20.8001, 10.9469, 23.9345)
Luminance0.1095 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71F87 #1FA73F
analogous
#831FA7 #A71F87 #A71F43
triadic
#A71F87 #87A71F #1F87A7
tetradic
#A71F87 #A7831F #1FA73F #1F43A7
square
#A71F87 #A7831F #1FA73F #1F43A7
split-complementary
#A71F87 #43A71F #1FA783
monochromatic
#400C34 #73155D #A71F87 #D82BAF #E15FC3

Accessibility & contrast

On white

6.59
#A71F87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A71F87
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71F87#FFFFFF#000000##FFFFFF
##A71F871.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4F8A
Deuteranopia (green-blind)
#586584
Tritanopia (blue-blind)
#B12552
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a71f87;
/* rgb */ color: rgb(167, 31, 135);
/* oklch */ color: oklch(50.5% 0.198 340.0);
Tailwind
colors: {
  custom: {
    50: '#c56caa',
    500: '#a71f87',
    950: '#000000',
  },
}
SCSS
$custom: #a71f87;
$custom-light: #c56caa;
$custom-dark: #000000;
JSON
{
  "hex": "#a71f87",
  "rgb": {
    "r": 167,
    "g": 31,
    "b": 135
  },
  "hsl": {
    "h": 314.118,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.5047,
    "c": 0.19764,
    "h": 340
  },
  "luminance": 0.10945
}

Semantic roles & 50–950 ramp

primary
#A71F87
secondary
#5CC675
accent
#EC663C
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A71F87

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

Preview Lab → · Contrast checker → · Palette generator →

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