#A71E4C#A71E4C

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

Color values

HEX#A71E4C
RGBrgb(167, 30, 76)
HSLhsl(340, 70%, 39%)
HSVhsv(340, 82%, 65%)
CMYKcmyk(0%, 82%, 54.5%, 34.5%)
CIE-LABlab(37.24, 56.08, 8.84)
CIE-LCHlch(37.24, 56.77, 8.96°)
OKLaboklab(48.13% 0.171 0.0227)
OKLCHoklch(48.13% 0.172 7.5)
XYZxyz(17.7068, 9.6684, 7.7699)
Luminance0.0967 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71E4C #1EA779
analogous
#A71E90 #A71E4C #A7341E
triadic
#A71E4C #4CA71E #1E4CA7
tetradic
#A71E4C #90A71E #1EA779 #341EA7
square
#A71E4C #90A71E #1EA779 #341EA7
split-complementary
#A71E4C #1EA734 #1E90A7
monochromatic
#3F0B1D #731534 #A71E4C #D92A64 #E25D8A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A71E4C#FFFFFF#000000##FFFFFF
##A71E4C1.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)
#44464D
Deuteranopia (green-blind)
#676149
Tritanopia (blue-blind)
#B70033
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a71e4c;
/* rgb */ color: rgb(167, 30, 76);
/* oklch */ color: oklch(48.1% 0.172 7.5);
Tailwind
colors: {
  custom: {
    50: '#c86a7d',
    500: '#a71e4c',
    950: '#000000',
  },
}
SCSS
$custom: #a71e4c;
$custom-light: #c86a7d;
$custom-dark: #000000;
JSON
{
  "hex": "#a71e4c",
  "rgb": {
    "r": 167,
    "g": 30,
    "b": 76
  },
  "hsl": {
    "h": 339.854,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.4813,
    "c": 0.17245,
    "h": 7.5
  },
  "luminance": 0.09666
}

Semantic roles & 50–950 ramp

primary
#A71E4C
secondary
#5BC6A2
accent
#ECB13B
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#140709
muted
#837A7B

Preview Lab

Preview with #A71E4C

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

Preview Lab → · Contrast checker → · Palette generator →

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