#A71F3F#A71F3F

#A71F3F is a mid, vivid red. Relative luminance 0.096; OKLCH L 47.9% C 0.170 H 14.0°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#A71F3F
RGBrgb(167, 31, 63)
HSLhsl(346, 69%, 39%)
HSVhsv(346, 81%, 65%)
CMYKcmyk(0%, 81.4%, 62.3%, 34.5%)
CIE-LABlab(37.04, 54.90, 16.91)
CIE-LCHlch(37.04, 57.44, 17.12°)
OKLaboklab(47.88% 0.165 0.0413)
OKLCHoklch(47.88% 0.17 14)
XYZxyz(17.3254, 9.5570, 5.6341)
Luminance0.0955 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71F3F #1FA787
analogous
#A71F83 #A71F3F #A7431F
triadic
#A71F3F #3FA71F #1F3FA7
tetradic
#A71F3F #83A71F #1FA787 #431FA7
square
#A71F3F #83A71F #1FA787 #431FA7
split-complementary
#A71F3F #1FA743 #1F83A7
monochromatic
#400C18 #73152C #A71F3F #D82B54 #E15F7E

Accessibility & contrast

On white

7.21
#A71F3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A71F3F
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71F3F#FFFFFF#000000##FFFFFF
##A71F3F1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47453F
Deuteranopia (green-blind)
#69613B
Tritanopia (blue-blind)
#B7002D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a71f3f;
/* rgb */ color: rgb(167, 31, 63);
/* oklch */ color: oklch(47.9% 0.170 14.0);
Tailwind
colors: {
  custom: {
    50: '#c86a73',
    500: '#a71f3f',
    950: '#000000',
  },
}
SCSS
$custom: #a71f3f;
$custom-light: #c86a73;
$custom-dark: #000000;
JSON
{
  "hex": "#a71f3f",
  "rgb": {
    "r": 167,
    "g": 31,
    "b": 63
  },
  "hsl": {
    "h": 345.882,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.47881,
    "c": 0.17004,
    "h": 14
  },
  "luminance": 0.09554
}

Semantic roles & 50–950 ramp

primary
#A71F3F
secondary
#5CC6AD
accent
#ECC23C
background
#FDF6F6
surface
#FAECEC
border
#D3C7C7
text
#140708
muted
#837A7B

Preview Lab

Preview with #A71F3F

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

Preview Lab → · Contrast checker → · Palette generator →

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