#AB291F#AB291F

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

Color values

HEX#AB291F
RGBrgb(171, 41, 31)
HSLhsl(4, 69%, 40%)
HSVhsv(4, 82%, 67%)
CMYKcmyk(0%, 76%, 81.9%, 32.9%)
CIE-LABlab(38.46, 51.54, 38.17)
CIE-LCHlch(38.46, 64.14, 36.53°)
OKLaboklab(48.93% 0.1468 0.0818)
OKLCHoklch(48.93% 0.168 29.1)
XYZxyz(17.8370, 10.3456, 2.3538)
Luminance0.1034 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB291F #1FA1AB
analogous
#AB1F5B #AB291F #AB6F1F
triadic
#AB291F #1FAB29 #291FAB
tetradic
#AB291F #5BAB1F #1FA1AB #6F1FAB
square
#AB291F #5BAB1F #1FA1AB #6F1FAB
split-complementary
#AB291F #1FAB6F #1F5BAB
monochromatic
#43100C #771D16 #AB291F #D93A2E #E36B62

Accessibility & contrast

On white

6.84
#AB291F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB291F
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB291F#FFFFFF#000000##FFFFFF
##AB291F1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51481C
Deuteranopia (green-blind)
#716518
Tritanopia (blue-blind)
#BD0028
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ab291f;
/* rgb */ color: rgb(171, 41, 31);
/* oklch */ color: oklch(48.9% 0.168 29.1);
Tailwind
colors: {
  custom: {
    50: '#cd6e5c',
    500: '#ab291f',
    950: '#000000',
  },
}
SCSS
$custom: #ab291f;
$custom-light: #cd6e5c;
$custom-dark: #000000;
JSON
{
  "hex": "#ab291f",
  "rgb": {
    "r": 171,
    "g": 41,
    "b": 31
  },
  "hsl": {
    "h": 4.286,
    "s": 69.307,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48927,
    "c": 0.16808,
    "h": 29.1
  },
  "luminance": 0.10343
}

Semantic roles & 50–950 ramp

primary
#AB291F
secondary
#5EC0C7
accent
#E0EC3C
background
#FDF6F5
surface
#FBECE9
border
#D4C7C5
text
#150804
muted
#837B79

Preview Lab

Preview with #AB291F

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

Preview Lab → · Contrast checker → · Palette generator →

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