#A02817#A02817

#A02817 is a mid, vivid red. Relative luminance 0.091; OKLCH L 46.8% C 0.159 H 31.3°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#A02817
RGBrgb(160, 40, 23)
HSLhsl(7, 75%, 36%)
HSVhsv(7, 86%, 63%)
CMYKcmyk(0%, 75%, 85.6%, 37.3%)
CIE-LABlab(36.09, 48.13, 39.37)
CIE-LCHlch(36.09, 62.18, 39.29°)
OKLaboklab(46.75% 0.1358 0.0826)
OKLCHoklch(46.75% 0.159 31.3)
XYZxyz(15.4125, 9.0555, 1.7468)
Luminance0.0905 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02817 #178FA0
analogous
#A0174A #A02817 #A06C17
triadic
#A02817 #17A028 #2817A0
tetradic
#A02817 #4AA017 #178FA0 #6C17A0
square
#A02817 #4AA017 #178FA0 #6C17A0
split-complementary
#A02817 #17A06C #174AA0
monochromatic
#350D08 #6A1B0F #A02817 #D6351F #E55F4C

Accessibility & contrast

On white

7.47
#A02817 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#A02817 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A02817
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02817#FFFFFF#000000##FFFFFF
##A028171.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4413
Deuteranopia (green-blind)
#6A5E10
Tritanopia (blue-blind)
#B10025
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #a02817;
/* rgb */ color: rgb(160, 40, 23);
/* oklch */ color: oklch(46.8% 0.159 31.3);
Tailwind
colors: {
  custom: {
    50: '#c56b56',
    500: '#a02817',
    950: '#000000',
  },
}
SCSS
$custom: #a02817;
$custom-light: #c56b56;
$custom-dark: #000000;
JSON
{
  "hex": "#a02817",
  "rgb": {
    "r": 160,
    "g": 40,
    "b": 23
  },
  "hsl": {
    "h": 7.445,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46751,
    "c": 0.15896,
    "h": 31.3
  },
  "luminance": 0.09053
}

Semantic roles & 50–950 ramp

primary
#A02817
secondary
#4CB8C7
accent
#DAF136
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#150703
muted
#837A78

Preview Lab

Preview with #A02817

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

Preview Lab → · Contrast checker → · Palette generator →

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