#AB2718#AB2718

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

Color values

HEX#AB2718
RGBrgb(171, 39, 24)
HSLhsl(6, 75%, 38%)
HSVhsv(6, 86%, 67%)
CMYKcmyk(0%, 77.2%, 86%, 32.9%)
CIE-LABlab(38.16, 52.01, 41.53)
CIE-LCHlch(38.16, 66.56, 38.61°)
OKLaboklab(48.69% 0.147 0.0865)
OKLCHoklch(48.69% 0.171 30.5)
XYZxyz(17.6872, 10.1778, 1.8972)
Luminance0.1017 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2718 #189CAB
analogous
#AB1853 #AB2718 #AB7018
triadic
#AB2718 #18AB27 #2718AB
tetradic
#AB2718 #53AB18 #189CAB #7018AB
square
#AB2718 #53AB18 #189CAB #7018AB
split-complementary
#AB2718 #18AB70 #1853AB
monochromatic
#400F09 #751B10 #AB2718 #E03420 #E76556

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB2718#FFFFFF#000000##FFFFFF
##AB27181.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)
#514714
Deuteranopia (green-blind)
#71640F
Tritanopia (blue-blind)
#BD0025
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #ab2718;
/* rgb */ color: rgb(171, 39, 24);
/* oklch */ color: oklch(48.7% 0.171 30.5);
Tailwind
colors: {
  custom: {
    50: '#ce6d57',
    500: '#ab2718',
    950: '#000000',
  },
}
SCSS
$custom: #ab2718;
$custom-light: #ce6d57;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2718",
  "rgb": {
    "r": 171,
    "g": 39,
    "b": 24
  },
  "hsl": {
    "h": 6.122,
    "s": 75.385,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48688,
    "c": 0.17057,
    "h": 30.5
  },
  "luminance": 0.10175
}

Semantic roles & 50–950 ramp

primary
#AB2718
secondary
#55BECA
accent
#DFF236
background
#FEF6F5
surface
#FCECE9
border
#D5C7C5
text
#160803
muted
#847A78

Preview Lab

Preview with #AB2718

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

Preview Lab → · Contrast checker → · Palette generator →

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