#AB4131#AB4131

#AB4131 is a mid, vivid red. Relative luminance 0.127; OKLCH L 51.8% C 0.143 H 31.0°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#AB4131
RGBrgb(171, 65, 49)
HSLhsl(8, 55%, 43%)
HSVhsv(8, 71%, 67%)
CMYKcmyk(0%, 62%, 71.3%, 32.9%)
CIE-LABlab(42.25, 42.50, 32.13)
CIE-LCHlch(42.25, 53.28, 37.09°)
OKLaboklab(51.84% 0.1222 0.0735)
OKLCHoklch(51.84% 0.143 31)
XYZxyz(19.2412, 12.6629, 4.3361)
Luminance0.1266 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4131 #319BAB
analogous
#AB315E #AB4131 #AB7E31
triadic
#AB4131 #31AB41 #4131AB
tetradic
#AB4131 #5EAB31 #319BAB #7E31AB
square
#AB4131 #5EAB31 #319BAB #7E31AB
split-complementary
#AB4131 #31AB7E #315EAB
monochromatic
#4C1D16 #7B2F23 #AB4131 #CC5E4D #DA897D

Accessibility & contrast

On white

5.95
#AB4131 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#AB4131 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4131
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4131#FFFFFF#000000##FFFFFF
##AB41311.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E552F
Deuteranopia (green-blind)
#786C2E
Tritanopia (blue-blind)
#BC293E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ab4131;
/* rgb */ color: rgb(171, 65, 49);
/* oklch */ color: oklch(51.8% 0.143 31.0);
Tailwind
colors: {
  custom: {
    50: '#cb7a6a',
    500: '#ab4131',
    950: '#000000',
  },
}
SCSS
$custom: #ab4131;
$custom-light: #cb7a6a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4131",
  "rgb": {
    "r": 171,
    "g": 65,
    "b": 49
  },
  "hsl": {
    "h": 7.869,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51836,
    "c": 0.1426,
    "h": 31
  },
  "luminance": 0.1266
}

Semantic roles & 50–950 ramp

primary
#AB4131
secondary
#75B8C2
accent
#CBDF49
background
#FDF7F6
surface
#FAEEEB
border
#D3C9C6
text
#150906
muted
#837B7A

Preview Lab

Preview with #AB4131

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

Preview Lab → · Contrast checker → · Palette generator →

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