#A71C8E#A71C8E

#A71C8E is a mid, highly saturated pink. Relative luminance 0.110; OKLCH L 50.6% C 0.205 H 337.1°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#A71C8E
RGBrgb(167, 28, 142)
HSLhsl(311, 71%, 38%)
HSVhsv(311, 83%, 65%)
CMYKcmyk(0%, 83.2%, 15%, 34.5%)
CIE-LABlab(39.58, 63.81, -29.18)
CIE-LCHlch(39.58, 70.17, 335.43°)
OKLaboklab(50.65% 0.1885 -0.0795)
OKLCHoklch(50.65% 0.205 337.1)
XYZxyz(21.2345, 11.0011, 26.5910)
Luminance0.1100 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71C8E #1CA735
analogous
#7A1CA7 #A71C8E #A71C49
triadic
#A71C8E #8EA71C #1C8EA7
tetradic
#A71C8E #A77A1C #1CA735 #1C49A7
square
#A71C8E #A77A1C #1CA735 #1C49A7
split-complementary
#A71C8E #49A71C #1CA77A
monochromatic
#3E0A35 #731361 #A71C8E #DB26BA #E35ACB

Accessibility & contrast

On white

6.56
#A71C8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#A71C8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A71C8E
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71C8E#FFFFFF#000000##FFFFFF
##A71C8E1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225091
Deuteranopia (green-blind)
#55658B
Tritanopia (blue-blind)
#B02756
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a71c8e;
/* rgb */ color: rgb(167, 28, 142);
/* oklch */ color: oklch(50.6% 0.205 337.1);
Tailwind
colors: {
  custom: {
    50: '#c56caf',
    500: '#a71c8e',
    950: '#000000',
  },
}
SCSS
$custom: #a71c8e;
$custom-light: #c56caf;
$custom-dark: #000000;
JSON
{
  "hex": "#a71c8e",
  "rgb": {
    "r": 167,
    "g": 28,
    "b": 142
  },
  "hsl": {
    "h": 310.791,
    "s": 71.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.50647,
    "c": 0.20462,
    "h": 337.1
  },
  "luminance": 0.10999
}

Semantic roles & 50–950 ramp

primary
#A71C8E
secondary
#58C76C
accent
#EE5A3A
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A71C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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