#A8212F#A8212F

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

Color values

HEX#A8212F
RGBrgb(168, 33, 47)
HSLhsl(354, 67%, 39%)
HSVhsv(354, 80%, 66%)
CMYKcmyk(0%, 80.4%, 72%, 34.1%)
CIE-LABlab(37.15, 53.75, 27.22)
CIE-LCHlch(37.15, 60.25, 26.86°)
OKLaboklab(47.91% 0.1577 0.0625)
OKLCHoklch(47.91% 0.17 21.6)
XYZxyz(17.2074, 9.6205, 3.6397)
Luminance0.0962 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8212F #21A89A
analogous
#A82173 #A8212F #A85721
triadic
#A8212F #2FA821 #212FA8
tetradic
#A8212F #73A821 #21A89A #5721A8
square
#A8212F #73A821 #21A89A #5721A8
split-complementary
#A8212F #21A857 #2173A8
monochromatic
#420D12 #751721 #A8212F #D63041 #E06370

Accessibility & contrast

On white

7.18
#A8212F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#A8212F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A8212F
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8212F#FFFFFF#000000##FFFFFF
##A8212F1.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B452E
Deuteranopia (green-blind)
#6C622A
Tritanopia (blue-blind)
#B90028
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a8212f;
/* rgb */ color: rgb(168, 33, 47);
/* oklch */ color: oklch(47.9% 0.170 21.6);
Tailwind
colors: {
  custom: {
    50: '#ca6a67',
    500: '#a8212f',
    950: '#000000',
  },
}
SCSS
$custom: #a8212f;
$custom-light: #ca6a67;
$custom-dark: #000000;
JSON
{
  "hex": "#a8212f",
  "rgb": {
    "r": 168,
    "g": 33,
    "b": 47
  },
  "hsl": {
    "h": 353.778,
    "s": 67.164,
    "l": 39.412
  },
  "oklch": {
    "l": 0.47912,
    "c": 0.16958,
    "h": 21.6
  },
  "luminance": 0.09618
}

Semantic roles & 50–950 ramp

primary
#A8212F
secondary
#5FC5BB
accent
#EAD83E
background
#FDF6F6
surface
#FBECEB
border
#D4C7C6
text
#150706
muted
#837A7A

Preview Lab

Preview with #A8212F

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

Preview Lab → · Contrast checker → · Palette generator →

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