#A02231#A02231

#A02231 is a mid, vivid red. Relative luminance 0.088; OKLCH L 46.5% C 0.161 H 20.2°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#A02231
RGBrgb(160, 34, 49)
HSLhsl(353, 65%, 38%)
HSVhsv(353, 79%, 63%)
CMYKcmyk(0%, 78.8%, 69.4%, 37.3%)
CIE-LABlab(35.68, 51.16, 23.80)
CIE-LCHlch(35.68, 56.42, 24.95°)
OKLaboklab(46.54% 0.1509 0.0556)
OKLCHoklch(46.54% 0.161 20.2)
XYZxyz(15.6254, 8.8418, 3.7890)
Luminance0.0884 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02231 #22A091
analogous
#A02270 #A02231 #A05222
triadic
#A02231 #31A022 #2231A0
tetradic
#A02231 #70A022 #22A091 #5222A0
square
#A02231 #70A022 #22A091 #5222A0
split-complementary
#A02231 #22A052 #2270A0
monochromatic
#3B0D12 #6E1722 #A02231 #D22D41 #DD5F6E

Accessibility & contrast

On white

7.59
#A02231 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#A02231 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A02231
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02231#FFFFFF#000000##FFFFFF
##A022311.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484331
Deuteranopia (green-blind)
#675D2D
Tritanopia (blue-blind)
#B00029
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #a02231;
/* rgb */ color: rgb(160, 34, 49);
/* oklch */ color: oklch(46.5% 0.161 20.2);
Tailwind
colors: {
  custom: {
    50: '#c46969',
    500: '#a02231',
    950: '#000000',
  },
}
SCSS
$custom: #a02231;
$custom-light: #c46969;
$custom-dark: #000000;
JSON
{
  "hex": "#a02231",
  "rgb": {
    "r": 160,
    "g": 34,
    "b": 49
  },
  "hsl": {
    "h": 352.857,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.46542,
    "c": 0.16086,
    "h": 20.2
  },
  "luminance": 0.08839
}

Semantic roles & 50–950 ramp

primary
#A02231
secondary
#5CC2B6
accent
#E8D440
background
#FDF6F6
surface
#FAECEB
border
#D3C7C6
text
#140706
muted
#837A7A

Preview Lab

Preview with #A02231

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

Preview Lab → · Contrast checker → · Palette generator →

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