#A7221E#A7221E

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

Color values

HEX#A7221E
RGBrgb(167, 34, 30)
HSLhsl(2, 70%, 39%)
HSVhsv(2, 82%, 65%)
CMYKcmyk(0%, 79.6%, 82%, 34.5%)
CIE-LABlab(36.85, 52.50, 36.88)
CIE-LCHlch(36.85, 64.16, 35.08°)
OKLaboklab(47.58% 0.1501 0.079)
OKLCHoklch(47.58% 0.17 27.8)
XYZxyz(16.7448, 9.4560, 2.1716)
Luminance0.0945 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7221E #1EA3A7
analogous
#A71E5E #A7221E #A7661E
triadic
#A7221E #1EA722 #221EA7
tetradic
#A7221E #5EA71E #1EA3A7 #661EA7
square
#A7221E #5EA71E #1EA3A7 #661EA7
split-complementary
#A7221E #1EA766 #1E5EA7
monochromatic
#3F0D0B #731715 #A7221E #D92F2A #E2615D

Accessibility & contrast

On white

7.26
#A7221E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#A7221E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A7221E
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7221E#FFFFFF#000000##FFFFFF
##A7221E1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C441C
Deuteranopia (green-blind)
#6D6117
Tritanopia (blue-blind)
#B80023
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a7221e;
/* rgb */ color: rgb(167, 34, 30);
/* oklch */ color: oklch(47.6% 0.170 27.8);
Tailwind
colors: {
  custom: {
    50: '#cb6a5b',
    500: '#a7221e',
    950: '#000000',
  },
}
SCSS
$custom: #a7221e;
$custom-light: #cb6a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#a7221e",
  "rgb": {
    "r": 167,
    "g": 34,
    "b": 30
  },
  "hsl": {
    "h": 1.752,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.47584,
    "c": 0.16961,
    "h": 27.8
  },
  "luminance": 0.09453
}

Semantic roles & 50–950 ramp

primary
#A7221E
secondary
#5BC3C6
accent
#E7EC3B
background
#FDF6F5
surface
#FBECE9
border
#D4C7C5
text
#150704
muted
#837A79

Preview Lab

Preview with #A7221E

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

Preview Lab → · Contrast checker → · Palette generator →

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