#A71F48#A71F48

#A71F48 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.1% C 0.171 H 9.7°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#A71F48
RGBrgb(167, 31, 72)
HSLhsl(342, 69%, 39%)
HSVhsv(342, 81%, 65%)
CMYKcmyk(0%, 81.4%, 56.9%, 34.5%)
CIE-LABlab(37.24, 55.51, 11.40)
CIE-LCHlch(37.24, 56.67, 11.61°)
OKLaboklab(48.09% 0.1685 0.0288)
OKLCHoklch(48.09% 0.171 9.7)
XYZxyz(17.5978, 9.6659, 7.0687)
Luminance0.0966 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71F48 #1FA77E
analogous
#A71F8C #A71F48 #A73A1F
triadic
#A71F48 #48A71F #1F48A7
tetradic
#A71F48 #8CA71F #1FA77E #3A1FA7
square
#A71F48 #8CA71F #1FA77E #3A1FA7
split-complementary
#A71F48 #1FA73A #1F8CA7
monochromatic
#400C1B #731532 #A71F48 #D82B5F #E15F86

Accessibility & contrast

On white

7.16
#A71F48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#A71F48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A71F48
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71F48#FFFFFF#000000##FFFFFF
##A71F481.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454649
Deuteranopia (green-blind)
#686145
Tritanopia (blue-blind)
#B70031
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a71f48;
/* rgb */ color: rgb(167, 31, 72);
/* oklch */ color: oklch(48.1% 0.171 9.7);
Tailwind
colors: {
  custom: {
    50: '#c86a7a',
    500: '#a71f48',
    950: '#000000',
  },
}
SCSS
$custom: #a71f48;
$custom-light: #c86a7a;
$custom-dark: #000000;
JSON
{
  "hex": "#a71f48",
  "rgb": {
    "r": 167,
    "g": 31,
    "b": 72
  },
  "hsl": {
    "h": 341.912,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48094,
    "c": 0.17097,
    "h": 9.7
  },
  "luminance": 0.09663
}

Semantic roles & 50–950 ramp

primary
#A71F48
secondary
#5CC6A6
accent
#ECB73C
background
#FDF6F7
surface
#FAECED
border
#D3C7C8
text
#140709
muted
#837A7B

Preview Lab

Preview with #A71F48

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

Preview Lab → · Contrast checker → · Palette generator →

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