#A71E2F#A71E2F

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

Color values

HEX#A71E2F
RGBrgb(167, 30, 47)
HSLhsl(353, 70%, 39%)
HSVhsv(353, 82%, 65%)
CMYKcmyk(0%, 82%, 71.9%, 34.5%)
CIE-LABlab(36.65, 54.29, 26.57)
CIE-LCHlch(36.65, 60.45, 26.08°)
OKLaboklab(47.51% 0.1595 0.0611)
OKLCHoklch(47.51% 0.171 21)
XYZxyz(16.9157, 9.3520, 3.6032)
Luminance0.0935 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71E2F #1EA796
analogous
#A71E73 #A71E2F #A7511E
triadic
#A71E2F #2FA71E #1E2FA7
tetradic
#A71E2F #73A71E #1EA796 #511EA7
square
#A71E2F #73A71E #1EA796 #511EA7
split-complementary
#A71E2F #1EA751 #1E73A7
monochromatic
#3F0B12 #731520 #A71E2F #D92A3F #E25D6E

Accessibility & contrast

On white

7.32
#A71E2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#A71E2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A71E2F
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71E2F#FFFFFF#000000##FFFFFF
##A71E2F1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49442E
Deuteranopia (green-blind)
#6B612A
Tritanopia (blue-blind)
#B80026
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a71e2f;
/* rgb */ color: rgb(167, 30, 47);
/* oklch */ color: oklch(47.5% 0.171 21.0);
Tailwind
colors: {
  custom: {
    50: '#ca6967',
    500: '#a71e2f',
    950: '#000000',
  },
}
SCSS
$custom: #a71e2f;
$custom-light: #ca6967;
$custom-dark: #000000;
JSON
{
  "hex": "#a71e2f",
  "rgb": {
    "r": 167,
    "g": 30,
    "b": 47
  },
  "hsl": {
    "h": 352.555,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.47506,
    "c": 0.17083,
    "h": 21
  },
  "luminance": 0.09349
}

Semantic roles & 50–950 ramp

primary
#A71E2F
secondary
#5BC6B9
accent
#ECD63B
background
#FDF6F6
surface
#FAECEB
border
#D3C7C6
text
#150706
muted
#837A7A

Preview Lab

Preview with #A71E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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