#AB301C#AB301C

#AB301C is a mid, vivid red. Relative luminance 0.109; OKLCH L 49.6% C 0.163 H 31.9°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#AB301C
RGBrgb(171, 48, 28)
HSLhsl(8, 72%, 39%)
HSVhsv(8, 84%, 67%)
CMYKcmyk(0%, 71.9%, 83.6%, 32.9%)
CIE-LABlab(39.34, 48.93, 40.59)
CIE-LCHlch(39.34, 63.57, 39.68°)
OKLaboklab(49.58% 0.1381 0.0861)
OKLCHoklch(49.58% 0.163 31.9)
XYZxyz(18.0633, 10.8585, 2.2432)
Luminance0.1086 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB301C #1C97AB
analogous
#AB1C4F #AB301C #AB781C
triadic
#AB301C #1CAB30 #301CAB
tetradic
#AB301C #4FAB1C #1C97AB #781CAB
square
#AB301C #4FAB1C #1C97AB #781CAB
split-complementary
#AB301C #1CAB78 #1C4FAB
monochromatic
#42120B #762113 #AB301C #DC4128 #E4705D

Accessibility & contrast

On white

6.62
#AB301C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#AB301C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB301C
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB301C#FFFFFF#000000##FFFFFF
##AB301C1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B18
Deuteranopia (green-blind)
#736715
Tritanopia (blue-blind)
#BD002D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ab301c;
/* rgb */ color: rgb(171, 48, 28);
/* oklch */ color: oklch(49.6% 0.163 31.9);
Tailwind
colors: {
  custom: {
    50: '#cd715a',
    500: '#ab301c',
    950: '#000000',
  },
}
SCSS
$custom: #ab301c;
$custom-light: #cd715a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab301c",
  "rgb": {
    "r": 171,
    "g": 48,
    "b": 28
  },
  "hsl": {
    "h": 8.392,
    "s": 71.859,
    "l": 39.02
  },
  "oklch": {
    "l": 0.4958,
    "c": 0.16273,
    "h": 31.9
  },
  "luminance": 0.10856
}

Semantic roles & 50–950 ramp

primary
#AB301C
secondary
#5AB9C9
accent
#D5EF39
background
#FDF7F5
surface
#FBEDE9
border
#D4C8C5
text
#150804
muted
#837B79

Preview Lab

Preview with #AB301C

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

Preview Lab → · Contrast checker → · Palette generator →

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