#AB2716#AB2716

#AB2716 is a mid, vivid red. Relative luminance 0.102; OKLCH L 48.7% C 0.171 H 30.9°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#AB2716
RGBrgb(171, 39, 22)
HSLhsl(7, 77%, 38%)
HSVhsv(7, 87%, 67%)
CMYKcmyk(0%, 77.2%, 87.1%, 32.9%)
CIE-LABlab(38.15, 51.97, 42.48)
CIE-LCHlch(38.15, 67.12, 39.27°)
OKLaboklab(48.67% 0.1465 0.0878)
OKLCHoklch(48.67% 0.171 30.9)
XYZxyz(17.6671, 10.1697, 1.7916)
Luminance0.1017 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2716 #169AAB
analogous
#AB164F #AB2716 #AB7216
triadic
#AB2716 #16AB27 #2716AB
tetradic
#AB2716 #4FAB16 #169AAB #7216AB
square
#AB2716 #4FAB16 #169AAB #7216AB
split-complementary
#AB2716 #16AB72 #164FAB
monochromatic
#3F0E08 #751B0F #AB2716 #E1331D #E96453

Accessibility & contrast

On white

6.92
#AB2716 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#AB2716 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2716
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2716#FFFFFF#000000##FFFFFF
##AB27161.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514712
Deuteranopia (green-blind)
#71640C
Tritanopia (blue-blind)
#BD0025
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #ab2716;
/* rgb */ color: rgb(171, 39, 22);
/* oklch */ color: oklch(48.7% 0.171 30.9);
Tailwind
colors: {
  custom: {
    50: '#ce6d56',
    500: '#ab2716',
    950: '#000000',
  },
}
SCSS
$custom: #ab2716;
$custom-light: #ce6d56;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2716",
  "rgb": {
    "r": 171,
    "g": 39,
    "b": 22
  },
  "hsl": {
    "h": 6.846,
    "s": 77.202,
    "l": 37.843
  },
  "oklch": {
    "l": 0.48673,
    "c": 0.17082,
    "h": 30.9
  },
  "luminance": 0.10167
}

Semantic roles & 50–950 ramp

primary
#AB2716
secondary
#52BDCB
accent
#DEF434
background
#FEF6F5
surface
#FCECE9
border
#D5C7C5
text
#160803
muted
#847A78

Preview Lab

Preview with #AB2716

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

Preview Lab → · Contrast checker → · Palette generator →

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