#A8221D#A8221D

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

Color values

HEX#A8221D
RGBrgb(168, 34, 29)
HSLhsl(2, 71%, 39%)
HSVhsv(2, 83%, 66%)
CMYKcmyk(0%, 79.8%, 82.7%, 34.1%)
CIE-LABlab(37.04, 52.78, 37.69)
CIE-LCHlch(37.04, 64.85, 35.53°)
OKLaboklab(47.76% 0.1506 0.0803)
OKLCHoklch(47.76% 0.171 28.1)
XYZxyz(16.9443, 9.5603, 2.1153)
Luminance0.0956 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8221D #1DA3A8
analogous
#A81D5D #A8221D #A8671D
triadic
#A8221D #1DA822 #221DA8
tetradic
#A8221D #5DA81D #1DA3A8 #671DA8
square
#A8221D #5DA81D #1DA3A8 #671DA8
split-complementary
#A8221D #1DA867 #1D5DA8
monochromatic
#400D0B #741714 #A8221D #DA2F28 #E3615C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8221D#FFFFFF#000000##FFFFFF
##A8221D1.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)
#4D441A
Deuteranopia (green-blind)
#6E6216
Tritanopia (blue-blind)
#BA0023
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a8221d;
/* rgb */ color: rgb(168, 34, 29);
/* oklch */ color: oklch(47.8% 0.171 28.1);
Tailwind
colors: {
  custom: {
    50: '#cb6a5a',
    500: '#a8221d',
    950: '#000000',
  },
}
SCSS
$custom: #a8221d;
$custom-light: #cb6a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#a8221d",
  "rgb": {
    "r": 168,
    "g": 34,
    "b": 29
  },
  "hsl": {
    "h": 2.158,
    "s": 70.558,
    "l": 38.627
  },
  "oklch": {
    "l": 0.47761,
    "c": 0.17071,
    "h": 28.1
  },
  "luminance": 0.09558
}

Semantic roles & 50–950 ramp

primary
#A8221D
secondary
#5AC3C7
accent
#E7ED3A
background
#FDF6F5
surface
#FBECE9
border
#D4C7C5
text
#150704
muted
#837A79

Preview Lab

Preview with #A8221D

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

Preview Lab → · Contrast checker → · Palette generator →

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