#A71F3C#A71F3C

#A71F3C is a mid, vivid red. Relative luminance 0.095; OKLCH L 47.8% C 0.170 H 15.5°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#A71F3C
RGBrgb(167, 31, 60)
HSLhsl(347, 69%, 39%)
HSVhsv(347, 81%, 65%)
CMYKcmyk(0%, 81.4%, 64.1%, 34.5%)
CIE-LABlab(36.97, 54.71, 18.75)
CIE-LCHlch(36.97, 57.84, 18.92°)
OKLaboklab(47.82% 0.1638 0.0453)
OKLCHoklch(47.82% 0.17 15.5)
XYZxyz(17.2438, 9.5243, 5.2045)
Luminance0.0952 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71F3C #1FA78A
analogous
#A71F80 #A71F3C #A7461F
triadic
#A71F3C #3CA71F #1F3CA7
tetradic
#A71F3C #80A71F #1FA78A #461FA7
square
#A71F3C #80A71F #1FA78A #461FA7
split-complementary
#A71F3C #1FA746 #1F80A7
monochromatic
#400C17 #731529 #A71F3C #D82B50 #E15F7B

Accessibility & contrast

On white

7.23
#A71F3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#A71F3C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A71F3C
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71F3C#FFFFFF#000000##FFFFFF
##A71F3C1.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48453C
Deuteranopia (green-blind)
#6A6138
Tritanopia (blue-blind)
#B7002C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a71f3c;
/* rgb */ color: rgb(167, 31, 60);
/* oklch */ color: oklch(47.8% 0.170 15.5);
Tailwind
colors: {
  custom: {
    50: '#c96a71',
    500: '#a71f3c',
    950: '#000000',
  },
}
SCSS
$custom: #a71f3c;
$custom-light: #c96a71;
$custom-dark: #000000;
JSON
{
  "hex": "#a71f3c",
  "rgb": {
    "r": 167,
    "g": 31,
    "b": 60
  },
  "hsl": {
    "h": 347.206,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.47817,
    "c": 0.1699,
    "h": 15.5
  },
  "luminance": 0.09522
}

Semantic roles & 50–950 ramp

primary
#A71F3C
secondary
#5CC6AF
accent
#ECC63C
background
#FDF6F6
surface
#FAECEC
border
#D3C7C7
text
#150707
muted
#837A7A

Preview Lab

Preview with #A71F3C

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

Preview Lab → · Contrast checker → · Palette generator →

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