#AB2816#AB2816

#AB2816 is a mid, vivid red. Relative luminance 0.102; OKLCH L 48.8% C 0.170 H 31.2°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#AB2816
RGBrgb(171, 40, 22)
HSLhsl(7, 77%, 38%)
HSVhsv(7, 87%, 67%)
CMYKcmyk(0%, 76.6%, 87.1%, 32.9%)
CIE-LABlab(38.26, 51.64, 42.58)
CIE-LCHlch(38.26, 66.93, 39.51°)
OKLaboklab(48.76% 0.1455 0.0881)
OKLCHoklch(48.76% 0.17 31.2)
XYZxyz(17.7004, 10.2363, 1.8027)
Luminance0.1023 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2816 #1699AB
analogous
#AB164F #AB2816 #AB7216
triadic
#AB2816 #16AB28 #2816AB
tetradic
#AB2816 #4FAB16 #1699AB #7216AB
square
#AB2816 #4FAB16 #1699AB #7216AB
split-complementary
#AB2816 #16AB72 #164FAB
monochromatic
#3F0F08 #751B0F #AB2816 #E1351D #E96553

Accessibility & contrast

On white

6.89
#AB2816 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#AB2816 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2816
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2816#FFFFFF#000000##FFFFFF
##AB28161.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514812
Deuteranopia (green-blind)
#71640D
Tritanopia (blue-blind)
#BD0026
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #ab2816;
/* rgb */ color: rgb(171, 40, 22);
/* oklch */ color: oklch(48.8% 0.170 31.2);
Tailwind
colors: {
  custom: {
    50: '#ce6d56',
    500: '#ab2816',
    950: '#000000',
  },
}
SCSS
$custom: #ab2816;
$custom-light: #ce6d56;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2816",
  "rgb": {
    "r": 171,
    "g": 40,
    "b": 22
  },
  "hsl": {
    "h": 7.248,
    "s": 77.202,
    "l": 37.843
  },
  "oklch": {
    "l": 0.4876,
    "c": 0.17007,
    "h": 31.2
  },
  "luminance": 0.10233
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB2816

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

Preview Lab → · Contrast checker → · Palette generator →

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