#A02021#A02021

#A02021 is a mid, vivid red. Relative luminance 0.086; OKLCH L 46.1% C 0.164 H 26.2°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#A02021
RGBrgb(160, 32, 33)
HSLhsl(360, 67%, 38%)
HSVhsv(360, 80%, 63%)
CMYKcmyk(0%, 80%, 79.4%, 37.3%)
CIE-LABlab(35.24, 51.07, 33.08)
CIE-LCHlch(35.24, 60.85, 32.93°)
OKLaboklab(46.15% 0.147 0.0724)
OKLCHoklch(46.15% 0.164 26.2)
XYZxyz(15.2901, 8.6189, 2.2971)
Luminance0.0862 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02021 #20A09F
analogous
#A02061 #A02021 #A05F20
triadic
#A02021 #21A020 #2021A0
tetradic
#A02021 #61A020 #20A09F #5F20A0
square
#A02021 #61A020 #20A09F #5F20A0
split-complementary
#A02021 #20A05F #2061A0
monochromatic
#3A0C0C #6D1616 #A02021 #D32A2C #DE5C5D

Accessibility & contrast

On white

7.71
#A02021 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#A02021 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A02021
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02021#FFFFFF#000000##FFFFFF
##A020211.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48411F
Deuteranopia (green-blind)
#685D1B
Tritanopia (blue-blind)
#B10022
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #a02021;
/* rgb */ color: rgb(160, 32, 33);
/* oklch */ color: oklch(46.1% 0.164 26.2);
Tailwind
colors: {
  custom: {
    50: '#c5685d',
    500: '#a02021',
    950: '#000000',
  },
}
SCSS
$custom: #a02021;
$custom-light: #c5685d;
$custom-dark: #000000;
JSON
{
  "hex": "#a02021",
  "rgb": {
    "r": 160,
    "g": 32,
    "b": 33
  },
  "hsl": {
    "h": 359.531,
    "s": 66.667,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46147,
    "c": 0.16388,
    "h": 26.2
  },
  "luminance": 0.08616
}

Semantic roles & 50–950 ramp

primary
#A02021
secondary
#59C3C2
accent
#EAE83E
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150704
muted
#837A79

Preview Lab

Preview with #A02021

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

Preview Lab → · Contrast checker → · Palette generator →

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