#A71D4F#A71D4F

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

Color values

HEX#A71D4F
RGBrgb(167, 29, 79)
HSLhsl(338, 70%, 38%)
HSVhsv(338, 83%, 65%)
CMYKcmyk(0%, 82.6%, 52.7%, 34.5%)
CIE-LABlab(37.23, 56.57, 6.89)
CIE-LCHlch(37.23, 56.99, 6.94°)
OKLaboklab(48.15% 0.1729 0.0179)
OKLCHoklch(48.15% 0.174 5.9)
XYZxyz(17.7887, 9.6613, 8.3237)
Luminance0.0966 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71D4F #1DA775
analogous
#A71D94 #A71D4F #A7301D
triadic
#A71D4F #4FA71D #1D4FA7
tetradic
#A71D4F #94A71D #1DA775 #301DA7
square
#A71D4F #94A71D #1DA775 #301DA7
split-complementary
#A71D4F #1DA730 #1D94A7
monochromatic
#3F0B1E #731436 #A71D4F #DA2868 #E35C8D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A71D4F#FFFFFF#000000##FFFFFF
##A71D4F1.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)
#434650
Deuteranopia (green-blind)
#67614C
Tritanopia (blue-blind)
#B60034
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a71d4f;
/* rgb */ color: rgb(167, 29, 79);
/* oklch */ color: oklch(48.1% 0.174 5.9);
Tailwind
colors: {
  custom: {
    50: '#c76a80',
    500: '#a71d4f',
    950: '#000000',
  },
}
SCSS
$custom: #a71d4f;
$custom-light: #c76a80;
$custom-dark: #000000;
JSON
{
  "hex": "#a71d4f",
  "rgb": {
    "r": 167,
    "g": 29,
    "b": 79
  },
  "hsl": {
    "h": 338.261,
    "s": 70.408,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48145,
    "c": 0.17387,
    "h": 5.9
  },
  "luminance": 0.09659
}

Semantic roles & 50–950 ramp

primary
#A71D4F
secondary
#59C79F
accent
#EDAC3B
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#14070A
muted
#837A7C

Preview Lab

Preview with #A71D4F

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

Preview Lab → · Contrast checker → · Palette generator →

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