#A71B87#A71B87

#A71B87 is a mid, highly saturated pink. Relative luminance 0.107; OKLCH L 50.2% C 0.201 H 339.9°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#A71B87
RGBrgb(167, 27, 135)
HSLhsl(314, 72%, 38%)
HSVhsv(314, 84%, 65%)
CMYKcmyk(0%, 83.8%, 19.2%, 34.5%)
CIE-LABlab(39.16, 63.09, -25.55)
CIE-LCHlch(39.16, 68.06, 337.95°)
OKLaboklab(50.23% 0.1886 -0.0691)
OKLCHoklch(50.23% 0.201 339.9)
XYZxyz(20.7021, 10.7508, 23.9018)
Luminance0.1075 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71B87 #1BA73B
analogous
#811BA7 #A71B87 #A71B41
triadic
#A71B87 #87A71B #1B87A7
tetradic
#A71B87 #A7811B #1BA73B #1B41A7
square
#A71B87 #A7811B #1BA73B #1B41A7
split-complementary
#A71B87 #41A71B #1BA781
monochromatic
#3E0A32 #72125C #A71B87 #DC24B2 #E458C4

Accessibility & contrast

On white

6.67
#A71B87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#A71B87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A71B87
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71B87#FFFFFF#000000##FFFFFF
##A71B871.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a71b87;
/* rgb */ color: rgb(167, 27, 135);
/* oklch */ color: oklch(50.2% 0.201 339.9);
Tailwind
colors: {
  custom: {
    50: '#c56baa',
    500: '#a71b87',
    950: '#000000',
  },
}
SCSS
$custom: #a71b87;
$custom-light: #c56baa;
$custom-dark: #000000;
JSON
{
  "hex": "#a71b87",
  "rgb": {
    "r": 167,
    "g": 27,
    "b": 135
  },
  "hsl": {
    "h": 313.714,
    "s": 72.165,
    "l": 38.039
  },
  "oklch": {
    "l": 0.50231,
    "c": 0.2009,
    "h": 339.9
  },
  "luminance": 0.10749
}

Semantic roles & 50–950 ramp

primary
#A71B87
secondary
#56C870
accent
#EF6339
background
#FCF6FA
surface
#F9ECF4
border
#D2C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #A71B87

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

Preview Lab → · Contrast checker → · Palette generator →

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