#A8221F#A8221F

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

Color values

HEX#A8221F
RGBrgb(168, 34, 31)
HSLhsl(1, 69%, 39%)
HSVhsv(1, 82%, 66%)
CMYKcmyk(0%, 79.8%, 81.5%, 34.1%)
CIE-LABlab(37.06, 52.84, 36.60)
CIE-LCHlch(37.06, 64.28, 34.71°)
OKLaboklab(47.78% 0.1512 0.0787)
OKLCHoklch(47.78% 0.17 27.5)
XYZxyz(16.9699, 9.5706, 2.2498)
Luminance0.0957 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8221F #1FA5A8
analogous
#A81F61 #A8221F #A8671F
triadic
#A8221F #1FA822 #221FA8
tetradic
#A8221F #61A81F #1FA5A8 #671FA8
square
#A8221F #61A81F #1FA5A8 #671FA8
split-complementary
#A8221F #1FA867 #1F61A8
monochromatic
#410D0C #741815 #A8221F #D8302C #E26360

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8221F#FFFFFF#000000##FFFFFF
##A8221F1.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)
#4D451D
Deuteranopia (green-blind)
#6E6218
Tritanopia (blue-blind)
#B90023
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a8221f;
/* rgb */ color: rgb(168, 34, 31);
/* oklch */ color: oklch(47.8% 0.170 27.5);
Tailwind
colors: {
  custom: {
    50: '#cb6a5c',
    500: '#a8221f',
    950: '#000000',
  },
}
SCSS
$custom: #a8221f;
$custom-light: #cb6a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#a8221f",
  "rgb": {
    "r": 168,
    "g": 34,
    "b": 31
  },
  "hsl": {
    "h": 1.314,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47781,
    "c": 0.17046,
    "h": 27.5
  },
  "luminance": 0.09568
}

Semantic roles & 50–950 ramp

primary
#A8221F
secondary
#5DC4C6
accent
#E8EC3C
background
#FDF6F5
surface
#FBECE9
border
#D4C7C5
text
#150704
muted
#837A79

Preview Lab

Preview with #A8221F

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

Preview Lab → · Contrast checker → · Palette generator →

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