#A7213B#A7213B

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

Color values

HEX#A7213B
RGBrgb(167, 33, 59)
HSLhsl(348, 67%, 39%)
HSVhsv(348, 80%, 65%)
CMYKcmyk(0%, 80.2%, 64.7%, 34.5%)
CIE-LABlab(37.15, 54.09, 19.62)
CIE-LCHlch(37.15, 57.54, 19.94°)
OKLaboklab(47.94% 0.1615 0.0472)
OKLCHoklch(47.94% 0.168 16.3)
XYZxyz(17.2715, 9.6216, 5.0845)
Luminance0.0962 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7213B #21A78D
analogous
#A7217E #A7213B #A74A21
triadic
#A7213B #3BA721 #213BA7
tetradic
#A7213B #7EA721 #21A78D #4A21A7
square
#A7213B #7EA721 #21A78D #4A21A7
split-complementary
#A7213B #21A74A #217EA7
monochromatic
#410D17 #741729 #A7213B #D62F50 #E0627B

Accessibility & contrast

On white

7.18
#A7213B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A7213B
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7213B#FFFFFF#000000##FFFFFF
##A7213B1.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49463B
Deuteranopia (green-blind)
#6A6137
Tritanopia (blue-blind)
#B7002C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a7213b;
/* rgb */ color: rgb(167, 33, 59);
/* oklch */ color: oklch(47.9% 0.168 16.3);
Tailwind
colors: {
  custom: {
    50: '#c96a70',
    500: '#a7213b',
    950: '#000000',
  },
}
SCSS
$custom: #a7213b;
$custom-light: #c96a70;
$custom-dark: #000000;
JSON
{
  "hex": "#a7213b",
  "rgb": {
    "r": 167,
    "g": 33,
    "b": 59
  },
  "hsl": {
    "h": 348.358,
    "s": 67,
    "l": 39.216
  },
  "oklch": {
    "l": 0.47943,
    "c": 0.16829,
    "h": 16.3
  },
  "luminance": 0.09619
}

Semantic roles & 50–950 ramp

primary
#A7213B
secondary
#5FC5B1
accent
#EAC93E
background
#FDF6F6
surface
#FAECEC
border
#D3C7C7
text
#150707
muted
#837A7A

Preview Lab

Preview with #A7213B

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

Preview Lab → · Contrast checker → · Palette generator →

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