#A71B46#A71B46

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

Color values

HEX#A71B46
RGBrgb(167, 27, 70)
HSLhsl(342, 72%, 38%)
HSVhsv(342, 84%, 65%)
CMYKcmyk(0%, 83.8%, 58.1%, 34.5%)
CIE-LABlab(36.83, 56.40, 12.13)
CIE-LCHlch(36.83, 57.69, 12.14°)
OKLaboklab(47.78% 0.1711 0.0304)
OKLCHoklch(47.78% 0.174 10.1)
XYZxyz(17.4355, 9.4442, 6.6980)
Luminance0.0944 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71B46 #1BA77C
analogous
#A71B8C #A71B46 #A7361B
triadic
#A71B46 #46A71B #1B46A7
tetradic
#A71B46 #8CA71B #1BA77C #361BA7
square
#A71B46 #8CA71B #1BA77C #361BA7
split-complementary
#A71B46 #1BA736 #1B8CA7
monochromatic
#3E0A1A #721230 #A71B46 #DC245C #E45883

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A71B46#FFFFFF#000000##FFFFFF
##A71B461.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)
#444547
Deuteranopia (green-blind)
#686142
Tritanopia (blue-blind)
#B7002F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a71b46;
/* rgb */ color: rgb(167, 27, 70);
/* oklch */ color: oklch(47.8% 0.174 10.1);
Tailwind
colors: {
  custom: {
    50: '#c86979',
    500: '#a71b46',
    950: '#000000',
  },
}
SCSS
$custom: #a71b46;
$custom-light: #c86979;
$custom-dark: #000000;
JSON
{
  "hex": "#a71b46",
  "rgb": {
    "r": 167,
    "g": 27,
    "b": 70
  },
  "hsl": {
    "h": 341.571,
    "s": 72.165,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47777,
    "c": 0.17378,
    "h": 10.1
  },
  "luminance": 0.09442
}

Semantic roles & 50–950 ramp

primary
#A71B46
secondary
#56C8A5
accent
#EFB739
background
#FDF6F7
surface
#FAECED
border
#D3C7C8
text
#140709
muted
#837A7B

Preview Lab

Preview with #A71B46

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

Preview Lab → · Contrast checker → · Palette generator →

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