#A71B8D#A71B8D

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

Color values

HEX#A71B8D
RGBrgb(167, 27, 141)
HSLhsl(311, 72%, 38%)
HSVhsv(311, 84%, 65%)
CMYKcmyk(0%, 83.8%, 15.6%, 34.5%)
CIE-LABlab(39.45, 63.90, -28.77)
CIE-LCHlch(39.45, 70.08, 335.76°)
OKLaboklab(50.54% 0.1892 -0.0783)
OKLCHoklch(50.54% 0.205 337.5)
XYZxyz(21.1365, 10.9245, 26.1896)
Luminance0.1092 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71B8D #1BA735
analogous
#7B1BA7 #A71B8D #A71B47
triadic
#A71B8D #8DA71B #1B8DA7
tetradic
#A71B8D #A77B1B #1BA735 #1B47A7
square
#A71B8D #A77B1B #1BA735 #1B47A7
split-complementary
#A71B8D #47A71B #1BA77B
monochromatic
#3E0A34 #721261 #A71B8D #DC24B9 #E458CA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A71B8D#FFFFFF#000000##FFFFFF
##A71B8D1.006.593.186.59
#FFFFFF6.591.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a71b8d;
/* rgb */ color: rgb(167, 27, 141);
/* oklch */ color: oklch(50.5% 0.205 337.5);
Tailwind
colors: {
  custom: {
    50: '#c56bae',
    500: '#a71b8d',
    950: '#000000',
  },
}
SCSS
$custom: #a71b8d;
$custom-light: #c56bae;
$custom-dark: #000000;
JSON
{
  "hex": "#a71b8d",
  "rgb": {
    "r": 167,
    "g": 27,
    "b": 141
  },
  "hsl": {
    "h": 311.143,
    "s": 72.165,
    "l": 38.039
  },
  "oklch": {
    "l": 0.50538,
    "c": 0.20474,
    "h": 337.5
  },
  "luminance": 0.10922
}

Semantic roles & 50–950 ramp

primary
#A71B8D
secondary
#56C86B
accent
#EF5B39
background
#FCF6FA
surface
#F9ECF4
border
#D2C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #A71B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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