#A71B42#A71B42

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

Color values

HEX#A71B42
RGBrgb(167, 27, 66)
HSLhsl(343, 72%, 38%)
HSVhsv(343, 84%, 65%)
CMYKcmyk(0%, 83.8%, 60.5%, 34.5%)
CIE-LABlab(36.73, 56.13, 14.58)
CIE-LCHlch(36.73, 57.99, 14.56°)
OKLaboklab(47.68% 0.1695 0.036)
OKLCHoklch(47.68% 0.173 12)
XYZxyz(17.3135, 9.3953, 6.0550)
Luminance0.0939 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71B42 #1BA780
analogous
#A71B88 #A71B42 #A73A1B
triadic
#A71B42 #42A71B #1B42A7
tetradic
#A71B42 #88A71B #1BA780 #3A1BA7
square
#A71B42 #88A71B #1BA780 #3A1BA7
split-complementary
#A71B42 #1BA73A #1B88A7
monochromatic
#3E0A18 #72122D #A71B42 #DC2457 #E4587F

Accessibility & contrast

On white

7.30
#A71B42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#A71B42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A71B42
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71B42#FFFFFF#000000##FFFFFF
##A71B421.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454442
Deuteranopia (green-blind)
#68603E
Tritanopia (blue-blind)
#B7002D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a71b42;
/* rgb */ color: rgb(167, 27, 66);
/* oklch */ color: oklch(47.7% 0.173 12.0);
Tailwind
colors: {
  custom: {
    50: '#c86976',
    500: '#a71b42',
    950: '#000000',
  },
}
SCSS
$custom: #a71b42;
$custom-light: #c86976;
$custom-dark: #000000;
JSON
{
  "hex": "#a71b42",
  "rgb": {
    "r": 167,
    "g": 27,
    "b": 66
  },
  "hsl": {
    "h": 343.286,
    "s": 72.165,
    "l": 38.039
  },
  "oklch": {
    "l": 0.4768,
    "c": 0.17329,
    "h": 12
  },
  "luminance": 0.09393
}

Semantic roles & 50–950 ramp

primary
#A71B42
secondary
#56C8A8
accent
#EFBC39
background
#FDF6F7
surface
#FAECED
border
#D3C7C8
text
#140708
muted
#837A7B

Preview Lab

Preview with #A71B42

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

Preview Lab → · Contrast checker → · Palette generator →

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