#AB291C#AB291C

#AB291C is a mid, vivid red. Relative luminance 0.103; OKLCH L 48.9% C 0.168 H 30.0°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#AB291C
RGBrgb(171, 41, 28)
HSLhsl(5, 72%, 39%)
HSVhsv(5, 84%, 67%)
CMYKcmyk(0%, 76%, 83.6%, 32.9%)
CIE-LABlab(38.43, 51.45, 39.74)
CIE-LCHlch(38.43, 65.01, 37.68°)
OKLaboklab(48.9% 0.146 0.0842)
OKLCHoklch(48.9% 0.168 30)
XYZxyz(17.7993, 10.3305, 2.1552)
Luminance0.1033 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB291C #1C9EAB
analogous
#AB1C56 #AB291C #AB711C
triadic
#AB291C #1CAB29 #291CAB
tetradic
#AB291C #56AB1C #1C9EAB #711CAB
square
#AB291C #56AB1C #1C9EAB #711CAB
split-complementary
#AB291C #1CAB71 #1C56AB
monochromatic
#42100B #761C13 #AB291C #DC3928 #E4695D

Accessibility & contrast

On white

6.85
#AB291C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#AB291C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB291C
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB291C#FFFFFF#000000##FFFFFF
##AB291C1.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514819
Deuteranopia (green-blind)
#716515
Tritanopia (blue-blind)
#BD0028
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #ab291c;
/* rgb */ color: rgb(171, 41, 28);
/* oklch */ color: oklch(48.9% 0.168 30.0);
Tailwind
colors: {
  custom: {
    50: '#cd6d5a',
    500: '#ab291c',
    950: '#000000',
  },
}
SCSS
$custom: #ab291c;
$custom-light: #cd6d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab291c",
  "rgb": {
    "r": 171,
    "g": 41,
    "b": 28
  },
  "hsl": {
    "h": 5.455,
    "s": 71.859,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48899,
    "c": 0.16849,
    "h": 30
  },
  "luminance": 0.10328
}

Semantic roles & 50–950 ramp

primary
#AB291C
secondary
#5ABFC9
accent
#DEEF39
background
#FDF6F5
surface
#FBECE9
border
#D4C7C5
text
#160804
muted
#847A79

Preview Lab

Preview with #AB291C

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

Preview Lab → · Contrast checker → · Palette generator →

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