#A7213F#A7213F

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

Color values

HEX#A7213F
RGBrgb(167, 33, 63)
HSLhsl(347, 67%, 39%)
HSVhsv(347, 80%, 65%)
CMYKcmyk(0%, 80.2%, 62.3%, 34.5%)
CIE-LABlab(37.23, 54.34, 17.18)
CIE-LCHlch(37.23, 56.99, 17.54°)
OKLaboklab(48.03% 0.1632 0.0419)
OKLCHoklch(48.03% 0.168 14.4)
XYZxyz(17.3792, 9.6647, 5.6520)
Luminance0.0966 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7213F #21A789
analogous
#A72182 #A7213F #A74621
triadic
#A7213F #3FA721 #213FA7
tetradic
#A7213F #82A721 #21A789 #4621A7
square
#A7213F #82A721 #21A789 #4621A7
split-complementary
#A7213F #21A746 #2182A7
monochromatic
#410D18 #74172C #A7213F #D62F55 #E0627E

Accessibility & contrast

On white

7.16
#A7213F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A7213F
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7213F#FFFFFF#000000##FFFFFF
##A7213F1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48463F
Deuteranopia (green-blind)
#6A613B
Tritanopia (blue-blind)
#B7002E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a7213f;
/* rgb */ color: rgb(167, 33, 63);
/* oklch */ color: oklch(48.0% 0.168 14.4);
Tailwind
colors: {
  custom: {
    50: '#c86a73',
    500: '#a7213f',
    950: '#000000',
  },
}
SCSS
$custom: #a7213f;
$custom-light: #c86a73;
$custom-dark: #000000;
JSON
{
  "hex": "#a7213f",
  "rgb": {
    "r": 167,
    "g": 33,
    "b": 63
  },
  "hsl": {
    "h": 346.567,
    "s": 67,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48028,
    "c": 0.16844,
    "h": 14.4
  },
  "luminance": 0.09662
}

Semantic roles & 50–950 ramp

primary
#A7213F
secondary
#5FC5AE
accent
#EAC33E
background
#FDF6F6
surface
#FAECEC
border
#D3C7C7
text
#140708
muted
#837A7B

Preview Lab

Preview with #A7213F

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

Preview Lab → · Contrast checker → · Palette generator →

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