#A7211F#A7211F

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

Color values

HEX#A7211F
RGBrgb(167, 33, 31)
HSLhsl(1, 69%, 39%)
HSVhsv(1, 81%, 65%)
CMYKcmyk(0%, 80.2%, 81.4%, 34.5%)
CIE-LABlab(36.75, 52.83, 36.23)
CIE-LCHlch(36.75, 64.06, 34.44°)
OKLaboklab(47.52% 0.1513 0.0779)
OKLCHoklch(47.52% 0.17 27.2)
XYZxyz(16.7296, 9.4048, 2.2305)
Luminance0.0940 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7211F #1FA5A7
analogous
#A71F61 #A7211F #A7651F
triadic
#A7211F #1FA721 #211FA7
tetradic
#A7211F #61A71F #1FA5A7 #651FA7
square
#A7211F #61A71F #1FA5A7 #651FA7
split-complementary
#A7211F #1FA765 #1F61A7
monochromatic
#400D0C #731715 #A7211F #D82E2B #E1615F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7211F#FFFFFF#000000##FFFFFF
##A7211F1.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)
#4C441D
Deuteranopia (green-blind)
#6D6118
Tritanopia (blue-blind)
#B80023
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a7211f;
/* rgb */ color: rgb(167, 33, 31);
/* oklch */ color: oklch(47.5% 0.170 27.2);
Tailwind
colors: {
  custom: {
    50: '#cb6a5c',
    500: '#a7211f',
    950: '#000000',
  },
}
SCSS
$custom: #a7211f;
$custom-light: #cb6a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#a7211f",
  "rgb": {
    "r": 167,
    "g": 33,
    "b": 31
  },
  "hsl": {
    "h": 0.882,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.47516,
    "c": 0.17021,
    "h": 27.2
  },
  "luminance": 0.09402
}

Semantic roles & 50–950 ramp

primary
#A7211F
secondary
#5CC4C6
accent
#E9EC3C
background
#FDF6F5
surface
#FBECE9
border
#D4C7C5
text
#150704
muted
#837A79

Preview Lab

Preview with #A7211F

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

Preview Lab → · Contrast checker → · Palette generator →

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