#A71887#A71887

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

Color values

HEX#A71887
RGBrgb(167, 24, 135)
HSLhsl(313, 75%, 37%)
HSVhsv(313, 86%, 65%)
CMYKcmyk(0%, 85.6%, 19.2%, 34.5%)
CIE-LABlab(38.93, 63.74, -25.90)
CIE-LCHlch(38.93, 68.80, 337.89°)
OKLaboklab(50.07% 0.1906 -0.0701)
OKLCHoklch(50.07% 0.203 339.8)
XYZxyz(20.6368, 10.6202, 23.8801)
Luminance0.1062 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71887 #18A738
analogous
#8018A7 #A71887 #A7183F
triadic
#A71887 #87A718 #1887A7
tetradic
#A71887 #A78018 #18A738 #183FA7
square
#A71887 #A78018 #18A738 #183FA7
split-complementary
#A71887 #3FA718 #18A780
monochromatic
#3C0930 #71105C #A71887 #DD20B2 #E653C5

Accessibility & contrast

On white

6.72
#A71887 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#A71887 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A71887
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71887#FFFFFF#000000##FFFFFF
##A718871.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254E8A
Deuteranopia (green-blind)
#576384
Tritanopia (blue-blind)
#B11F51
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a71887;
/* rgb */ color: rgb(167, 24, 135);
/* oklch */ color: oklch(50.1% 0.203 339.8);
Tailwind
colors: {
  custom: {
    50: '#c66aaa',
    500: '#a71887',
    950: '#000000',
  },
}
SCSS
$custom: #a71887;
$custom-light: #c66aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#a71887",
  "rgb": {
    "r": 167,
    "g": 24,
    "b": 135
  },
  "hsl": {
    "h": 313.427,
    "s": 74.869,
    "l": 37.451
  },
  "oklch": {
    "l": 0.5007,
    "c": 0.20309,
    "h": 339.8
  },
  "luminance": 0.10618
}

Semantic roles & 50–950 ramp

primary
#A71887
secondary
#52C96D
accent
#F16036
background
#FCF6FA
surface
#F9ECF4
border
#D2C7CE
text
#140810
muted
#827A7F

Preview Lab

Preview with #A71887

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

Preview Lab → · Contrast checker → · Palette generator →

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