#A71C87#A71C87

#A71C87 is a mid, highly saturated pink. Relative luminance 0.108; OKLCH L 50.3% C 0.200 H 339.9°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#A71C87
RGBrgb(167, 28, 135)
HSLhsl(314, 71%, 38%)
HSVhsv(314, 83%, 65%)
CMYKcmyk(0%, 83.2%, 19.2%, 34.5%)
CIE-LABlab(39.24, 62.86, -25.42)
CIE-LCHlch(39.24, 67.80, 337.98°)
OKLaboklab(50.29% 0.1879 -0.0688)
OKLCHoklch(50.29% 0.2 339.9)
XYZxyz(20.7254, 10.7974, 23.9096)
Luminance0.1080 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71C87 #1CA73C
analogous
#811CA7 #A71C87 #A71C41
triadic
#A71C87 #87A71C #1C87A7
tetradic
#A71C87 #A7811C #1CA73C #1C41A7
square
#A71C87 #A7811C #1CA73C #1C41A7
split-complementary
#A71C87 #41A71C #1CA781
monochromatic
#3E0A32 #73135D #A71C87 #DB26B1 #E35AC4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A71C87#FFFFFF#000000##FFFFFF
##A71C871.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)
#284F8A
Deuteranopia (green-blind)
#586484
Tritanopia (blue-blind)
#B12252
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a71c87;
/* rgb */ color: rgb(167, 28, 135);
/* oklch */ color: oklch(50.3% 0.200 339.9);
Tailwind
colors: {
  custom: {
    50: '#c56baa',
    500: '#a71c87',
    950: '#000000',
  },
}
SCSS
$custom: #a71c87;
$custom-light: #c56baa;
$custom-dark: #000000;
JSON
{
  "hex": "#a71c87",
  "rgb": {
    "r": 167,
    "g": 28,
    "b": 135
  },
  "hsl": {
    "h": 313.813,
    "s": 71.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.50288,
    "c": 0.20012,
    "h": 339.9
  },
  "luminance": 0.10795
}

Semantic roles & 50–950 ramp

primary
#A71C87
secondary
#58C771
accent
#EE633A
background
#FCF6FA
surface
#F9ECF4
border
#D2C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #A71C87

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

Preview Lab → · Contrast checker → · Palette generator →

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