#A71C8B#A71C8B

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

Color values

HEX#A71C8B
RGBrgb(167, 28, 139)
HSLhsl(312, 71%, 38%)
HSVhsv(312, 83%, 65%)
CMYKcmyk(0%, 83.2%, 16.8%, 34.5%)
CIE-LABlab(39.43, 63.40, -27.58)
CIE-LCHlch(39.43, 69.14, 336.49°)
OKLaboklab(50.49% 0.1883 -0.0749)
OKLCHoklch(50.49% 0.203 338.3)
XYZxyz(21.0123, 10.9122, 25.4207)
Luminance0.1091 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71C8B #1CA738
analogous
#7D1CA7 #A71C8B #A71C46
triadic
#A71C8B #8BA71C #1C8BA7
tetradic
#A71C8B #A77D1C #1CA738 #1C46A7
square
#A71C8B #A77D1C #1CA738 #1C46A7
split-complementary
#A71C8B #46A71C #1CA77D
monochromatic
#3E0A34 #73135F #A71C8B #DB26B6 #E35AC8

Accessibility & contrast

On white

6.60
#A71C8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#A71C8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A71C8B
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71C8B#FFFFFF#000000##FFFFFF
##A71C8B1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254F8E
Deuteranopia (green-blind)
#566488
Tritanopia (blue-blind)
#B12554
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a71c8b;
/* rgb */ color: rgb(167, 28, 139);
/* oklch */ color: oklch(50.5% 0.203 338.3);
Tailwind
colors: {
  custom: {
    50: '#c56bad',
    500: '#a71c8b',
    950: '#000000',
  },
}
SCSS
$custom: #a71c8b;
$custom-light: #c56bad;
$custom-dark: #000000;
JSON
{
  "hex": "#a71c8b",
  "rgb": {
    "r": 167,
    "g": 28,
    "b": 139
  },
  "hsl": {
    "h": 312.086,
    "s": 71.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.50491,
    "c": 0.20266,
    "h": 338.3
  },
  "luminance": 0.1091
}

Semantic roles & 50–950 ramp

primary
#A71C8B
secondary
#58C76E
accent
#EE5E3A
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A71C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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