#A71E2A#A71E2A

#A71E2A is a mid, vivid red. Relative luminance 0.093; OKLCH L 47.4% C 0.171 H 22.9°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#A71E2A
RGBrgb(167, 30, 42)
HSLhsl(355, 70%, 39%)
HSVhsv(355, 82%, 65%)
CMYKcmyk(0%, 82%, 74.9%, 34.5%)
CIE-LABlab(36.58, 54.07, 29.57)
CIE-LCHlch(36.58, 61.63, 28.68°)
OKLaboklab(47.43% 0.1577 0.0666)
OKLCHoklch(47.43% 0.171 22.9)
XYZxyz(16.8205, 9.3139, 3.1021)
Luminance0.0931 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71E2A #1EA79B
analogous
#A71E6E #A71E2A #A7571E
triadic
#A71E2A #2AA71E #1E2AA7
tetradic
#A71E2A #6EA71E #1EA79B #571EA7
square
#A71E2A #6EA71E #1EA79B #571EA7
split-complementary
#A71E2A #1EA757 #1E6EA7
monochromatic
#3F0B10 #73151D #A71E2A #D92A39 #E25D69

Accessibility & contrast

On white

7.34
#A71E2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A71E2A
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71E2A#FFFFFF#000000##FFFFFF
##A71E2A1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4329
Deuteranopia (green-blind)
#6B6025
Tritanopia (blue-blind)
#B80024
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a71e2a;
/* rgb */ color: rgb(167, 30, 42);
/* oklch */ color: oklch(47.4% 0.171 22.9);
Tailwind
colors: {
  custom: {
    50: '#ca6963',
    500: '#a71e2a',
    950: '#000000',
  },
}
SCSS
$custom: #a71e2a;
$custom-light: #ca6963;
$custom-dark: #000000;
JSON
{
  "hex": "#a71e2a",
  "rgb": {
    "r": 167,
    "g": 30,
    "b": 42
  },
  "hsl": {
    "h": 354.745,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.47431,
    "c": 0.17117,
    "h": 22.9
  },
  "luminance": 0.09311
}

Semantic roles & 50–950 ramp

primary
#A71E2A
secondary
#5BC6BD
accent
#ECDD3B
background
#FDF6F5
surface
#FBECEA
border
#D4C7C6
text
#150705
muted
#837A79

Preview Lab

Preview with #A71E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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