#A02017#A02017

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

Color values

HEX#A02017
RGBrgb(160, 32, 23)
HSLhsl(4, 75%, 36%)
HSVhsv(4, 86%, 63%)
CMYKcmyk(0%, 80%, 85.6%, 37.3%)
CIE-LABlab(35.14, 50.77, 38.53)
CIE-LCHlch(35.14, 63.73, 37.19°)
OKLaboklab(46.05% 0.1441 0.0806)
OKLCHoklch(46.05% 0.165 29.2)
XYZxyz(15.1703, 8.5709, 1.6660)
Luminance0.0857 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02017 #1797A0
analogous
#A01752 #A02017 #A06417
triadic
#A02017 #17A020 #2017A0
tetradic
#A02017 #52A017 #1797A0 #6417A0
square
#A02017 #52A017 #1797A0 #6417A0
split-complementary
#A02017 #17A064 #1752A0
monochromatic
#350B08 #6A150F #A02017 #D62B1F #E5564C

Accessibility & contrast

On white

7.74
#A02017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#A02017 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A02017
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02017#FFFFFF#000000##FFFFFF
##A020171.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494114
Deuteranopia (green-blind)
#685D0F
Tritanopia (blue-blind)
#B10020
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #a02017;
/* rgb */ color: rgb(160, 32, 23);
/* oklch */ color: oklch(46.0% 0.165 29.2);
Tailwind
colors: {
  custom: {
    50: '#c66856',
    500: '#a02017',
    950: '#000000',
  },
}
SCSS
$custom: #a02017;
$custom-light: #c66856;
$custom-dark: #000000;
JSON
{
  "hex": "#a02017",
  "rgb": {
    "r": 160,
    "g": 32,
    "b": 23
  },
  "hsl": {
    "h": 3.942,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46046,
    "c": 0.1651,
    "h": 29.2
  },
  "luminance": 0.08568
}

Semantic roles & 50–950 ramp

primary
#A02017
secondary
#4CBFC7
accent
#E5F136
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150703
muted
#837A78

Preview Lab

Preview with #A02017

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

Preview Lab → · Contrast checker → · Palette generator →

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