#AB4031#AB4031

#AB4031 is a mid, vivid red. Relative luminance 0.125; OKLCH L 51.7% C 0.144 H 30.6°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#AB4031
RGBrgb(171, 64, 49)
HSLhsl(7, 55%, 43%)
HSVhsv(7, 71%, 67%)
CMYKcmyk(0%, 62.6%, 71.3%, 32.9%)
CIE-LABlab(42.08, 42.97, 31.93)
CIE-LCHlch(42.08, 53.53, 36.62°)
OKLaboklab(51.7% 0.1237 0.073)
OKLCHoklch(51.7% 0.144 30.6)
XYZxyz(19.1843, 12.5491, 4.3172)
Luminance0.1255 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4031 #319CAB
analogous
#AB315F #AB4031 #AB7D31
triadic
#AB4031 #31AB40 #4031AB
tetradic
#AB4031 #5FAB31 #319CAB #7D31AB
square
#AB4031 #5FAB31 #319CAB #7D31AB
split-complementary
#AB4031 #31AB7D #315FAB
monochromatic
#4C1C16 #7B2E23 #AB4031 #CC5D4D #DA887D

Accessibility & contrast

On white

5.98
#AB4031 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#AB4031 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4031
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4031#FFFFFF#000000##FFFFFF
##AB40311.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D552F
Deuteranopia (green-blind)
#786C2E
Tritanopia (blue-blind)
#BC273D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ab4031;
/* rgb */ color: rgb(171, 64, 49);
/* oklch */ color: oklch(51.7% 0.144 30.6);
Tailwind
colors: {
  custom: {
    50: '#cb796a',
    500: '#ab4031',
    950: '#000000',
  },
}
SCSS
$custom: #ab4031;
$custom-light: #cb796a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4031",
  "rgb": {
    "r": 171,
    "g": 64,
    "b": 49
  },
  "hsl": {
    "h": 7.377,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51704,
    "c": 0.14362,
    "h": 30.6
  },
  "luminance": 0.12546
}

Semantic roles & 50–950 ramp

primary
#AB4031
secondary
#75B9C2
accent
#CCDF49
background
#FDF7F6
surface
#FAEEEB
border
#D3C9C6
text
#150906
muted
#837B7A

Preview Lab

Preview with #AB4031

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

Preview Lab → · Contrast checker → · Palette generator →

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