#A7213D#A7213D

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

Color values

HEX#A7213D
RGBrgb(167, 33, 61)
HSLhsl(347, 67%, 39%)
HSVhsv(347, 80%, 65%)
CMYKcmyk(0%, 80.2%, 63.5%, 34.5%)
CIE-LABlab(37.19, 54.21, 18.40)
CIE-LCHlch(37.19, 57.25, 18.75°)
OKLaboklab(47.99% 0.1623 0.0446)
OKLCHoklch(47.99% 0.168 15.3)
XYZxyz(17.3244, 9.6428, 5.3630)
Luminance0.0964 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7213D #21A78B
analogous
#A72180 #A7213D #A74821
triadic
#A7213D #3DA721 #213DA7
tetradic
#A7213D #80A721 #21A78B #4821A7
square
#A7213D #80A721 #21A78B #4821A7
split-complementary
#A7213D #21A748 #2180A7
monochromatic
#410D18 #74172A #A7213D #D62F52 #E0627D

Accessibility & contrast

On white

7.17
#A7213D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#A7213D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A7213D
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7213D#FFFFFF#000000##FFFFFF
##A7213D1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48463D
Deuteranopia (green-blind)
#6A6139
Tritanopia (blue-blind)
#B7002D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a7213d;
/* rgb */ color: rgb(167, 33, 61);
/* oklch */ color: oklch(48.0% 0.168 15.3);
Tailwind
colors: {
  custom: {
    50: '#c86a72',
    500: '#a7213d',
    950: '#000000',
  },
}
SCSS
$custom: #a7213d;
$custom-light: #c86a72;
$custom-dark: #000000;
JSON
{
  "hex": "#a7213d",
  "rgb": {
    "r": 167,
    "g": 33,
    "b": 61
  },
  "hsl": {
    "h": 347.463,
    "s": 67,
    "l": 39.216
  },
  "oklch": {
    "l": 0.47985,
    "c": 0.16834,
    "h": 15.3
  },
  "luminance": 0.0964
}

Semantic roles & 50–950 ramp

primary
#A7213D
secondary
#5FC5B0
accent
#EAC63E
background
#FDF6F6
surface
#FAECEC
border
#D3C7C7
text
#140707
muted
#837A7A

Preview Lab

Preview with #A7213D

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

Preview Lab → · Contrast checker → · Palette generator →

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