#A02717#A02717

#A02717 is a mid, vivid red. Relative luminance 0.090; OKLCH L 46.7% C 0.160 H 31.0°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#A02717
RGBrgb(160, 39, 23)
HSLhsl(7, 75%, 36%)
HSVhsv(7, 86%, 63%)
CMYKcmyk(0%, 75.6%, 85.6%, 37.3%)
CIE-LABlab(35.96, 48.48, 39.26)
CIE-LCHlch(35.96, 62.38, 39.00°)
OKLaboklab(46.66% 0.1369 0.0823)
OKLCHoklch(46.66% 0.16 31)
XYZxyz(15.3793, 8.9889, 1.7357)
Luminance0.0899 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02717 #1790A0
analogous
#A0174C #A02717 #A06B17
triadic
#A02717 #17A027 #2717A0
tetradic
#A02717 #4CA017 #1790A0 #6B17A0
square
#A02717 #4CA017 #1790A0 #6B17A0
split-complementary
#A02717 #17A06B #174CA0
monochromatic
#350D08 #6A1A0F #A02717 #D6341F #E55E4C

Accessibility & contrast

On white

7.51
#A02717 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#A02717 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A02717
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02717#FFFFFF#000000##FFFFFF
##A027171.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a02717;
/* rgb */ color: rgb(160, 39, 23);
/* oklch */ color: oklch(46.7% 0.160 31.0);
Tailwind
colors: {
  custom: {
    50: '#c56b56',
    500: '#a02717',
    950: '#000000',
  },
}
SCSS
$custom: #a02717;
$custom-light: #c56b56;
$custom-dark: #000000;
JSON
{
  "hex": "#a02717",
  "rgb": {
    "r": 160,
    "g": 39,
    "b": 23
  },
  "hsl": {
    "h": 7.007,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46655,
    "c": 0.15976,
    "h": 31
  },
  "luminance": 0.08986
}

Semantic roles & 50–950 ramp

primary
#A02717
secondary
#4CB9C7
accent
#DCF136
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#150703
muted
#837A78

Preview Lab

Preview with #A02717

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

Preview Lab → · Contrast checker → · Palette generator →

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