#A7223B#A7223B

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

Color values

HEX#A7223B
RGBrgb(167, 34, 59)
HSLhsl(349, 66%, 39%)
HSVhsv(349, 80%, 65%)
CMYKcmyk(0%, 79.6%, 64.7%, 34.5%)
CIE-LABlab(37.26, 53.80, 19.76)
CIE-LCHlch(37.26, 57.31, 20.17°)
OKLaboklab(48.02% 0.1606 0.0475)
OKLCHoklch(48.02% 0.167 16.5)
XYZxyz(17.2997, 9.6779, 5.0939)
Luminance0.0968 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7223B #22A78E
analogous
#A7227E #A7223B #A74C22
triadic
#A7223B #3BA722 #223BA7
tetradic
#A7223B #7EA722 #22A78E #4C22A7
square
#A7223B #7EA722 #22A78E #4C22A7
split-complementary
#A7223B #22A74C #227EA7
monochromatic
#410D17 #741829 #A7223B #D53150 #DF647B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7223B#FFFFFF#000000##FFFFFF
##A7223B1.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)
#49463B
Deuteranopia (green-blind)
#6B6237
Tritanopia (blue-blind)
#B7002D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a7223b;
/* rgb */ color: rgb(167, 34, 59);
/* oklch */ color: oklch(48.0% 0.167 16.5);
Tailwind
colors: {
  custom: {
    50: '#c96b70',
    500: '#a7223b',
    950: '#000000',
  },
}
SCSS
$custom: #a7223b;
$custom-light: #c96b70;
$custom-dark: #000000;
JSON
{
  "hex": "#a7223b",
  "rgb": {
    "r": 167,
    "g": 34,
    "b": 59
  },
  "hsl": {
    "h": 348.722,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.4802,
    "c": 0.16747,
    "h": 16.5
  },
  "luminance": 0.09675
}

Semantic roles & 50–950 ramp

primary
#A7223B
secondary
#60C5B2
accent
#E9C93F
background
#FDF6F6
surface
#FAECEC
border
#D3C7C7
text
#150707
muted
#837A7A

Preview Lab

Preview with #A7223B

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

Preview Lab → · Contrast checker → · Palette generator →

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