#A71B54#A71B54

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

Color values

HEX#A71B54
RGBrgb(167, 27, 84)
HSLhsl(336, 72%, 38%)
HSVhsv(336, 84%, 65%)
CMYKcmyk(0%, 83.8%, 49.7%, 34.5%)
CIE-LABlab(37.19, 57.48, 3.62)
CIE-LCHlch(37.19, 57.60, 3.61°)
OKLaboklab(48.17% 0.1764 0.0098)
OKLCHoklch(48.17% 0.177 3.2)
XYZxyz(17.9301, 9.6420, 9.3027)
Luminance0.0964 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71B54 #1BA76E
analogous
#A71B9A #A71B54 #A7281B
triadic
#A71B54 #54A71B #1B54A7
tetradic
#A71B54 #9AA71B #1BA76E #281BA7
square
#A71B54 #9AA71B #1BA76E #281BA7
split-complementary
#A71B54 #1BA728 #1B9AA7
monochromatic
#3E0A1F #72123A #A71B54 #DC246F #E45891

Accessibility & contrast

On white

7.17
#A71B54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A71B54
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71B54#FFFFFF#000000##FFFFFF
##A71B541.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414655
Deuteranopia (green-blind)
#656151
Tritanopia (blue-blind)
#B60036
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a71b54;
/* rgb */ color: rgb(167, 27, 84);
/* oklch */ color: oklch(48.2% 0.177 3.2);
Tailwind
colors: {
  custom: {
    50: '#c76983',
    500: '#a71b54',
    950: '#000000',
  },
}
SCSS
$custom: #a71b54;
$custom-light: #c76983;
$custom-dark: #000000;
JSON
{
  "hex": "#a71b54",
  "rgb": {
    "r": 167,
    "g": 27,
    "b": 84
  },
  "hsl": {
    "h": 335.571,
    "s": 72.165,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48165,
    "c": 0.17665,
    "h": 3.2
  },
  "luminance": 0.09639
}

Semantic roles & 50–950 ramp

primary
#A71B54
secondary
#56C899
accent
#EFA539
background
#FDF6F8
surface
#FAECEF
border
#D3C7CA
text
#14070A
muted
#837A7C

Preview Lab

Preview with #A71B54

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

Preview Lab → · Contrast checker → · Palette generator →

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