#A71B8C#A71B8C

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

Color values

HEX#A71B8C
RGBrgb(167, 27, 140)
HSLhsl(312, 72%, 38%)
HSVhsv(312, 84%, 65%)
CMYKcmyk(0%, 83.8%, 16.2%, 34.5%)
CIE-LABlab(39.40, 63.76, -28.24)
CIE-LCHlch(39.40, 69.74, 336.11°)
OKLaboklab(50.49% 0.1891 -0.0768)
OKLCHoklch(50.49% 0.204 337.9)
XYZxyz(21.0624, 10.8949, 25.7995)
Luminance0.1089 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71B8C #1BA736
analogous
#7C1BA7 #A71B8C #A71B46
triadic
#A71B8C #8CA71B #1B8CA7
tetradic
#A71B8C #A77C1B #1BA736 #1B46A7
square
#A71B8C #A77C1B #1BA736 #1B46A7
split-complementary
#A71B8C #46A71B #1BA77C
monochromatic
#3E0A34 #721260 #A71B8C #DC24B8 #E458C9

Accessibility & contrast

On white

6.61
#A71B8C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A71B8C
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71B8C#FFFFFF#000000##FFFFFF
##A71B8C1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234F8F
Deuteranopia (green-blind)
#556489
Tritanopia (blue-blind)
#B12554
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a71b8c;
/* rgb */ color: rgb(167, 27, 140);
/* oklch */ color: oklch(50.5% 0.204 337.9);
Tailwind
colors: {
  custom: {
    50: '#c56bae',
    500: '#a71b8c',
    950: '#000000',
  },
}
SCSS
$custom: #a71b8c;
$custom-light: #c56bae;
$custom-dark: #000000;
JSON
{
  "hex": "#a71b8c",
  "rgb": {
    "r": 167,
    "g": 27,
    "b": 140
  },
  "hsl": {
    "h": 311.571,
    "s": 72.165,
    "l": 38.039
  },
  "oklch": {
    "l": 0.50486,
    "c": 0.20408,
    "h": 337.9
  },
  "luminance": 0.10893
}

Semantic roles & 50–950 ramp

primary
#A71B8C
secondary
#56C86C
accent
#EF5C39
background
#FCF6FA
surface
#F9ECF4
border
#D2C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #A71B8C

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

Preview Lab → · Contrast checker → · Palette generator →

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