#A02118#A02118

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

Color values

HEX#A02118
RGBrgb(160, 33, 24)
HSLhsl(4, 74%, 36%)
HSVhsv(4, 85%, 63%)
CMYKcmyk(0%, 79.4%, 85%, 37.3%)
CIE-LABlab(35.26, 50.49, 38.11)
CIE-LCHlch(35.26, 63.26, 37.05°)
OKLaboklab(46.14% 0.1434 0.0801)
OKLCHoklch(46.14% 0.164 29.2)
XYZxyz(15.2078, 8.6297, 1.7289)
Luminance0.0863 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02118 #1897A0
analogous
#A01853 #A02118 #A06518
triadic
#A02118 #18A021 #2118A0
tetradic
#A02118 #53A018 #1897A0 #6518A0
square
#A02118 #53A018 #1897A0 #6518A0
split-complementary
#A02118 #18A065 #1853A0
monochromatic
#360B08 #6B1610 #A02118 #D52C20 #E4584E

Accessibility & contrast

On white

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

On black

2.73
#A02118 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##A02118#FFFFFF#000000##FFFFFF
##A021181.007.712.737.71
#FFFFFF7.711.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4115
Deuteranopia (green-blind)
#695D10
Tritanopia (blue-blind)
#B10021
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #a02118;
/* rgb */ color: rgb(160, 33, 24);
/* oklch */ color: oklch(46.1% 0.164 29.2);
Tailwind
colors: {
  custom: {
    50: '#c66857',
    500: '#a02118',
    950: '#000000',
  },
}
SCSS
$custom: #a02118;
$custom-light: #c66857;
$custom-dark: #000000;
JSON
{
  "hex": "#a02118",
  "rgb": {
    "r": 160,
    "g": 33,
    "b": 24
  },
  "hsl": {
    "h": 3.971,
    "s": 73.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46135,
    "c": 0.16426,
    "h": 29.2
  },
  "luminance": 0.08627
}

Semantic roles & 50–950 ramp

primary
#A02118
secondary
#4DBEC6
accent
#E4F137
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150703
muted
#837A78

Preview Lab

Preview with #A02118

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

Preview Lab → · Contrast checker → · Palette generator →

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