#A71F3A#A71F3A

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

Color values

HEX#A71F3A
RGBrgb(167, 31, 58)
HSLhsl(348, 69%, 39%)
HSVhsv(348, 81%, 65%)
CMYKcmyk(0%, 81.4%, 65.3%, 34.5%)
CIE-LABlab(36.94, 54.60, 19.98)
CIE-LCHlch(36.94, 58.14, 20.10°)
OKLaboklab(47.78% 0.163 0.0479)
OKLCHoklch(47.78% 0.17 16.4)
XYZxyz(17.1919, 9.5036, 4.9313)
Luminance0.0950 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71F3A #1FA78C
analogous
#A71F7E #A71F3A #A7481F
triadic
#A71F3A #3AA71F #1F3AA7
tetradic
#A71F3A #7EA71F #1FA78C #481FA7
square
#A71F3A #7EA71F #1FA78C #481FA7
split-complementary
#A71F3A #1FA748 #1F7EA7
monochromatic
#400C16 #731528 #A71F3A #D82B4E #E15F79

Accessibility & contrast

On white

7.24
#A71F3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#A71F3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A71F3A
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71F3A#FFFFFF#000000##FFFFFF
##A71F3A1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48453A
Deuteranopia (green-blind)
#6A6136
Tritanopia (blue-blind)
#B8002B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a71f3a;
/* rgb */ color: rgb(167, 31, 58);
/* oklch */ color: oklch(47.8% 0.170 16.4);
Tailwind
colors: {
  custom: {
    50: '#c96a6f',
    500: '#a71f3a',
    950: '#000000',
  },
}
SCSS
$custom: #a71f3a;
$custom-light: #c96a6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a71f3a",
  "rgb": {
    "r": 167,
    "g": 31,
    "b": 58
  },
  "hsl": {
    "h": 348.088,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.47776,
    "c": 0.16985,
    "h": 16.4
  },
  "luminance": 0.09501
}

Semantic roles & 50–950 ramp

primary
#A71F3A
secondary
#5CC6B1
accent
#ECC93C
background
#FDF6F6
surface
#FAECEC
border
#D3C7C7
text
#150707
muted
#837A7A

Preview Lab

Preview with #A71F3A

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

Preview Lab → · Contrast checker → · Palette generator →

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