#A71987#A71987

#A71987 is a mid, highly saturated pink. Relative luminance 0.107; OKLCH L 50.1% C 0.202 H 339.8°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#A71987
RGBrgb(167, 25, 135)
HSLhsl(314, 74%, 38%)
HSVhsv(314, 85%, 65%)
CMYKcmyk(0%, 85%, 19.2%, 34.5%)
CIE-LABlab(39.01, 63.53, -25.79)
CIE-LCHlch(39.01, 68.56, 337.91°)
OKLaboklab(50.12% 0.19 -0.0698)
OKLCHoklch(50.12% 0.202 339.8)
XYZxyz(20.6578, 10.6622, 23.8871)
Luminance0.1066 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71987 #19A739
analogous
#8019A7 #A71987 #A71940
triadic
#A71987 #87A719 #1987A7
tetradic
#A71987 #A78019 #19A739 #1940A7
square
#A71987 #A78019 #19A739 #1940A7
split-complementary
#A71987 #40A719 #19A780
monochromatic
#3D0931 #72115C #A71987 #DC21B2 #E655C5

Accessibility & contrast

On white

6.70
#A71987 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#A71987 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A71987
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71987#FFFFFF#000000##FFFFFF
##A719871.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264E8A
Deuteranopia (green-blind)
#576484
Tritanopia (blue-blind)
#B12051
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a71987;
/* rgb */ color: rgb(167, 25, 135);
/* oklch */ color: oklch(50.1% 0.202 339.8);
Tailwind
colors: {
  custom: {
    50: '#c56aaa',
    500: '#a71987',
    950: '#000000',
  },
}
SCSS
$custom: #a71987;
$custom-light: #c56aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#a71987",
  "rgb": {
    "r": 167,
    "g": 25,
    "b": 135
  },
  "hsl": {
    "h": 313.521,
    "s": 73.958,
    "l": 37.647
  },
  "oklch": {
    "l": 0.50122,
    "c": 0.20238,
    "h": 339.8
  },
  "luminance": 0.1066
}

Semantic roles & 50–950 ramp

primary
#A71987
secondary
#53C86E
accent
#F16137
background
#FCF6FA
surface
#F9ECF4
border
#D2C7CE
text
#140810
muted
#827A7F

Preview Lab

Preview with #A71987

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

Preview Lab → · Contrast checker → · Palette generator →

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