#A7212F#A7212F

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

Color values

HEX#A7212F
RGBrgb(167, 33, 47)
HSLhsl(354, 67%, 39%)
HSVhsv(354, 80%, 65%)
CMYKcmyk(0%, 80.2%, 71.9%, 34.5%)
CIE-LABlab(36.95, 53.45, 26.93)
CIE-LCHlch(36.95, 59.85, 26.74°)
OKLaboklab(47.73% 0.1568 0.0619)
OKLCHoklch(47.73% 0.169 21.5)
XYZxyz(16.9953, 9.5111, 3.6297)
Luminance0.0951 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7212F #21A799
analogous
#A72172 #A7212F #A75621
triadic
#A7212F #2FA721 #212FA7
tetradic
#A7212F #72A721 #21A799 #5621A7
square
#A7212F #72A721 #21A799 #5621A7
split-complementary
#A7212F #21A756 #2172A7
monochromatic
#410D12 #741721 #A7212F #D62F41 #E0626F

Accessibility & contrast

On white

7.24
#A7212F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#A7212F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A7212F
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7212F#FFFFFF#000000##FFFFFF
##A7212F1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A452E
Deuteranopia (green-blind)
#6C612A
Tritanopia (blue-blind)
#B80028
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a7212f;
/* rgb */ color: rgb(167, 33, 47);
/* oklch */ color: oklch(47.7% 0.169 21.5);
Tailwind
colors: {
  custom: {
    50: '#c96a67',
    500: '#a7212f',
    950: '#000000',
  },
}
SCSS
$custom: #a7212f;
$custom-light: #c96a67;
$custom-dark: #000000;
JSON
{
  "hex": "#a7212f",
  "rgb": {
    "r": 167,
    "g": 33,
    "b": 47
  },
  "hsl": {
    "h": 353.731,
    "s": 67,
    "l": 39.216
  },
  "oklch": {
    "l": 0.47726,
    "c": 0.16861,
    "h": 21.5
  },
  "luminance": 0.09508
}

Semantic roles & 50–950 ramp

primary
#A7212F
secondary
#5FC5BA
accent
#EAD83E
background
#FDF6F6
surface
#FAECEB
border
#D3C7C6
text
#150706
muted
#837A7A

Preview Lab

Preview with #A7212F

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

Preview Lab → · Contrast checker → · Palette generator →

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