#A02217#A02217

#A02217 is a mid, vivid red. Relative luminance 0.087; OKLCH L 46.2% C 0.164 H 29.7°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#A02217
RGBrgb(160, 34, 23)
HSLhsl(5, 75%, 36%)
HSVhsv(5, 86%, 63%)
CMYKcmyk(0%, 78.8%, 85.6%, 37.3%)
CIE-LABlab(35.36, 50.15, 38.72)
CIE-LCHlch(35.36, 63.36, 37.67°)
OKLaboklab(46.21% 0.1422 0.0811)
OKLCHoklch(46.21% 0.164 29.7)
XYZxyz(15.2258, 8.6820, 1.6845)
Luminance0.0868 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02217 #1795A0
analogous
#A01750 #A02217 #A06717
triadic
#A02217 #17A022 #2217A0
tetradic
#A02217 #50A017 #1795A0 #6717A0
square
#A02217 #50A017 #1795A0 #6717A0
split-complementary
#A02217 #17A067 #1750A0
monochromatic
#350B08 #6A170F #A02217 #D62D1F #E5584C

Accessibility & contrast

On white

7.68
#A02217 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#A02217 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A02217
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02217#FFFFFF#000000##FFFFFF
##A022171.007.682.747.68
#FFFFFF7.681.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a02217;
/* rgb */ color: rgb(160, 34, 23);
/* oklch */ color: oklch(46.2% 0.164 29.7);
Tailwind
colors: {
  custom: {
    50: '#c66956',
    500: '#a02217',
    950: '#000000',
  },
}
SCSS
$custom: #a02217;
$custom-light: #c66956;
$custom-dark: #000000;
JSON
{
  "hex": "#a02217",
  "rgb": {
    "r": 160,
    "g": 34,
    "b": 23
  },
  "hsl": {
    "h": 4.818,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46209,
    "c": 0.16364,
    "h": 29.7
  },
  "luminance": 0.08679
}

Semantic roles & 50–950 ramp

primary
#A02217
secondary
#4CBDC7
accent
#E2F136
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150703
muted
#837A78

Preview Lab

Preview with #A02217

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

Preview Lab → · Contrast checker → · Palette generator →

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