#A7212B#A7212B

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

Color values

HEX#A7212B
RGBrgb(167, 33, 43)
HSLhsl(356, 67%, 39%)
HSVhsv(356, 80%, 65%)
CMYKcmyk(0%, 80.2%, 74.3%, 34.5%)
CIE-LABlab(36.89, 53.27, 29.32)
CIE-LCHlch(36.89, 60.81, 28.83°)
OKLaboklab(47.67% 0.1554 0.0663)
OKLCHoklch(47.67% 0.169 23.1)
XYZxyz(16.9182, 9.4803, 3.2241)
Luminance0.0948 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7212B #21A79D
analogous
#A7216E #A7212B #A75A21
triadic
#A7212B #2BA721 #212BA7
tetradic
#A7212B #6EA721 #21A79D #5A21A7
square
#A7212B #6EA721 #21A79D #5A21A7
split-complementary
#A7212B #21A75A #216EA7
monochromatic
#410D11 #74171E #A7212B #D62F3C #E0626C

Accessibility & contrast

On white

7.25
#A7212B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A7212B
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7212B#FFFFFF#000000##FFFFFF
##A7212B1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B442A
Deuteranopia (green-blind)
#6C6126
Tritanopia (blue-blind)
#B80026
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a7212b;
/* rgb */ color: rgb(167, 33, 43);
/* oklch */ color: oklch(47.7% 0.169 23.1);
Tailwind
colors: {
  custom: {
    50: '#ca6a64',
    500: '#a7212b',
    950: '#000000',
  },
}
SCSS
$custom: #a7212b;
$custom-light: #ca6a64;
$custom-dark: #000000;
JSON
{
  "hex": "#a7212b",
  "rgb": {
    "r": 167,
    "g": 33,
    "b": 43
  },
  "hsl": {
    "h": 355.522,
    "s": 67,
    "l": 39.216
  },
  "oklch": {
    "l": 0.47666,
    "c": 0.16892,
    "h": 23.1
  },
  "luminance": 0.09478
}

Semantic roles & 50–950 ramp

primary
#A7212B
secondary
#5FC5BD
accent
#EADD3E
background
#FDF6F6
surface
#FBECEB
border
#D4C7C6
text
#150705
muted
#837A7A

Preview Lab

Preview with #A7212B

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

Preview Lab → · Contrast checker → · Palette generator →

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