#A71D47#A71D47

#A71D47 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.9% C 0.172 H 9.9°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#A71D47
RGBrgb(167, 29, 71)
HSLhsl(342, 70%, 38%)
HSVhsv(342, 83%, 65%)
CMYKcmyk(0%, 82.6%, 57.5%, 34.5%)
CIE-LABlab(37.03, 55.97, 11.76)
CIE-LCHlch(37.03, 57.19, 11.86°)
OKLaboklab(47.93% 0.1699 0.0296)
OKLCHoklch(47.93% 0.172 9.9)
XYZxyz(17.5148, 9.5518, 6.8814)
Luminance0.0955 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71D47 #1DA77D
analogous
#A71D8C #A71D47 #A7381D
triadic
#A71D47 #47A71D #1D47A7
tetradic
#A71D47 #8CA71D #1DA77D #381DA7
square
#A71D47 #8CA71D #1DA77D #381DA7
split-complementary
#A71D47 #1DA738 #1D8CA7
monochromatic
#3F0B1B #731431 #A71D47 #DA285E #E35C85

Accessibility & contrast

On white

7.22
#A71D47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#A71D47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A71D47
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71D47#FFFFFF#000000##FFFFFF
##A71D471.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454548
Deuteranopia (green-blind)
#686144
Tritanopia (blue-blind)
#B70030
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a71d47;
/* rgb */ color: rgb(167, 29, 71);
/* oklch */ color: oklch(47.9% 0.172 9.9);
Tailwind
colors: {
  custom: {
    50: '#c86979',
    500: '#a71d47',
    950: '#000000',
  },
}
SCSS
$custom: #a71d47;
$custom-light: #c86979;
$custom-dark: #000000;
JSON
{
  "hex": "#a71d47",
  "rgb": {
    "r": 167,
    "g": 29,
    "b": 71
  },
  "hsl": {
    "h": 341.739,
    "s": 70.408,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47931,
    "c": 0.17241,
    "h": 9.9
  },
  "luminance": 0.09549
}

Semantic roles & 50–950 ramp

primary
#A71D47
secondary
#59C7A5
accent
#EDB73B
background
#FDF6F7
surface
#FAECED
border
#D3C7C8
text
#140709
muted
#837A7B

Preview Lab

Preview with #A71D47

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

Preview Lab → · Contrast checker → · Palette generator →

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