#A71E4B#A71E4B

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

Color values

HEX#A71E4B
RGBrgb(167, 30, 75)
HSLhsl(340, 70%, 39%)
HSVhsv(340, 82%, 65%)
CMYKcmyk(0%, 82%, 55.1%, 34.5%)
CIE-LABlab(37.22, 56.00, 9.45)
CIE-LCHlch(37.22, 56.79, 9.57°)
OKLaboklab(48.1% 0.1706 0.0241)
OKLCHoklch(48.1% 0.172 8)
XYZxyz(17.6723, 9.6546, 7.5882)
Luminance0.0965 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71E4B #1EA77A
analogous
#A71E8F #A71E4B #A7351E
triadic
#A71E4B #4BA71E #1E4BA7
tetradic
#A71E4B #8FA71E #1EA77A #351EA7
square
#A71E4B #8FA71E #1EA77A #351EA7
split-complementary
#A71E4B #1EA735 #1E8FA7
monochromatic
#3F0B1C #731534 #A71E4B #D92A63 #E25D89

Accessibility & contrast

On white

7.17
#A71E4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A71E4B
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71E4B#FFFFFF#000000##FFFFFF
##A71E4B1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44464C
Deuteranopia (green-blind)
#686148
Tritanopia (blue-blind)
#B70032
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a71e4b;
/* rgb */ color: rgb(167, 30, 75);
/* oklch */ color: oklch(48.1% 0.172 8.0);
Tailwind
colors: {
  custom: {
    50: '#c86a7d',
    500: '#a71e4b',
    950: '#000000',
  },
}
SCSS
$custom: #a71e4b;
$custom-light: #c86a7d;
$custom-dark: #000000;
JSON
{
  "hex": "#a71e4b",
  "rgb": {
    "r": 167,
    "g": 30,
    "b": 75
  },
  "hsl": {
    "h": 340.292,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48103,
    "c": 0.17226,
    "h": 8
  },
  "luminance": 0.09652
}

Semantic roles & 50–950 ramp

primary
#A71E4B
secondary
#5BC6A3
accent
#ECB23B
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#140709
muted
#837A7B

Preview Lab

Preview with #A71E4B

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

Preview Lab → · Contrast checker → · Palette generator →

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