#AB4731#AB4731

#AB4731 is a mid, vivid red. Relative luminance 0.134; OKLCH L 52.7% C 0.137 H 33.9°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#AB4731
RGBrgb(171, 71, 49)
HSLhsl(11, 55%, 43%)
HSVhsv(11, 71%, 67%)
CMYKcmyk(0%, 58.5%, 71.3%, 32.9%)
CIE-LABlab(43.34, 39.63, 33.39)
CIE-LCHlch(43.34, 51.82, 40.11°)
OKLaboklab(52.66% 0.1133 0.0762)
OKLCHoklch(52.66% 0.137 33.9)
XYZxyz(19.6042, 13.3887, 4.4571)
Luminance0.1339 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4731 #3195AB
analogous
#AB3158 #AB4731 #AB8431
triadic
#AB4731 #31AB47 #4731AB
tetradic
#AB4731 #58AB31 #3195AB #8431AB
square
#AB4731 #58AB31 #3195AB #8431AB
split-complementary
#AB4731 #31AB84 #3158AB
monochromatic
#4C1F16 #7B3323 #AB4731 #CC644D #DA8D7D

Accessibility & contrast

On white

5.71
#AB4731 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#AB4731 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4731
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4731#FFFFFF#000000##FFFFFF
##AB47311.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#62592E
Deuteranopia (green-blind)
#7B6F2E
Tritanopia (blue-blind)
#BC3142
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ab4731;
/* rgb */ color: rgb(171, 71, 49);
/* oklch */ color: oklch(52.7% 0.137 33.9);
Tailwind
colors: {
  custom: {
    50: '#cb7e6a',
    500: '#ab4731',
    950: '#000000',
  },
}
SCSS
$custom: #ab4731;
$custom-light: #cb7e6a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4731",
  "rgb": {
    "r": 171,
    "g": 71,
    "b": 49
  },
  "hsl": {
    "h": 10.82,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52661,
    "c": 0.13652,
    "h": 33.9
  },
  "luminance": 0.13386
}

Semantic roles & 50–950 ramp

primary
#AB4731
secondary
#75B4C2
accent
#C4DF49
background
#FDF7F6
surface
#FAEEEB
border
#D3C9C6
text
#150A06
muted
#837C7A

Preview Lab

Preview with #AB4731

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

Preview Lab → · Contrast checker → · Palette generator →

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