#AB4037#AB4037

#AB4037 is a mid, vivid red. Relative luminance 0.126; OKLCH L 51.8% C 0.142 H 27.9°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#AB4037
RGBrgb(171, 64, 55)
HSLhsl(5, 51%, 44%)
HSVhsv(5, 68%, 67%)
CMYKcmyk(0%, 62.6%, 67.8%, 32.9%)
CIE-LABlab(42.16, 43.30, 28.52)
CIE-LCHlch(42.16, 51.84, 33.37°)
OKLaboklab(51.79% 0.1259 0.0666)
OKLCHoklch(51.79% 0.142 27.9)
XYZxyz(19.3195, 12.6032, 5.0290)
Luminance0.1260 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4037 #37A2AB
analogous
#AB3768 #AB4037 #AB7A37
triadic
#AB4037 #37AB40 #4037AB
tetradic
#AB4037 #68AB37 #37A2AB #7A37AB
square
#AB4037 #68AB37 #37A2AB #7A37AB
split-complementary
#AB4037 #37AB7A #3768AB
monochromatic
#4E1D19 #7D2F28 #AB4037 #C95F56 #D88B85

Accessibility & contrast

On white

5.97
#AB4037 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#AB4037 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4037
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4037#FFFFFF#000000##FFFFFF
##AB40371.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5535
Deuteranopia (green-blind)
#776C34
Tritanopia (blue-blind)
#BC283F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ab4037;
/* rgb */ color: rgb(171, 64, 55);
/* oklch */ color: oklch(51.8% 0.142 27.9);
Tailwind
colors: {
  custom: {
    50: '#cb7a6e',
    500: '#ab4037',
    950: '#000000',
  },
}
SCSS
$custom: #ab4037;
$custom-light: #cb7a6e;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4037",
  "rgb": {
    "r": 171,
    "g": 64,
    "b": 55
  },
  "hsl": {
    "h": 4.655,
    "s": 51.327,
    "l": 44.314
  },
  "oklch": {
    "l": 0.51794,
    "c": 0.14241,
    "h": 27.9
  },
  "luminance": 0.12601
}

Semantic roles & 50–950 ramp

primary
#AB4037
secondary
#7CBCC1
accent
#D0DB4D
background
#FDF7F6
surface
#FAEEEB
border
#D3C9C6
text
#150907
muted
#837B7A

Preview Lab

Preview with #AB4037

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

Preview Lab → · Contrast checker → · Palette generator →

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