#AB4837#AB4837

#AB4837 is a mid, vivid red. Relative luminance 0.136; OKLCH L 52.9% C 0.134 H 31.7°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#AB4837
RGBrgb(171, 72, 55)
HSLhsl(9, 51%, 44%)
HSVhsv(9, 68%, 67%)
CMYKcmyk(0%, 57.9%, 67.8%, 32.9%)
CIE-LABlab(43.61, 39.47, 30.26)
CIE-LCHlch(43.61, 49.74, 37.48°)
OKLaboklab(52.89% 0.114 0.0704)
OKLCHoklch(52.89% 0.134 31.7)
XYZxyz(19.8034, 13.5711, 5.1903)
Luminance0.1357 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4837 #379AAB
analogous
#AB3760 #AB4837 #AB8237
triadic
#AB4837 #37AB48 #4837AB
tetradic
#AB4837 #60AB37 #379AAB #8237AB
square
#AB4837 #60AB37 #379AAB #8237AB
split-complementary
#AB4837 #37AB82 #3760AB
monochromatic
#4E2119 #7D3528 #AB4837 #C96756 #D89185

Accessibility & contrast

On white

5.65
#AB4837 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#AB4837 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4837
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4837#FFFFFF#000000##FFFFFF
##AB48371.005.653.715.65
#FFFFFF5.651.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625A35
Deuteranopia (green-blind)
#7B6F35
Tritanopia (blue-blind)
#BB3444
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ab4837;
/* rgb */ color: rgb(171, 72, 55);
/* oklch */ color: oklch(52.9% 0.134 31.7);
Tailwind
colors: {
  custom: {
    50: '#ca7e6e',
    500: '#ab4837',
    950: '#000000',
  },
}
SCSS
$custom: #ab4837;
$custom-light: #ca7e6e;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4837",
  "rgb": {
    "r": 171,
    "g": 72,
    "b": 55
  },
  "hsl": {
    "h": 8.793,
    "s": 51.327,
    "l": 44.314
  },
  "oklch": {
    "l": 0.5289,
    "c": 0.13394,
    "h": 31.7
  },
  "luminance": 0.13568
}

Semantic roles & 50–950 ramp

primary
#AB4837
secondary
#7CB7C1
accent
#C6DB4D
background
#FDF7F6
surface
#FAEEEC
border
#D3C9C7
text
#140A07
muted
#837C7A

Preview Lab

Preview with #AB4837

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

Preview Lab → · Contrast checker → · Palette generator →

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