#A02228#A02228

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

Color values

HEX#A02228
RGBrgb(160, 34, 40)
HSLhsl(357, 65%, 38%)
HSVhsv(357, 79%, 63%)
CMYKcmyk(0%, 78.8%, 75%, 37.3%)
CIE-LABlab(35.54, 50.73, 29.23)
CIE-LCHlch(35.54, 58.55, 29.95°)
OKLaboklab(46.4% 0.1475 0.0659)
OKLCHoklch(46.4% 0.162 24.1)
XYZxyz(15.4540, 8.7733, 2.8868)
Luminance0.0877 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02228 #22A09A
analogous
#A02267 #A02228 #A05B22
triadic
#A02228 #28A022 #2228A0
tetradic
#A02228 #67A022 #22A09A #5B22A0
square
#A02228 #67A022 #22A09A #5B22A0
split-complementary
#A02228 #22A05B #2267A0
monochromatic
#3B0D0F #6E171B #A02228 #D22D35 #DD5F65

Accessibility & contrast

On white

7.62
#A02228 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A02228
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02228#FFFFFF#000000##FFFFFF
##A022281.007.622.757.62
#FFFFFF7.621.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494227
Deuteranopia (green-blind)
#685D23
Tritanopia (blue-blind)
#B00026
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #a02228;
/* rgb */ color: rgb(160, 34, 40);
/* oklch */ color: oklch(46.4% 0.162 24.1);
Tailwind
colors: {
  custom: {
    50: '#c46962',
    500: '#a02228',
    950: '#000000',
  },
}
SCSS
$custom: #a02228;
$custom-light: #c46962;
$custom-dark: #000000;
JSON
{
  "hex": "#a02228",
  "rgb": {
    "r": 160,
    "g": 34,
    "b": 40
  },
  "hsl": {
    "h": 357.143,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.464,
    "c": 0.16156,
    "h": 24.1
  },
  "luminance": 0.08771
}

Semantic roles & 50–950 ramp

primary
#A02228
secondary
#5CC2BD
accent
#E8E040
background
#FDF6F5
surface
#FAEBEA
border
#D3C6C6
text
#140705
muted
#837A79

Preview Lab

Preview with #A02228

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

Preview Lab → · Contrast checker → · Palette generator →

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