#A71B52#A71B52

#A71B52 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.1% C 0.176 H 4.2°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#A71B52
RGBrgb(167, 27, 82)
HSLhsl(336, 72%, 38%)
HSVhsv(336, 84%, 65%)
CMYKcmyk(0%, 83.8%, 50.9%, 34.5%)
CIE-LABlab(37.14, 57.32, 4.83)
CIE-LCHlch(37.14, 57.52, 4.81°)
OKLaboklab(48.11% 0.1757 0.0128)
OKLCHoklch(48.11% 0.176 4.2)
XYZxyz(17.8529, 9.6111, 8.8961)
Luminance0.0961 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71B52 #1BA770
analogous
#A71B98 #A71B52 #A72A1B
triadic
#A71B52 #52A71B #1B52A7
tetradic
#A71B52 #98A71B #1BA770 #2A1BA7
square
#A71B52 #98A71B #1BA770 #2A1BA7
split-complementary
#A71B52 #1BA72A #1B98A7
monochromatic
#3E0A1E #721238 #A71B52 #DC246C #E4588F

Accessibility & contrast

On white

7.19
#A71B52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#A71B52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A71B52
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71B52#FFFFFF#000000##FFFFFF
##A71B521.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414653
Deuteranopia (green-blind)
#66614F
Tritanopia (blue-blind)
#B60035
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a71b52;
/* rgb */ color: rgb(167, 27, 82);
/* oklch */ color: oklch(48.1% 0.176 4.2);
Tailwind
colors: {
  custom: {
    50: '#c76982',
    500: '#a71b52',
    950: '#000000',
  },
}
SCSS
$custom: #a71b52;
$custom-light: #c76982;
$custom-dark: #000000;
JSON
{
  "hex": "#a71b52",
  "rgb": {
    "r": 167,
    "g": 27,
    "b": 82
  },
  "hsl": {
    "h": 336.429,
    "s": 72.165,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48105,
    "c": 0.17613,
    "h": 4.2
  },
  "luminance": 0.09609
}

Semantic roles & 50–950 ramp

primary
#A71B52
secondary
#56C89B
accent
#EFA739
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#14070A
muted
#837A7C

Preview Lab

Preview with #A71B52

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

Preview Lab → · Contrast checker → · Palette generator →

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