#A7222E#A7222E

#A7222E is a mid, vivid red. Relative luminance 0.096; OKLCH L 47.8% C 0.168 H 22.1°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#A7222E
RGBrgb(167, 34, 46)
HSLhsl(355, 66%, 39%)
HSVhsv(355, 80%, 65%)
CMYKcmyk(0%, 79.6%, 72.5%, 34.5%)
CIE-LABlab(37.04, 53.11, 27.65)
CIE-LCHlch(37.04, 59.88, 27.50°)
OKLaboklab(47.79% 0.1555 0.0633)
OKLCHoklch(47.79% 0.168 22.1)
XYZxyz(17.0035, 9.5595, 3.5341)
Luminance0.0956 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7222E #22A79B
analogous
#A72271 #A7222E #A75822
triadic
#A7222E #2EA722 #222EA7
tetradic
#A7222E #71A722 #22A79B #5822A7
square
#A7222E #71A722 #22A79B #5822A7
split-complementary
#A7222E #22A758 #2271A7
monochromatic
#410D12 #741820 #A7222E #D53140 #DF646F

Accessibility & contrast

On white

7.21
#A7222E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#A7222E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A7222E
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7222E#FFFFFF#000000##FFFFFF
##A7222E1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B452D
Deuteranopia (green-blind)
#6C6129
Tritanopia (blue-blind)
#B80028
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a7222e;
/* rgb */ color: rgb(167, 34, 46);
/* oklch */ color: oklch(47.8% 0.168 22.1);
Tailwind
colors: {
  custom: {
    50: '#c96a66',
    500: '#a7222e',
    950: '#000000',
  },
}
SCSS
$custom: #a7222e;
$custom-light: #c96a66;
$custom-dark: #000000;
JSON
{
  "hex": "#a7222e",
  "rgb": {
    "r": 167,
    "g": 34,
    "b": 46
  },
  "hsl": {
    "h": 354.586,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.47788,
    "c": 0.16791,
    "h": 22.1
  },
  "luminance": 0.09557
}

Semantic roles & 50–950 ramp

primary
#A7222E
secondary
#60C5BC
accent
#E9DA3F
background
#FDF6F6
surface
#FAECEB
border
#D3C7C6
text
#150706
muted
#837A7A

Preview Lab

Preview with #A7222E

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

Preview Lab → · Contrast checker → · Palette generator →

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