#A71F2F#A71F2F

#A71F2F is a mid, vivid red. Relative luminance 0.094; OKLCH L 47.6% C 0.170 H 21.1°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#A71F2F
RGBrgb(167, 31, 47)
HSLhsl(353, 69%, 39%)
HSVhsv(353, 81%, 65%)
CMYKcmyk(0%, 81.4%, 71.9%, 34.5%)
CIE-LABlab(36.75, 54.02, 26.69)
CIE-LCHlch(36.75, 60.25, 26.29°)
OKLaboklab(47.58% 0.1587 0.0614)
OKLCHoklch(47.58% 0.17 21.1)
XYZxyz(16.9414, 9.4034, 3.6118)
Luminance0.0940 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71F2F #1FA797
analogous
#A71F73 #A71F2F #A7531F
triadic
#A71F2F #2FA71F #1F2FA7
tetradic
#A71F2F #73A71F #1FA797 #531FA7
square
#A71F2F #73A71F #1FA797 #531FA7
split-complementary
#A71F2F #1FA753 #1F73A7
monochromatic
#400C12 #731520 #A71F2F #D82B40 #E15F6E

Accessibility & contrast

On white

7.29
#A71F2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#A71F2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A71F2F
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71F2F#FFFFFF#000000##FFFFFF
##A71F2F1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a71f2f;
/* rgb */ color: rgb(167, 31, 47);
/* oklch */ color: oklch(47.6% 0.170 21.1);
Tailwind
colors: {
  custom: {
    50: '#ca6967',
    500: '#a71f2f',
    950: '#000000',
  },
}
SCSS
$custom: #a71f2f;
$custom-light: #ca6967;
$custom-dark: #000000;
JSON
{
  "hex": "#a71f2f",
  "rgb": {
    "r": 167,
    "g": 31,
    "b": 47
  },
  "hsl": {
    "h": 352.941,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.47578,
    "c": 0.17011,
    "h": 21.1
  },
  "luminance": 0.09401
}

Semantic roles & 50–950 ramp

primary
#A71F2F
secondary
#5CC6B9
accent
#ECD73C
background
#FDF6F6
surface
#FAECEB
border
#D3C7C6
text
#150706
muted
#837A7A

Preview Lab

Preview with #A71F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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