#A71F39#A71F39

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

Color values

HEX#A71F39
RGBrgb(167, 31, 57)
HSLhsl(349, 69%, 39%)
HSVhsv(349, 81%, 65%)
CMYKcmyk(0%, 81.4%, 65.9%, 34.5%)
CIE-LABlab(36.92, 54.54, 20.59)
CIE-LCHlch(36.92, 58.30, 20.69°)
OKLaboklab(47.76% 0.1626 0.0492)
OKLCHoklch(47.76% 0.17 16.8)
XYZxyz(17.1667, 9.4935, 4.7986)
Luminance0.0949 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71F39 #1FA78D
analogous
#A71F7D #A71F39 #A7491F
triadic
#A71F39 #39A71F #1F39A7
tetradic
#A71F39 #7DA71F #1FA78D #491FA7
square
#A71F39 #7DA71F #1FA78D #491FA7
split-complementary
#A71F39 #1FA749 #1F7DA7
monochromatic
#400C16 #731527 #A71F39 #D82B4C #E15F78

Accessibility & contrast

On white

7.25
#A71F39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A71F39
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71F39#FFFFFF#000000##FFFFFF
##A71F391.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484539
Deuteranopia (green-blind)
#6A6135
Tritanopia (blue-blind)
#B8002B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a71f39;
/* rgb */ color: rgb(167, 31, 57);
/* oklch */ color: oklch(47.8% 0.170 16.8);
Tailwind
colors: {
  custom: {
    50: '#c96a6f',
    500: '#a71f39',
    950: '#000000',
  },
}
SCSS
$custom: #a71f39;
$custom-light: #c96a6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a71f39",
  "rgb": {
    "r": 167,
    "g": 31,
    "b": 57
  },
  "hsl": {
    "h": 348.529,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.47756,
    "c": 0.16984,
    "h": 16.8
  },
  "luminance": 0.09491
}

Semantic roles & 50–950 ramp

primary
#A71F39
secondary
#5CC6B2
accent
#ECCA3C
background
#FDF6F6
surface
#FAECEC
border
#D3C7C7
text
#150707
muted
#837A7A

Preview Lab

Preview with #A71F39

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

Preview Lab → · Contrast checker → · Palette generator →

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