#A71B48#A71B48

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

Color values

HEX#A71B48
RGBrgb(167, 27, 72)
HSLhsl(341, 72%, 38%)
HSVhsv(341, 84%, 65%)
CMYKcmyk(0%, 83.8%, 56.9%, 34.5%)
CIE-LABlab(36.87, 56.54, 10.90)
CIE-LCHlch(36.87, 57.59, 10.91°)
OKLaboklab(47.83% 0.1719 0.0275)
OKLCHoklch(47.83% 0.174 9.1)
XYZxyz(17.4997, 9.4698, 7.0360)
Luminance0.0947 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71B48 #1BA77A
analogous
#A71B8E #A71B48 #A7341B
triadic
#A71B48 #48A71B #1B48A7
tetradic
#A71B48 #8EA71B #1BA77A #341BA7
square
#A71B48 #8EA71B #1BA77A #341BA7
split-complementary
#A71B48 #1BA734 #1B8EA7
monochromatic
#3E0A1B #721231 #A71B48 #DC245F #E45885

Accessibility & contrast

On white

7.26
#A71B48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A71B48
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71B48#FFFFFF#000000##FFFFFF
##A71B481.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444549
Deuteranopia (green-blind)
#676145
Tritanopia (blue-blind)
#B70030
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a71b48;
/* rgb */ color: rgb(167, 27, 72);
/* oklch */ color: oklch(47.8% 0.174 9.1);
Tailwind
colors: {
  custom: {
    50: '#c8697a',
    500: '#a71b48',
    950: '#000000',
  },
}
SCSS
$custom: #a71b48;
$custom-light: #c8697a;
$custom-dark: #000000;
JSON
{
  "hex": "#a71b48",
  "rgb": {
    "r": 167,
    "g": 27,
    "b": 72
  },
  "hsl": {
    "h": 340.714,
    "s": 72.165,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47827,
    "c": 0.17407,
    "h": 9.1
  },
  "luminance": 0.09467
}

Semantic roles & 50–950 ramp

primary
#A71B48
secondary
#56C8A3
accent
#EFB439
background
#FDF6F7
surface
#FAECED
border
#D3C7C8
text
#140709
muted
#837A7B

Preview Lab

Preview with #A71B48

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

Preview Lab → · Contrast checker → · Palette generator →

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