#A02226#A02226

#A02226 is a mid, vivid red. Relative luminance 0.088; OKLCH L 46.4% C 0.162 H 24.8°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#A02226
RGBrgb(160, 34, 38)
HSLhsl(358, 65%, 38%)
HSVhsv(358, 79%, 63%)
CMYKcmyk(0%, 78.8%, 76.3%, 37.3%)
CIE-LABlab(35.52, 50.64, 30.41)
CIE-LCHlch(35.52, 59.08, 30.99°)
OKLaboklab(46.37% 0.1468 0.068)
OKLCHoklch(46.37% 0.162 24.8)
XYZxyz(15.4209, 8.7600, 2.7122)
Luminance0.0876 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02226 #22A09C
analogous
#A02265 #A02226 #A05D22
triadic
#A02226 #26A022 #2226A0
tetradic
#A02226 #65A022 #22A09C #5D22A0
square
#A02226 #65A022 #22A09C #5D22A0
split-complementary
#A02226 #22A05D #2265A0
monochromatic
#3B0D0E #6E171A #A02226 #D22D32 #DD5F63

Accessibility & contrast

On white

7.63
#A02226 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#A02226 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A02226
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02226#FFFFFF#000000##FFFFFF
##A022261.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494225
Deuteranopia (green-blind)
#685D21
Tritanopia (blue-blind)
#B00025
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #a02226;
/* rgb */ color: rgb(160, 34, 38);
/* oklch */ color: oklch(46.4% 0.162 24.8);
Tailwind
colors: {
  custom: {
    50: '#c56960',
    500: '#a02226',
    950: '#000000',
  },
}
SCSS
$custom: #a02226;
$custom-light: #c56960;
$custom-dark: #000000;
JSON
{
  "hex": "#a02226",
  "rgb": {
    "r": 160,
    "g": 34,
    "b": 38
  },
  "hsl": {
    "h": 358.095,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.46372,
    "c": 0.16177,
    "h": 24.8
  },
  "luminance": 0.08758
}

Semantic roles & 50–950 ramp

primary
#A02226
secondary
#5CC2BF
accent
#E8E340
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140705
muted
#837A79

Preview Lab

Preview with #A02226

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

Preview Lab → · Contrast checker → · Palette generator →

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