#A7212D#A7212D

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

Color values

HEX#A7212D
RGBrgb(167, 33, 45)
HSLhsl(355, 67%, 39%)
HSVhsv(355, 80%, 65%)
CMYKcmyk(0%, 80.2%, 73.1%, 34.5%)
CIE-LABlab(36.92, 53.36, 28.13)
CIE-LCHlch(36.92, 60.32, 27.79°)
OKLaboklab(47.7% 0.1561 0.0641)
OKLCHoklch(47.7% 0.169 22.3)
XYZxyz(16.9558, 9.4953, 3.4221)
Luminance0.0949 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7212D #21A79B
analogous
#A72170 #A7212D #A75821
triadic
#A7212D #2DA721 #212DA7
tetradic
#A7212D #70A721 #21A79B #5821A7
square
#A7212D #70A721 #21A79B #5821A7
split-complementary
#A7212D #21A758 #2170A7
monochromatic
#410D11 #74171F #A7212D #D62F3E #E0626E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7212D#FFFFFF#000000##FFFFFF
##A7212D1.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)
#4B452C
Deuteranopia (green-blind)
#6C6128
Tritanopia (blue-blind)
#B80027
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a7212d;
/* rgb */ color: rgb(167, 33, 45);
/* oklch */ color: oklch(47.7% 0.169 22.3);
Tailwind
colors: {
  custom: {
    50: '#ca6a66',
    500: '#a7212d',
    950: '#000000',
  },
}
SCSS
$custom: #a7212d;
$custom-light: #ca6a66;
$custom-dark: #000000;
JSON
{
  "hex": "#a7212d",
  "rgb": {
    "r": 167,
    "g": 33,
    "b": 45
  },
  "hsl": {
    "h": 354.627,
    "s": 67,
    "l": 39.216
  },
  "oklch": {
    "l": 0.47695,
    "c": 0.16875,
    "h": 22.3
  },
  "luminance": 0.09493
}

Semantic roles & 50–950 ramp

primary
#A7212D
secondary
#5FC5BC
accent
#EADA3E
background
#FDF6F6
surface
#FAECEB
border
#D3C7C6
text
#150705
muted
#837A7A

Preview Lab

Preview with #A7212D

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

Preview Lab → · Contrast checker → · Palette generator →

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