#A71F2C#A71F2C

#A71F2C is a mid, vivid red. Relative luminance 0.094; OKLCH L 47.5% C 0.170 H 22.3°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#A71F2C
RGBrgb(167, 31, 44)
HSLhsl(354, 69%, 39%)
HSVhsv(354, 81%, 65%)
CMYKcmyk(0%, 81.4%, 73.7%, 34.5%)
CIE-LABlab(36.71, 53.88, 28.49)
CIE-LCHlch(36.71, 60.95, 27.87°)
OKLaboklab(47.53% 0.1575 0.0647)
OKLCHoklch(47.53% 0.17 22.3)
XYZxyz(16.8829, 9.3800, 3.3040)
Luminance0.0938 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71F2C #1FA79A
analogous
#A71F70 #A71F2C #A7561F
triadic
#A71F2C #2CA71F #1F2CA7
tetradic
#A71F2C #70A71F #1FA79A #561FA7
square
#A71F2C #70A71F #1FA79A #561FA7
split-complementary
#A71F2C #1FA756 #1F70A7
monochromatic
#400C11 #73151E #A71F2C #D82B3C #E15F6C

Accessibility & contrast

On white

7.30
#A71F2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#A71F2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A71F2C
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71F2C#FFFFFF#000000##FFFFFF
##A71F2C1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A442B
Deuteranopia (green-blind)
#6B6127
Tritanopia (blue-blind)
#B80026
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a71f2c;
/* rgb */ color: rgb(167, 31, 44);
/* oklch */ color: oklch(47.5% 0.170 22.3);
Tailwind
colors: {
  custom: {
    50: '#ca6965',
    500: '#a71f2c',
    950: '#000000',
  },
}
SCSS
$custom: #a71f2c;
$custom-light: #ca6965;
$custom-dark: #000000;
JSON
{
  "hex": "#a71f2c",
  "rgb": {
    "r": 167,
    "g": 31,
    "b": 44
  },
  "hsl": {
    "h": 354.265,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.47531,
    "c": 0.17031,
    "h": 22.3
  },
  "luminance": 0.09377
}

Semantic roles & 50–950 ramp

primary
#A71F2C
secondary
#5CC6BC
accent
#ECDB3C
background
#FDF6F6
surface
#FBECEB
border
#D4C7C6
text
#150705
muted
#837A7A

Preview Lab

Preview with #A71F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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