#A71F4F#A71F4F

#A71F4F is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.3% C 0.172 H 6.2°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#A71F4F
RGBrgb(167, 31, 79)
HSLhsl(339, 69%, 39%)
HSVhsv(339, 81%, 65%)
CMYKcmyk(0%, 81.4%, 52.7%, 34.5%)
CIE-LABlab(37.41, 56.05, 7.15)
CIE-LCHlch(37.41, 56.50, 7.27°)
OKLaboklab(48.28% 0.1712 0.0186)
OKLCHoklch(48.28% 0.172 6.2)
XYZxyz(17.8393, 9.7625, 8.3406)
Luminance0.0976 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71F4F #1FA777
analogous
#A71F93 #A71F4F #A7331F
triadic
#A71F4F #4FA71F #1F4FA7
tetradic
#A71F4F #93A71F #1FA777 #331FA7
square
#A71F4F #93A71F #1FA777 #331FA7
split-complementary
#A71F4F #1FA733 #1F93A7
monochromatic
#400C1E #731537 #A71F4F #D82B68 #E15F8D

Accessibility & contrast

On white

7.11
#A71F4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#A71F4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A71F4F
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71F4F#FFFFFF#000000##FFFFFF
##A71F4F1.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444750
Deuteranopia (green-blind)
#67624C
Tritanopia (blue-blind)
#B60035
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a71f4f;
/* rgb */ color: rgb(167, 31, 79);
/* oklch */ color: oklch(48.3% 0.172 6.2);
Tailwind
colors: {
  custom: {
    50: '#c76a80',
    500: '#a71f4f',
    950: '#000000',
  },
}
SCSS
$custom: #a71f4f;
$custom-light: #c76a80;
$custom-dark: #000000;
JSON
{
  "hex": "#a71f4f",
  "rgb": {
    "r": 167,
    "g": 31,
    "b": 79
  },
  "hsl": {
    "h": 338.824,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48282,
    "c": 0.17223,
    "h": 6.2
  },
  "luminance": 0.0976
}

Semantic roles & 50–950 ramp

primary
#A71F4F
secondary
#5CC6A0
accent
#ECAE3C
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#14070A
muted
#837A7C

Preview Lab

Preview with #A71F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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