#A71F40#A71F40

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

Color values

HEX#A71F40
RGBrgb(167, 31, 64)
HSLhsl(345, 69%, 39%)
HSVhsv(345, 81%, 65%)
CMYKcmyk(0%, 81.4%, 61.7%, 34.5%)
CIE-LABlab(37.06, 54.96, 16.30)
CIE-LCHlch(37.06, 57.33, 16.52°)
OKLaboklab(47.9% 0.1654 0.0399)
OKLCHoklch(47.9% 0.17 13.6)
XYZxyz(17.3536, 9.5683, 5.7826)
Luminance0.0957 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71F40 #1FA786
analogous
#A71F84 #A71F40 #A7421F
triadic
#A71F40 #40A71F #1F40A7
tetradic
#A71F40 #84A71F #1FA786 #421FA7
square
#A71F40 #84A71F #1FA786 #421FA7
split-complementary
#A71F40 #1FA742 #1F84A7
monochromatic
#400C18 #73152C #A71F40 #D82B55 #E15F7F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A71F40#FFFFFF#000000##FFFFFF
##A71F401.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)
#474540
Deuteranopia (green-blind)
#69613C
Tritanopia (blue-blind)
#B7002E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a71f40;
/* rgb */ color: rgb(167, 31, 64);
/* oklch */ color: oklch(47.9% 0.170 13.6);
Tailwind
colors: {
  custom: {
    50: '#c86a74',
    500: '#a71f40',
    950: '#000000',
  },
}
SCSS
$custom: #a71f40;
$custom-light: #c86a74;
$custom-dark: #000000;
JSON
{
  "hex": "#a71f40",
  "rgb": {
    "r": 167,
    "g": 31,
    "b": 64
  },
  "hsl": {
    "h": 345.441,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.47903,
    "c": 0.17011,
    "h": 13.6
  },
  "luminance": 0.09566
}

Semantic roles & 50–950 ramp

primary
#A71F40
secondary
#5CC6AC
accent
#ECC13C
background
#FDF6F7
surface
#FAECED
border
#D3C7C8
text
#140708
muted
#837A7B

Preview Lab

Preview with #A71F40

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

Preview Lab → · Contrast checker → · Palette generator →

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