#A7222A#A7222A

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

Color values

HEX#A7222A
RGBrgb(167, 34, 42)
HSLhsl(356, 66%, 39%)
HSVhsv(356, 80%, 65%)
CMYKcmyk(0%, 79.6%, 74.9%, 34.5%)
CIE-LABlab(36.98, 52.94, 30.03)
CIE-LCHlch(36.98, 60.86, 29.57°)
OKLaboklab(47.73% 0.1541 0.0677)
OKLCHoklch(47.73% 0.168 23.7)
XYZxyz(16.9283, 9.5294, 3.1381)
Luminance0.0953 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7222A #22A79F
analogous
#A7226D #A7222A #A75D22
triadic
#A7222A #2AA722 #222AA7
tetradic
#A7222A #6DA722 #22A79F #5D22A7
square
#A7222A #6DA722 #22A79F #5D22A7
split-complementary
#A7222A #22A75D #226DA7
monochromatic
#410D10 #74181D #A7222A #D5313B #DF646B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7222A#FFFFFF#000000##FFFFFF
##A7222A1.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4529
Deuteranopia (green-blind)
#6C6125
Tritanopia (blue-blind)
#B80027
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a7222a;
/* rgb */ color: rgb(167, 34, 42);
/* oklch */ color: oklch(47.7% 0.168 23.7);
Tailwind
colors: {
  custom: {
    50: '#ca6a63',
    500: '#a7222a',
    950: '#000000',
  },
}
SCSS
$custom: #a7222a;
$custom-light: #ca6a63;
$custom-dark: #000000;
JSON
{
  "hex": "#a7222a",
  "rgb": {
    "r": 167,
    "g": 34,
    "b": 42
  },
  "hsl": {
    "h": 356.391,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.47729,
    "c": 0.16826,
    "h": 23.7
  },
  "luminance": 0.09527
}

Semantic roles & 50–950 ramp

primary
#A7222A
secondary
#60C5BF
accent
#E9DF3F
background
#FDF6F5
surface
#FBECEA
border
#D4C7C6
text
#150705
muted
#837A79

Preview Lab

Preview with #A7222A

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

Preview Lab → · Contrast checker → · Palette generator →

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