#A71F3E#A71F3E

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

Color values

HEX#A71F3E
RGBrgb(167, 31, 62)
HSLhsl(346, 69%, 39%)
HSVhsv(346, 81%, 65%)
CMYKcmyk(0%, 81.4%, 62.9%, 34.5%)
CIE-LABlab(37.01, 54.84, 17.53)
CIE-LCHlch(37.01, 57.57, 17.72°)
OKLaboklab(47.86% 0.1646 0.0426)
OKLCHoklch(47.86% 0.17 14.5)
XYZxyz(17.2977, 9.5459, 5.4882)
Luminance0.0954 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71F3E #1FA788
analogous
#A71F82 #A71F3E #A7441F
triadic
#A71F3E #3EA71F #1F3EA7
tetradic
#A71F3E #82A71F #1FA788 #441FA7
square
#A71F3E #82A71F #1FA788 #441FA7
split-complementary
#A71F3E #1FA744 #1F82A7
monochromatic
#400C18 #73152B #A71F3E #D82B53 #E15F7D

Accessibility & contrast

On white

7.22
#A71F3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#A71F3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A71F3E
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71F3E#FFFFFF#000000##FFFFFF
##A71F3E1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47453E
Deuteranopia (green-blind)
#6A613A
Tritanopia (blue-blind)
#B7002D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a71f3e;
/* rgb */ color: rgb(167, 31, 62);
/* oklch */ color: oklch(47.9% 0.170 14.5);
Tailwind
colors: {
  custom: {
    50: '#c86a73',
    500: '#a71f3e',
    950: '#000000',
  },
}
SCSS
$custom: #a71f3e;
$custom-light: #c86a73;
$custom-dark: #000000;
JSON
{
  "hex": "#a71f3e",
  "rgb": {
    "r": 167,
    "g": 31,
    "b": 62
  },
  "hsl": {
    "h": 346.324,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.47859,
    "c": 0.16999,
    "h": 14.5
  },
  "luminance": 0.09543
}

Semantic roles & 50–950 ramp

primary
#A71F3E
secondary
#5CC6AE
accent
#ECC43C
background
#FDF6F6
surface
#FAECEC
border
#D3C7C7
text
#140708
muted
#837A7B

Preview Lab

Preview with #A71F3E

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

Preview Lab → · Contrast checker → · Palette generator →

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