#A7213A#A7213A

#A7213A is a mid, vivid red. Relative luminance 0.096; OKLCH L 47.9% C 0.168 H 16.7°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#A7213A
RGBrgb(167, 33, 58)
HSLhsl(349, 67%, 39%)
HSVhsv(349, 80%, 65%)
CMYKcmyk(0%, 80.2%, 65.3%, 34.5%)
CIE-LABlab(37.14, 54.03, 20.24)
CIE-LCHlch(37.14, 57.70, 20.53°)
OKLaboklab(47.92% 0.1611 0.0485)
OKLCHoklch(47.92% 0.168 16.7)
XYZxyz(17.2458, 9.6113, 4.9493)
Luminance0.0961 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7213A #21A78E
analogous
#A7217D #A7213A #A74B21
triadic
#A7213A #3AA721 #213AA7
tetradic
#A7213A #7DA721 #21A78E #4B21A7
square
#A7213A #7DA721 #21A78E #4B21A7
split-complementary
#A7213A #21A74B #217DA7
monochromatic
#410D17 #741728 #A7213A #D62F4E #E0627A

Accessibility & contrast

On white

7.19
#A7213A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#A7213A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A7213A
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7213A#FFFFFF#000000##FFFFFF
##A7213A1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49463A
Deuteranopia (green-blind)
#6A6136
Tritanopia (blue-blind)
#B8002C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a7213a;
/* rgb */ color: rgb(167, 33, 58);
/* oklch */ color: oklch(47.9% 0.168 16.7);
Tailwind
colors: {
  custom: {
    50: '#c96a6f',
    500: '#a7213a',
    950: '#000000',
  },
}
SCSS
$custom: #a7213a;
$custom-light: #c96a6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a7213a",
  "rgb": {
    "r": 167,
    "g": 33,
    "b": 58
  },
  "hsl": {
    "h": 348.806,
    "s": 67,
    "l": 39.216
  },
  "oklch": {
    "l": 0.47923,
    "c": 0.16827,
    "h": 16.7
  },
  "luminance": 0.09609
}

Semantic roles & 50–950 ramp

primary
#A7213A
secondary
#5FC5B2
accent
#EACA3E
background
#FDF6F6
surface
#FAECEC
border
#D3C7C7
text
#150707
muted
#837A7A

Preview Lab

Preview with #A7213A

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

Preview Lab → · Contrast checker → · Palette generator →

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