#A71F1D#A71F1D

#A71F1D is a mid, vivid red. Relative luminance 0.093; OKLCH L 47.3% C 0.172 H 27.4°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#A71F1D
RGBrgb(167, 31, 29)
HSLhsl(1, 70%, 38%)
HSVhsv(1, 83%, 65%)
CMYKcmyk(0%, 81.4%, 82.6%, 34.5%)
CIE-LABlab(36.53, 53.34, 37.12)
CIE-LCHlch(36.53, 64.99, 34.84°)
OKLaboklab(47.35% 0.1525 0.0792)
OKLCHoklch(47.35% 0.172 27.4)
XYZxyz(16.6502, 9.2869, 2.0780)
Luminance0.0928 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71F1D #1DA5A7
analogous
#A71D60 #A71F1D #A7641D
triadic
#A71F1D #1DA71F #1F1DA7
tetradic
#A71F1D #60A71D #1DA5A7 #641DA7
square
#A71F1D #60A71D #1DA5A7 #641DA7
split-complementary
#A71F1D #1DA764 #1D60A7
monochromatic
#3F0C0B #731514 #A71F1D #DA2A28 #E35E5C

Accessibility & contrast

On white

7.35
#A71F1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#A71F1D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A71F1D
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71F1D#FFFFFF#000000##FFFFFF
##A71F1D1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B431B
Deuteranopia (green-blind)
#6C6016
Tritanopia (blue-blind)
#B80021
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a71f1d;
/* rgb */ color: rgb(167, 31, 29);
/* oklch */ color: oklch(47.3% 0.172 27.4);
Tailwind
colors: {
  custom: {
    50: '#cb695a',
    500: '#a71f1d',
    950: '#000000',
  },
}
SCSS
$custom: #a71f1d;
$custom-light: #cb695a;
$custom-dark: #000000;
JSON
{
  "hex": "#a71f1d",
  "rgb": {
    "r": 167,
    "g": 31,
    "b": 29
  },
  "hsl": {
    "h": 0.87,
    "s": 70.408,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47346,
    "c": 0.17183,
    "h": 27.4
  },
  "luminance": 0.09284
}

Semantic roles & 50–950 ramp

primary
#A71F1D
secondary
#59C5C7
accent
#EBED3B
background
#FDF6F5
surface
#FBECE9
border
#D4C7C5
text
#150704
muted
#837A79

Preview Lab

Preview with #A71F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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