#A71F4C#A71F4C

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

Color values

HEX#A71F4C
RGBrgb(167, 31, 76)
HSLhsl(340, 69%, 39%)
HSVhsv(340, 81%, 65%)
CMYKcmyk(0%, 81.4%, 54.5%, 34.5%)
CIE-LABlab(37.33, 55.81, 8.97)
CIE-LCHlch(37.33, 56.53, 9.13°)
OKLaboklab(48.2% 0.1701 0.023)
OKLCHoklch(48.2% 0.172 7.7)
XYZxyz(17.7325, 9.7198, 7.7785)
Luminance0.0972 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71F4C #1FA77A
analogous
#A71F90 #A71F4C #A7361F
triadic
#A71F4C #4CA71F #1F4CA7
tetradic
#A71F4C #90A71F #1FA77A #361FA7
square
#A71F4C #90A71F #1FA77A #361FA7
split-complementary
#A71F4C #1FA736 #1F90A7
monochromatic
#400C1D #731535 #A71F4C #D82B64 #E15F8A

Accessibility & contrast

On white

7.13
#A71F4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#A71F4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A71F4C
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71F4C#FFFFFF#000000##FFFFFF
##A71F4C1.007.132.947.13
#FFFFFF7.131.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44474D
Deuteranopia (green-blind)
#686249
Tritanopia (blue-blind)
#B70033
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a71f4c;
/* rgb */ color: rgb(167, 31, 76);
/* oklch */ color: oklch(48.2% 0.172 7.7);
Tailwind
colors: {
  custom: {
    50: '#c86a7d',
    500: '#a71f4c',
    950: '#000000',
  },
}
SCSS
$custom: #a71f4c;
$custom-light: #c86a7d;
$custom-dark: #000000;
JSON
{
  "hex": "#a71f4c",
  "rgb": {
    "r": 167,
    "g": 31,
    "b": 76
  },
  "hsl": {
    "h": 340.147,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48199,
    "c": 0.17163,
    "h": 7.7
  },
  "luminance": 0.09717
}

Semantic roles & 50–950 ramp

primary
#A71F4C
secondary
#5CC6A3
accent
#ECB23C
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#140709
muted
#837A7B

Preview Lab

Preview with #A71F4C

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

Preview Lab → · Contrast checker → · Palette generator →

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