#A7213C#A7213C

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

Color values

HEX#A7213C
RGBrgb(167, 33, 60)
HSLhsl(348, 67%, 39%)
HSVhsv(348, 80%, 65%)
CMYKcmyk(0%, 80.2%, 64.1%, 34.5%)
CIE-LABlab(37.17, 54.15, 19.01)
CIE-LCHlch(37.17, 57.39, 19.35°)
OKLaboklab(47.96% 0.1619 0.0459)
OKLCHoklch(47.96% 0.168 15.8)
XYZxyz(17.2977, 9.6321, 5.2225)
Luminance0.0963 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7213C #21A78C
analogous
#A7217F #A7213C #A74921
triadic
#A7213C #3CA721 #213CA7
tetradic
#A7213C #7FA721 #21A78C #4921A7
square
#A7213C #7FA721 #21A78C #4921A7
split-complementary
#A7213C #21A749 #217FA7
monochromatic
#410D17 #74172A #A7213C #D62F51 #E0627C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7213C#FFFFFF#000000##FFFFFF
##A7213C1.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a7213c;
/* rgb */ color: rgb(167, 33, 60);
/* oklch */ color: oklch(48.0% 0.168 15.8);
Tailwind
colors: {
  custom: {
    50: '#c96a71',
    500: '#a7213c',
    950: '#000000',
  },
}
SCSS
$custom: #a7213c;
$custom-light: #c96a71;
$custom-dark: #000000;
JSON
{
  "hex": "#a7213c",
  "rgb": {
    "r": 167,
    "g": 33,
    "b": 60
  },
  "hsl": {
    "h": 347.91,
    "s": 67,
    "l": 39.216
  },
  "oklch": {
    "l": 0.47964,
    "c": 0.16831,
    "h": 15.8
  },
  "luminance": 0.09629
}

Semantic roles & 50–950 ramp

primary
#A7213C
secondary
#5FC5B0
accent
#EAC73E
background
#FDF6F6
surface
#FAECEC
border
#D3C7C7
text
#150707
muted
#837A7A

Preview Lab

Preview with #A7213C

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

Preview Lab → · Contrast checker → · Palette generator →

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