#A7212C#A7212C

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

Color values

HEX#A7212C
RGBrgb(167, 33, 44)
HSLhsl(355, 67%, 39%)
HSVhsv(355, 80%, 65%)
CMYKcmyk(0%, 80.2%, 73.7%, 34.5%)
CIE-LABlab(36.91, 53.32, 28.72)
CIE-LCHlch(36.91, 60.56, 28.31°)
OKLaboklab(47.68% 0.1557 0.0652)
OKLCHoklch(47.68% 0.169 22.7)
XYZxyz(16.9368, 9.4877, 3.3219)
Luminance0.0949 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7212C #21A79C
analogous
#A7216F #A7212C #A75921
triadic
#A7212C #2CA721 #212CA7
tetradic
#A7212C #6FA721 #21A79C #5921A7
square
#A7212C #6FA721 #21A79C #5921A7
split-complementary
#A7212C #21A759 #216FA7
monochromatic
#410D11 #74171F #A7212C #D62F3D #E0626D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7212C#FFFFFF#000000##FFFFFF
##A7212C1.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)
#4B452B
Deuteranopia (green-blind)
#6C6127
Tritanopia (blue-blind)
#B80027
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a7212c;
/* rgb */ color: rgb(167, 33, 44);
/* oklch */ color: oklch(47.7% 0.169 22.7);
Tailwind
colors: {
  custom: {
    50: '#ca6a65',
    500: '#a7212c',
    950: '#000000',
  },
}
SCSS
$custom: #a7212c;
$custom-light: #ca6a65;
$custom-dark: #000000;
JSON
{
  "hex": "#a7212c",
  "rgb": {
    "r": 167,
    "g": 33,
    "b": 44
  },
  "hsl": {
    "h": 355.075,
    "s": 67,
    "l": 39.216
  },
  "oklch": {
    "l": 0.4768,
    "c": 0.16883,
    "h": 22.7
  },
  "luminance": 0.09485
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A7212C

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

Preview Lab → · Contrast checker → · Palette generator →

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