#A71E40#A71E40

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

Color values

HEX#A71E40
RGBrgb(167, 30, 64)
HSLhsl(345, 70%, 39%)
HSVhsv(345, 82%, 65%)
CMYKcmyk(0%, 82%, 61.7%, 34.5%)
CIE-LABlab(36.96, 55.23, 16.17)
CIE-LCHlch(36.96, 57.55, 16.32°)
OKLaboklab(47.83% 0.1662 0.0396)
OKLCHoklch(47.83% 0.171 13.4)
XYZxyz(17.3279, 9.5168, 5.7740)
Luminance0.0951 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71E40 #1EA785
analogous
#A71E84 #A71E40 #A7401E
triadic
#A71E40 #40A71E #1E40A7
tetradic
#A71E40 #84A71E #1EA785 #401EA7
square
#A71E40 #84A71E #1EA785 #401EA7
split-complementary
#A71E40 #1EA740 #1E84A7
monochromatic
#3F0B18 #73152C #A71E40 #D92A55 #E25D7E

Accessibility & contrast

On white

7.23
#A71E40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A71E40
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71E40#FFFFFF#000000##FFFFFF
##A71E401.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464540
Deuteranopia (green-blind)
#69613C
Tritanopia (blue-blind)
#B7002D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a71e40;
/* rgb */ color: rgb(167, 30, 64);
/* oklch */ color: oklch(47.8% 0.171 13.4);
Tailwind
colors: {
  custom: {
    50: '#c86974',
    500: '#a71e40',
    950: '#000000',
  },
}
SCSS
$custom: #a71e40;
$custom-light: #c86974;
$custom-dark: #000000;
JSON
{
  "hex": "#a71e40",
  "rgb": {
    "r": 167,
    "g": 30,
    "b": 64
  },
  "hsl": {
    "h": 345.109,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.47833,
    "c": 0.17089,
    "h": 13.4
  },
  "luminance": 0.09514
}

Semantic roles & 50–950 ramp

primary
#A71E40
secondary
#5BC6AC
accent
#ECC03B
background
#FDF6F7
surface
#FAECED
border
#D3C7C8
text
#140708
muted
#837A7B

Preview Lab

Preview with #A71E40

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

Preview Lab → · Contrast checker → · Palette generator →

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