#A71C8D#A71C8D

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

Color values

HEX#A71C8D
RGBrgb(167, 28, 141)
HSLhsl(311, 71%, 38%)
HSVhsv(311, 83%, 65%)
CMYKcmyk(0%, 83.2%, 15.6%, 34.5%)
CIE-LABlab(39.53, 63.67, -28.65)
CIE-LCHlch(39.53, 69.82, 335.78°)
OKLaboklab(50.6% 0.1885 -0.078)
OKLCHoklch(50.6% 0.204 337.5)
XYZxyz(21.1598, 10.9712, 26.1974)
Luminance0.1097 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71C8D #1CA736
analogous
#7B1CA7 #A71C8D #A71C47
triadic
#A71C8D #8DA71C #1C8DA7
tetradic
#A71C8D #A77B1C #1CA736 #1C47A7
square
#A71C8D #A77B1C #1CA736 #1C47A7
split-complementary
#A71C8D #47A71C #1CA77B
monochromatic
#3E0A34 #731361 #A71C8D #DB26B9 #E35ACA

Accessibility & contrast

On white

6.58
#A71C8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A71C8D
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71C8D#FFFFFF#000000##FFFFFF
##A71C8D1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235090
Deuteranopia (green-blind)
#55648A
Tritanopia (blue-blind)
#B02655
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a71c8d;
/* rgb */ color: rgb(167, 28, 141);
/* oklch */ color: oklch(50.6% 0.204 337.5);
Tailwind
colors: {
  custom: {
    50: '#c56cae',
    500: '#a71c8d',
    950: '#000000',
  },
}
SCSS
$custom: #a71c8d;
$custom-light: #c56cae;
$custom-dark: #000000;
JSON
{
  "hex": "#a71c8d",
  "rgb": {
    "r": 167,
    "g": 28,
    "b": 141
  },
  "hsl": {
    "h": 311.223,
    "s": 71.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.50595,
    "c": 0.20396,
    "h": 337.5
  },
  "luminance": 0.10969
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A71C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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