#A71F4B#A71F4B

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

Color values

HEX#A71F4B
RGBrgb(167, 31, 75)
HSLhsl(341, 69%, 39%)
HSVhsv(341, 81%, 65%)
CMYKcmyk(0%, 81.4%, 55.1%, 34.5%)
CIE-LABlab(37.31, 55.73, 9.58)
CIE-LCHlch(37.31, 56.55, 9.75°)
OKLaboklab(48.17% 0.1697 0.0244)
OKLCHoklch(48.17% 0.171 8.2)
XYZxyz(17.6980, 9.7060, 7.5968)
Luminance0.0970 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71F4B #1FA77B
analogous
#A71F8F #A71F4B #A7371F
triadic
#A71F4B #4BA71F #1F4BA7
tetradic
#A71F4B #8FA71F #1FA77B #371FA7
square
#A71F4B #8FA71F #1FA77B #371FA7
split-complementary
#A71F4B #1FA737 #1F8FA7
monochromatic
#400C1D #731534 #A71F4B #D82B63 #E15F89

Accessibility & contrast

On white

7.14
#A71F4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#A71F4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A71F4B
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71F4B#FFFFFF#000000##FFFFFF
##A71F4B1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45464C
Deuteranopia (green-blind)
#686148
Tritanopia (blue-blind)
#B70033
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a71f4b;
/* rgb */ color: rgb(167, 31, 75);
/* oklch */ color: oklch(48.2% 0.171 8.2);
Tailwind
colors: {
  custom: {
    50: '#c86a7d',
    500: '#a71f4b',
    950: '#000000',
  },
}
SCSS
$custom: #a71f4b;
$custom-light: #c86a7d;
$custom-dark: #000000;
JSON
{
  "hex": "#a71f4b",
  "rgb": {
    "r": 167,
    "g": 31,
    "b": 75
  },
  "hsl": {
    "h": 340.588,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48172,
    "c": 0.17145,
    "h": 8.2
  },
  "luminance": 0.09703
}

Semantic roles & 50–950 ramp

primary
#A71F4B
secondary
#5CC6A4
accent
#ECB33C
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#140709
muted
#837A7B

Preview Lab

Preview with #A71F4B

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

Preview Lab → · Contrast checker → · Palette generator →

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