#A02222#A02222

#A02222 is a mid, vivid red. Relative luminance 0.087; OKLCH L 46.3% C 0.162 H 26.3°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#A02222
RGBrgb(160, 34, 34)
HSLhsl(0, 65%, 38%)
HSVhsv(0, 79%, 63%)
CMYKcmyk(0%, 78.8%, 78.8%, 37.3%)
CIE-LABlab(35.47, 50.49, 32.74)
CIE-LCHlch(35.47, 60.18, 32.96°)
OKLaboklab(46.32% 0.1454 0.0719)
OKLCHoklch(46.32% 0.162 26.3)
XYZxyz(15.3598, 8.7356, 2.3904)
Luminance0.0873 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02222 #22A0A0
analogous
#A02261 #A02222 #A06122
triadic
#A02222 #22A022 #2222A0
tetradic
#A02222 #61A022 #22A0A0 #6122A0
square
#A02222 #61A022 #22A0A0 #6122A0
split-complementary
#A02222 #22A061 #2261A0
monochromatic
#3B0D0D #6E1717 #A02222 #D22D2D #DD5F5F

Accessibility & contrast

On white

7.65
#A02222 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A02222
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02222#FFFFFF#000000##FFFFFF
##A022221.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494220
Deuteranopia (green-blind)
#685D1D
Tritanopia (blue-blind)
#B10024
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #a02222;
/* rgb */ color: rgb(160, 34, 34);
/* oklch */ color: oklch(46.3% 0.162 26.3);
Tailwind
colors: {
  custom: {
    50: '#c5695e',
    500: '#a02222',
    950: '#000000',
  },
}
SCSS
$custom: #a02222;
$custom-light: #c5695e;
$custom-dark: #000000;
JSON
{
  "hex": "#a02222",
  "rgb": {
    "r": 160,
    "g": 34,
    "b": 34
  },
  "hsl": {
    "h": 0,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.46321,
    "c": 0.16224,
    "h": 26.3
  },
  "luminance": 0.08733
}

Semantic roles & 50–950 ramp

primary
#A02222
secondary
#5CC2C2
accent
#E8E840
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150704
muted
#837A79

Preview Lab

Preview with #A02222

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

Preview Lab → · Contrast checker → · Palette generator →

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