#A71F38#A71F38

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

Color values

HEX#A71F38
RGBrgb(167, 31, 56)
HSLhsl(349, 69%, 39%)
HSVhsv(349, 81%, 65%)
CMYKcmyk(0%, 81.4%, 66.5%, 34.5%)
CIE-LABlab(36.90, 54.48, 21.20)
CIE-LCHlch(36.90, 58.46, 21.27°)
OKLaboklab(47.74% 0.1622 0.0505)
OKLCHoklch(47.74% 0.17 17.3)
XYZxyz(17.1420, 9.4836, 4.6685)
Luminance0.0948 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71F38 #1FA78E
analogous
#A71F7C #A71F38 #A74A1F
triadic
#A71F38 #38A71F #1F38A7
tetradic
#A71F38 #7CA71F #1FA78E #4A1FA7
square
#A71F38 #7CA71F #1FA78E #4A1FA7
split-complementary
#A71F38 #1FA74A #1F7CA7
monochromatic
#400C15 #731527 #A71F38 #D82B4B #E15F77

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A71F38#FFFFFF#000000##FFFFFF
##A71F381.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)
#484538
Deuteranopia (green-blind)
#6A6134
Tritanopia (blue-blind)
#B8002A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a71f38;
/* rgb */ color: rgb(167, 31, 56);
/* oklch */ color: oklch(47.7% 0.170 17.3);
Tailwind
colors: {
  custom: {
    50: '#c96a6e',
    500: '#a71f38',
    950: '#000000',
  },
}
SCSS
$custom: #a71f38;
$custom-light: #c96a6e;
$custom-dark: #000000;
JSON
{
  "hex": "#a71f38",
  "rgb": {
    "r": 167,
    "g": 31,
    "b": 56
  },
  "hsl": {
    "h": 348.971,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.47737,
    "c": 0.16983,
    "h": 17.3
  },
  "luminance": 0.09481
}

Semantic roles & 50–950 ramp

primary
#A71F38
secondary
#5CC6B2
accent
#ECCB3C
background
#FDF6F6
surface
#FAECEB
border
#D3C7C6
text
#150707
muted
#837A7A

Preview Lab

Preview with #A71F38

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

Preview Lab → · Contrast checker → · Palette generator →

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