#A71F3D#A71F3D

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

Color values

HEX#A71F3D
RGBrgb(167, 31, 61)
HSLhsl(347, 69%, 39%)
HSVhsv(347, 81%, 65%)
CMYKcmyk(0%, 81.4%, 63.5%, 34.5%)
CIE-LABlab(36.99, 54.77, 18.14)
CIE-LCHlch(36.99, 57.70, 18.32°)
OKLaboklab(47.84% 0.1642 0.044)
OKLCHoklch(47.84% 0.17 15)
XYZxyz(17.2705, 9.5350, 5.3450)
Luminance0.0953 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71F3D #1FA789
analogous
#A71F81 #A71F3D #A7451F
triadic
#A71F3D #3DA71F #1F3DA7
tetradic
#A71F3D #81A71F #1FA789 #451FA7
square
#A71F3D #81A71F #1FA789 #451FA7
split-complementary
#A71F3D #1FA745 #1F81A7
monochromatic
#400C17 #73152A #A71F3D #D82B51 #E15F7C

Accessibility & contrast

On white

7.23
#A71F3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A71F3D
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71F3D#FFFFFF#000000##FFFFFF
##A71F3D1.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47453D
Deuteranopia (green-blind)
#6A6139
Tritanopia (blue-blind)
#B7002C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a71f3d;
/* rgb */ color: rgb(167, 31, 61);
/* oklch */ color: oklch(47.8% 0.170 15.0);
Tailwind
colors: {
  custom: {
    50: '#c96a72',
    500: '#a71f3d',
    950: '#000000',
  },
}
SCSS
$custom: #a71f3d;
$custom-light: #c96a72;
$custom-dark: #000000;
JSON
{
  "hex": "#a71f3d",
  "rgb": {
    "r": 167,
    "g": 31,
    "b": 61
  },
  "hsl": {
    "h": 346.765,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.47838,
    "c": 0.16994,
    "h": 15
  },
  "luminance": 0.09532
}

Semantic roles & 50–950 ramp

primary
#A71F3D
secondary
#5CC6AE
accent
#ECC53C
background
#FDF6F6
surface
#FAECEC
border
#D3C7C7
text
#150707
muted
#837A7A

Preview Lab

Preview with #A71F3D

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

Preview Lab → · Contrast checker → · Palette generator →

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