#A02117#A02117

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

Color values

HEX#A02117
RGBrgb(160, 33, 23)
HSLhsl(4, 75%, 36%)
HSVhsv(4, 86%, 63%)
CMYKcmyk(0%, 79.4%, 85.6%, 37.3%)
CIE-LABlab(35.25, 50.46, 38.62)
CIE-LCHlch(35.25, 63.55, 37.43°)
OKLaboklab(46.13% 0.1431 0.0809)
OKLCHoklch(46.13% 0.164 29.5)
XYZxyz(15.1976, 8.6256, 1.6752)
Luminance0.0862 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02117 #1796A0
analogous
#A01751 #A02117 #A06517
triadic
#A02117 #17A021 #2117A0
tetradic
#A02117 #51A017 #1796A0 #6517A0
square
#A02117 #51A017 #1796A0 #6517A0
split-complementary
#A02117 #17A065 #1751A0
monochromatic
#350B08 #6A160F #A02117 #D62C1F #E5574C

Accessibility & contrast

On white

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

On black

2.72
#A02117 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##A02117#FFFFFF#000000##FFFFFF
##A021171.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a02117;
/* rgb */ color: rgb(160, 33, 23);
/* oklch */ color: oklch(46.1% 0.164 29.5);
Tailwind
colors: {
  custom: {
    50: '#c66856',
    500: '#a02117',
    950: '#000000',
  },
}
SCSS
$custom: #a02117;
$custom-light: #c66856;
$custom-dark: #000000;
JSON
{
  "hex": "#a02117",
  "rgb": {
    "r": 160,
    "g": 33,
    "b": 23
  },
  "hsl": {
    "h": 4.38,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46127,
    "c": 0.16438,
    "h": 29.5
  },
  "luminance": 0.08623
}

Semantic roles & 50–950 ramp

primary
#A02117
secondary
#4CBEC7
accent
#E4F136
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150703
muted
#837A78

Preview Lab

Preview with #A02117

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

Preview Lab → · Contrast checker → · Palette generator →

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