#A71B3F#A71B3F

#A71B3F is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.6% C 0.173 H 13.4°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#A71B3F
RGBrgb(167, 27, 63)
HSLhsl(345, 72%, 38%)
HSVhsv(345, 84%, 65%)
CMYKcmyk(0%, 83.8%, 62.3%, 34.5%)
CIE-LABlab(36.67, 55.94, 16.43)
CIE-LCHlch(36.67, 58.30, 16.37°)
OKLaboklab(47.61% 0.1683 0.0401)
OKLCHoklch(47.61% 0.173 13.4)
XYZxyz(17.2273, 9.3609, 5.6014)
Luminance0.0936 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71B3F #1BA783
analogous
#A71B85 #A71B3F #A73D1B
triadic
#A71B3F #3FA71B #1B3FA7
tetradic
#A71B3F #85A71B #1BA783 #3D1BA7
square
#A71B3F #85A71B #1BA783 #3D1BA7
split-complementary
#A71B3F #1BA73D #1B85A7
monochromatic
#3E0A17 #72122B #A71B3F #DC2453 #E4587C

Accessibility & contrast

On white

7.31
#A71B3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#A71B3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A71B3F
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71B3F#FFFFFF#000000##FFFFFF
##A71B3F1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45443F
Deuteranopia (green-blind)
#69603B
Tritanopia (blue-blind)
#B7002B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a71b3f;
/* rgb */ color: rgb(167, 27, 63);
/* oklch */ color: oklch(47.6% 0.173 13.4);
Tailwind
colors: {
  custom: {
    50: '#c96873',
    500: '#a71b3f',
    950: '#000000',
  },
}
SCSS
$custom: #a71b3f;
$custom-light: #c96873;
$custom-dark: #000000;
JSON
{
  "hex": "#a71b3f",
  "rgb": {
    "r": 167,
    "g": 27,
    "b": 63
  },
  "hsl": {
    "h": 344.571,
    "s": 72.165,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47612,
    "c": 0.17304,
    "h": 13.4
  },
  "luminance": 0.09358
}

Semantic roles & 50–950 ramp

primary
#A71B3F
secondary
#56C8AA
accent
#EFC039
background
#FDF6F6
surface
#FAECEC
border
#D3C7C7
text
#140708
muted
#837A7B

Preview Lab

Preview with #A71B3F

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

Preview Lab → · Contrast checker → · Palette generator →

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