#A02131#A02131

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

Color values

HEX#A02131
RGBrgb(160, 33, 49)
HSLhsl(352, 66%, 38%)
HSVhsv(352, 79%, 63%)
CMYKcmyk(0%, 79.4%, 69.4%, 37.3%)
CIE-LABlab(35.57, 51.46, 23.67)
CIE-LCHlch(35.57, 56.65, 24.70°)
OKLaboklab(46.46% 0.1519 0.0553)
OKLCHoklch(46.46% 0.162 20)
XYZxyz(15.5972, 8.7855, 3.7796)
Luminance0.0878 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02131 #21A090
analogous
#A02170 #A02131 #A05021
triadic
#A02131 #31A021 #2131A0
tetradic
#A02131 #70A021 #21A090 #5021A0
square
#A02131 #70A021 #21A090 #5021A0
split-complementary
#A02131 #21A050 #2170A0
monochromatic
#3B0C12 #6D1721 #A02131 #D32B41 #DE5E6E

Accessibility & contrast

On white

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

On black

2.76
#A02131 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##A02131#FFFFFF#000000##FFFFFF
##A021311.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a02131;
/* rgb */ color: rgb(160, 33, 49);
/* oklch */ color: oklch(46.5% 0.162 20.0);
Tailwind
colors: {
  custom: {
    50: '#c46969',
    500: '#a02131',
    950: '#000000',
  },
}
SCSS
$custom: #a02131;
$custom-light: #c46969;
$custom-dark: #000000;
JSON
{
  "hex": "#a02131",
  "rgb": {
    "r": 160,
    "g": 33,
    "b": 49
  },
  "hsl": {
    "h": 352.441,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.46461,
    "c": 0.16169,
    "h": 20
  },
  "luminance": 0.08783
}

Semantic roles & 50–950 ramp

primary
#A02131
secondary
#5BC2B5
accent
#E9D33F
background
#FDF6F6
surface
#FAEBEB
border
#D3C6C6
text
#140706
muted
#837A7A

Preview Lab

Preview with #A02131

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

Preview Lab → · Contrast checker → · Palette generator →

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