#A02227#A02227

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

Color values

HEX#A02227
RGBrgb(160, 34, 39)
HSLhsl(358, 65%, 38%)
HSVhsv(358, 79%, 63%)
CMYKcmyk(0%, 78.8%, 75.6%, 37.3%)
CIE-LABlab(35.53, 50.69, 29.83)
CIE-LCHlch(35.53, 58.81, 30.47°)
OKLaboklab(46.39% 0.1472 0.0669)
OKLCHoklch(46.39% 0.162 24.5)
XYZxyz(15.4373, 8.7666, 2.7983)
Luminance0.0876 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02227 #22A09B
analogous
#A02266 #A02227 #A05C22
triadic
#A02227 #27A022 #2227A0
tetradic
#A02227 #66A022 #22A09B #5C22A0
square
#A02227 #66A022 #22A09B #5C22A0
split-complementary
#A02227 #22A05C #2266A0
monochromatic
#3B0D0E #6E171B #A02227 #D22D33 #DD5F64

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A02227#FFFFFF#000000##FFFFFF
##A022271.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)
#494226
Deuteranopia (green-blind)
#685D22
Tritanopia (blue-blind)
#B00025
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #a02227;
/* rgb */ color: rgb(160, 34, 39);
/* oklch */ color: oklch(46.4% 0.162 24.5);
Tailwind
colors: {
  custom: {
    50: '#c56961',
    500: '#a02227',
    950: '#000000',
  },
}
SCSS
$custom: #a02227;
$custom-light: #c56961;
$custom-dark: #000000;
JSON
{
  "hex": "#a02227",
  "rgb": {
    "r": 160,
    "g": 34,
    "b": 39
  },
  "hsl": {
    "h": 357.619,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.46386,
    "c": 0.16167,
    "h": 24.5
  },
  "luminance": 0.08764
}

Semantic roles & 50–950 ramp

primary
#A02227
secondary
#5CC2BE
accent
#E8E140
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140705
muted
#837A79

Preview Lab

Preview with #A02227

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

Preview Lab → · Contrast checker → · Palette generator →

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