#A71C42#A71C42

#A71C42 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.7% C 0.173 H 12.1°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#A71C42
RGBrgb(167, 28, 66)
HSLhsl(344, 71%, 38%)
HSVhsv(344, 83%, 65%)
CMYKcmyk(0%, 83.2%, 60.5%, 34.5%)
CIE-LABlab(36.82, 55.88, 14.70)
CIE-LCHlch(36.82, 57.78, 14.74°)
OKLaboklab(47.74% 0.1687 0.0363)
OKLCHoklch(47.74% 0.173 12.1)
XYZxyz(17.3368, 9.4420, 6.0628)
Luminance0.0944 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71C42 #1CA781
analogous
#A71C87 #A71C42 #A73B1C
triadic
#A71C42 #42A71C #1C42A7
tetradic
#A71C42 #87A71C #1CA781 #3B1CA7
square
#A71C42 #87A71C #1CA781 #3B1CA7
split-complementary
#A71C42 #1CA73B #1C87A7
monochromatic
#3E0A19 #73132D #A71C42 #DB2657 #E35A80

Accessibility & contrast

On white

7.27
#A71C42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#A71C42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A71C42
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71C42#FFFFFF#000000##FFFFFF
##A71C421.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454542
Deuteranopia (green-blind)
#68613E
Tritanopia (blue-blind)
#B7002D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a71c42;
/* rgb */ color: rgb(167, 28, 66);
/* oklch */ color: oklch(47.7% 0.173 12.1);
Tailwind
colors: {
  custom: {
    50: '#c86976',
    500: '#a71c42',
    950: '#000000',
  },
}
SCSS
$custom: #a71c42;
$custom-light: #c86976;
$custom-dark: #000000;
JSON
{
  "hex": "#a71c42",
  "rgb": {
    "r": 167,
    "g": 28,
    "b": 66
  },
  "hsl": {
    "h": 343.597,
    "s": 71.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47744,
    "c": 0.17257,
    "h": 12.1
  },
  "luminance": 0.09439
}

Semantic roles & 50–950 ramp

primary
#A71C42
secondary
#58C7A9
accent
#EEBD3A
background
#FDF6F7
surface
#FAECED
border
#D3C7C8
text
#140708
muted
#837A7B

Preview Lab

Preview with #A71C42

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

Preview Lab → · Contrast checker → · Palette generator →

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