#A71B56#A71B56

#A71B56 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.2% C 0.177 H 2.2°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#A71B56
RGBrgb(167, 27, 86)
HSLhsl(335, 72%, 38%)
HSVhsv(335, 84%, 65%)
CMYKcmyk(0%, 83.8%, 48.5%, 34.5%)
CIE-LABlab(37.25, 57.65, 2.42)
CIE-LCHlch(37.25, 57.71, 2.41°)
OKLaboklab(48.23% 0.1771 0.0068)
OKLCHoklch(48.23% 0.177 2.2)
XYZxyz(18.0096, 9.6738, 9.7212)
Luminance0.0967 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71B56 #1BA76C
analogous
#A71B9C #A71B56 #A7261B
triadic
#A71B56 #56A71B #1B56A7
tetradic
#A71B56 #9CA71B #1BA76C #261BA7
square
#A71B56 #9CA71B #1BA76C #261BA7
split-complementary
#A71B56 #1BA726 #1B9CA7
monochromatic
#3E0A20 #72123B #A71B56 #DC2471 #E45893

Accessibility & contrast

On white

7.16
#A71B56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#A71B56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A71B56
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71B56#FFFFFF#000000##FFFFFF
##A71B561.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404657
Deuteranopia (green-blind)
#656153
Tritanopia (blue-blind)
#B60037
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a71b56;
/* rgb */ color: rgb(167, 27, 86);
/* oklch */ color: oklch(48.2% 0.177 2.2);
Tailwind
colors: {
  custom: {
    50: '#c76985',
    500: '#a71b56',
    950: '#000000',
  },
}
SCSS
$custom: #a71b56;
$custom-light: #c76985;
$custom-dark: #000000;
JSON
{
  "hex": "#a71b56",
  "rgb": {
    "r": 167,
    "g": 27,
    "b": 86
  },
  "hsl": {
    "h": 334.714,
    "s": 72.165,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48227,
    "c": 0.17722,
    "h": 2.2
  },
  "luminance": 0.09671
}

Semantic roles & 50–950 ramp

primary
#A71B56
secondary
#56C898
accent
#EFA239
background
#FDF6F8
surface
#FAECEF
border
#D3C7CA
text
#14070B
muted
#837A7C

Preview Lab

Preview with #A71B56

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

Preview Lab → · Contrast checker → · Palette generator →

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