#A7211D#A7211D

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

Color values

HEX#A7211D
RGBrgb(167, 33, 29)
HSLhsl(2, 70%, 38%)
HSVhsv(2, 83%, 65%)
CMYKcmyk(0%, 80.2%, 82.6%, 34.5%)
CIE-LABlab(36.73, 52.77, 37.32)
CIE-LCHlch(36.73, 64.63, 35.27°)
OKLaboklab(47.5% 0.1507 0.0796)
OKLCHoklch(47.5% 0.17 27.8)
XYZxyz(16.7040, 9.3946, 2.0960)
Luminance0.0939 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7211D #1DA3A7
analogous
#A71D5E #A7211D #A7661D
triadic
#A7211D #1DA721 #211DA7
tetradic
#A7211D #5EA71D #1DA3A7 #661DA7
square
#A7211D #5EA71D #1DA3A7 #661DA7
split-complementary
#A7211D #1DA766 #1D5EA7
monochromatic
#3F0C0B #731714 #A7211D #DA2D28 #E3605C

Accessibility & contrast

On white

7.30
#A7211D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A7211D
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7211D#FFFFFF#000000##FFFFFF
##A7211D1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C441B
Deuteranopia (green-blind)
#6D6116
Tritanopia (blue-blind)
#B80022
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a7211d;
/* rgb */ color: rgb(167, 33, 29);
/* oklch */ color: oklch(47.5% 0.170 27.8);
Tailwind
colors: {
  custom: {
    50: '#cb6a5a',
    500: '#a7211d',
    950: '#000000',
  },
}
SCSS
$custom: #a7211d;
$custom-light: #cb6a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#a7211d",
  "rgb": {
    "r": 167,
    "g": 33,
    "b": 29
  },
  "hsl": {
    "h": 1.739,
    "s": 70.408,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47496,
    "c": 0.17045,
    "h": 27.8
  },
  "luminance": 0.09392
}

Semantic roles & 50–950 ramp

primary
#A7211D
secondary
#59C3C7
accent
#E8ED3B
background
#FDF6F5
surface
#FBECE9
border
#D4C7C5
text
#150704
muted
#837A79

Preview Lab

Preview with #A7211D

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

Preview Lab → · Contrast checker → · Palette generator →

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