#A7212E#A7212E

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

Color values

HEX#A7212E
RGBrgb(167, 33, 46)
HSLhsl(354, 67%, 39%)
HSVhsv(354, 80%, 65%)
CMYKcmyk(0%, 80.2%, 72.5%, 34.5%)
CIE-LABlab(36.94, 53.41, 27.53)
CIE-LCHlch(36.94, 60.08, 27.27°)
OKLaboklab(47.71% 0.1565 0.063)
OKLCHoklch(47.71% 0.169 21.9)
XYZxyz(16.9753, 9.5031, 3.5247)
Luminance0.0950 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7212E #21A79A
analogous
#A72171 #A7212E #A75721
triadic
#A7212E #2EA721 #212EA7
tetradic
#A7212E #71A721 #21A79A #5721A7
square
#A7212E #71A721 #21A79A #5721A7
split-complementary
#A7212E #21A757 #2171A7
monochromatic
#410D12 #741720 #A7212E #D62F3F #E0626F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7212E#FFFFFF#000000##FFFFFF
##A7212E1.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)
#4A452D
Deuteranopia (green-blind)
#6C6129
Tritanopia (blue-blind)
#B80027
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a7212e;
/* rgb */ color: rgb(167, 33, 46);
/* oklch */ color: oklch(47.7% 0.169 21.9);
Tailwind
colors: {
  custom: {
    50: '#ca6a66',
    500: '#a7212e',
    950: '#000000',
  },
}
SCSS
$custom: #a7212e;
$custom-light: #ca6a66;
$custom-dark: #000000;
JSON
{
  "hex": "#a7212e",
  "rgb": {
    "r": 167,
    "g": 33,
    "b": 46
  },
  "hsl": {
    "h": 354.179,
    "s": 67,
    "l": 39.216
  },
  "oklch": {
    "l": 0.47711,
    "c": 0.16868,
    "h": 21.9
  },
  "luminance": 0.095
}

Semantic roles & 50–950 ramp

primary
#A7212E
secondary
#5FC5BB
accent
#EAD93E
background
#FDF6F6
surface
#FAECEB
border
#D3C7C6
text
#150706
muted
#837A7A

Preview Lab

Preview with #A7212E

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

Preview Lab → · Contrast checker → · Palette generator →

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