#A7223A#A7223A

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

Color values

HEX#A7223A
RGBrgb(167, 34, 58)
HSLhsl(349, 66%, 39%)
HSVhsv(349, 80%, 65%)
CMYKcmyk(0%, 79.6%, 65.3%, 34.5%)
CIE-LABlab(37.24, 53.74, 20.37)
CIE-LCHlch(37.24, 57.47, 20.76°)
OKLaboklab(48% 0.1602 0.0488)
OKLCHoklch(48% 0.167 16.9)
XYZxyz(17.2740, 9.6677, 4.9587)
Luminance0.0966 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7223A #22A78F
analogous
#A7227D #A7223A #A74D22
triadic
#A7223A #3AA722 #223AA7
tetradic
#A7223A #7DA722 #22A78F #4D22A7
square
#A7223A #7DA722 #22A78F #4D22A7
split-complementary
#A7223A #22A74D #227DA7
monochromatic
#410D17 #741828 #A7223A #D5314F #DF647A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7223A#FFFFFF#000000##FFFFFF
##A7223A1.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)
#49463A
Deuteranopia (green-blind)
#6B6236
Tritanopia (blue-blind)
#B7002D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a7223a;
/* rgb */ color: rgb(167, 34, 58);
/* oklch */ color: oklch(48.0% 0.167 16.9);
Tailwind
colors: {
  custom: {
    50: '#c96b6f',
    500: '#a7223a',
    950: '#000000',
  },
}
SCSS
$custom: #a7223a;
$custom-light: #c96b6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a7223a",
  "rgb": {
    "r": 167,
    "g": 34,
    "b": 58
  },
  "hsl": {
    "h": 349.173,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48,
    "c": 0.16746,
    "h": 16.9
  },
  "luminance": 0.09665
}

Semantic roles & 50–950 ramp

primary
#A7223A
secondary
#60C5B3
accent
#E9CA3F
background
#FDF6F6
surface
#FAECEC
border
#D3C7C7
text
#150707
muted
#837A7A

Preview Lab

Preview with #A7223A

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

Preview Lab → · Contrast checker → · Palette generator →

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