#A71E42#A71E42

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

Color values

HEX#A71E42
RGBrgb(167, 30, 66)
HSLhsl(344, 70%, 39%)
HSVhsv(344, 82%, 65%)
CMYKcmyk(0%, 82%, 60.5%, 34.5%)
CIE-LABlab(37.00, 55.36, 14.95)
CIE-LCHlch(37.00, 57.34, 15.11°)
OKLaboklab(47.88% 0.167 0.0369)
OKLCHoklch(47.88% 0.171 12.5)
XYZxyz(17.3858, 9.5400, 6.0791)
Luminance0.0954 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71E42 #1EA783
analogous
#A71E86 #A71E42 #A73F1E
triadic
#A71E42 #42A71E #1E42A7
tetradic
#A71E42 #86A71E #1EA783 #3F1EA7
square
#A71E42 #86A71E #1EA783 #3F1EA7
split-complementary
#A71E42 #1EA73F #1E86A7
monochromatic
#3F0B19 #73152D #A71E42 #D92A58 #E25D80

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A71E42#FFFFFF#000000##FFFFFF
##A71E421.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)
#464542
Deuteranopia (green-blind)
#69613E
Tritanopia (blue-blind)
#B7002E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a71e42;
/* rgb */ color: rgb(167, 30, 66);
/* oklch */ color: oklch(47.9% 0.171 12.5);
Tailwind
colors: {
  custom: {
    50: '#c86976',
    500: '#a71e42',
    950: '#000000',
  },
}
SCSS
$custom: #a71e42;
$custom-light: #c86976;
$custom-dark: #000000;
JSON
{
  "hex": "#a71e42",
  "rgb": {
    "r": 167,
    "g": 30,
    "b": 66
  },
  "hsl": {
    "h": 344.234,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.47878,
    "c": 0.17105,
    "h": 12.5
  },
  "luminance": 0.09537
}

Semantic roles & 50–950 ramp

primary
#A71E42
secondary
#5BC6AA
accent
#ECBE3B
background
#FDF6F7
surface
#FAECED
border
#D3C7C8
text
#140708
muted
#837A7B

Preview Lab

Preview with #A71E42

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

Preview Lab → · Contrast checker → · Palette generator →

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