#A22822#A22822

#A22822 is a mid, vivid red. Relative luminance 0.093; OKLCH L 47.2% C 0.159 H 27.9°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#A22822
RGBrgb(162, 40, 34)
HSLhsl(3, 65%, 38%)
HSVhsv(3, 79%, 64%)
CMYKcmyk(0%, 75.3%, 79%, 36.5%)
CIE-LABlab(36.59, 49.12, 34.04)
CIE-LCHlch(36.59, 59.76, 34.72°)
OKLaboklab(47.23% 0.1409 0.0746)
OKLCHoklch(47.23% 0.159 27.9)
XYZxyz(15.9497, 9.3170, 2.4716)
Luminance0.0931 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22822 #229CA2
analogous
#A2225C #A22822 #A26822
triadic
#A22822 #22A228 #2822A2
tetradic
#A22822 #5CA222 #229CA2 #6822A2
square
#A22822 #5CA222 #229CA2 #6822A2
split-complementary
#A22822 #22A268 #225CA2
monochromatic
#3D0F0D #6F1C17 #A22822 #D3362E #DE6761

Accessibility & contrast

On white

7.34
#A22822 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#A22822 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A22822
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22822#FFFFFF#000000##FFFFFF
##A228221.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4520
Deuteranopia (green-blind)
#6B601D
Tritanopia (blue-blind)
#B30028
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a22822;
/* rgb */ color: rgb(162, 40, 34);
/* oklch */ color: oklch(47.2% 0.159 27.9);
Tailwind
colors: {
  custom: {
    50: '#c66c5e',
    500: '#a22822',
    950: '#000000',
  },
}
SCSS
$custom: #a22822;
$custom-light: #c66c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#a22822",
  "rgb": {
    "r": 162,
    "g": 40,
    "b": 34
  },
  "hsl": {
    "h": 2.813,
    "s": 65.306,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47225,
    "c": 0.15939,
    "h": 27.9
  },
  "luminance": 0.09314
}

Semantic roles & 50–950 ramp

primary
#A22822
secondary
#5DBEC3
accent
#E0E840
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#150704
muted
#837A79

Preview Lab

Preview with #A22822

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

Preview Lab → · Contrast checker → · Palette generator →

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