#A71C8C#A71C8C

#A71C8C is a mid, highly saturated pink. Relative luminance 0.109; OKLCH L 50.5% C 0.203 H 337.9°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#A71C8C
RGBrgb(167, 28, 140)
HSLhsl(312, 71%, 38%)
HSVhsv(312, 83%, 65%)
CMYKcmyk(0%, 83.2%, 16.2%, 34.5%)
CIE-LABlab(39.48, 63.54, -28.11)
CIE-LCHlch(39.48, 69.48, 336.13°)
OKLaboklab(50.54% 0.1884 -0.0765)
OKLCHoklch(50.54% 0.203 337.9)
XYZxyz(21.0857, 10.9416, 25.8073)
Luminance0.1094 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71C8C #1CA737
analogous
#7C1CA7 #A71C8C #A71C46
triadic
#A71C8C #8CA71C #1C8CA7
tetradic
#A71C8C #A77C1C #1CA737 #1C46A7
square
#A71C8C #A77C1C #1CA737 #1C46A7
split-complementary
#A71C8C #46A71C #1CA77C
monochromatic
#3E0A34 #731360 #A71C8C #DB26B7 #E35AC9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A71C8C#FFFFFF#000000##FFFFFF
##A71C8C1.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)
#24508F
Deuteranopia (green-blind)
#566489
Tritanopia (blue-blind)
#B12654
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a71c8c;
/* rgb */ color: rgb(167, 28, 140);
/* oklch */ color: oklch(50.5% 0.203 337.9);
Tailwind
colors: {
  custom: {
    50: '#c56bae',
    500: '#a71c8c',
    950: '#000000',
  },
}
SCSS
$custom: #a71c8c;
$custom-light: #c56bae;
$custom-dark: #000000;
JSON
{
  "hex": "#a71c8c",
  "rgb": {
    "r": 167,
    "g": 28,
    "b": 140
  },
  "hsl": {
    "h": 311.655,
    "s": 71.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.50543,
    "c": 0.20332,
    "h": 337.9
  },
  "luminance": 0.10939
}

Semantic roles & 50–950 ramp

primary
#A71C8C
secondary
#58C76D
accent
#EE5D3A
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A71C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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