#AB4740#AB4740

#AB4740 is a mid, vivid red. Relative luminance 0.135; OKLCH L 52.9% C 0.133 H 26.6°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#AB4740
RGBrgb(171, 71, 64)
HSLhsl(4, 46%, 46%)
HSVhsv(4, 63%, 67%)
CMYKcmyk(0%, 58.5%, 62.6%, 32.9%)
CIE-LABlab(43.56, 40.54, 24.89)
CIE-LCHlch(43.56, 47.57, 31.55°)
OKLaboklab(52.9% 0.119 0.0595)
OKLCHoklch(52.9% 0.133 26.6)
XYZxyz(19.9751, 13.5371, 6.4105)
Luminance0.1353 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4740 #40A4AB
analogous
#AB406E #AB4740 #AB7C40
triadic
#AB4740 #40AB47 #4740AB
tetradic
#AB4740 #6EAB40 #40A4AB #7C40AB
square
#AB4740 #6EAB40 #40A4AB #7C40AB
split-complementary
#AB4740 #40AB7C #406EAB
monochromatic
#52221F #7E352F #AB4740 #C56A63 #D59590

Accessibility & contrast

On white

5.66
#AB4740 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB4740
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4740#FFFFFF#000000##FFFFFF
##AB47401.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605A3F
Deuteranopia (green-blind)
#796F3E
Tritanopia (blue-blind)
#BB3446
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ab4740;
/* rgb */ color: rgb(171, 71, 64);
/* oklch */ color: oklch(52.9% 0.133 26.6);
Tailwind
colors: {
  custom: {
    50: '#ca7e75',
    500: '#ab4740',
    950: '#000000',
  },
}
SCSS
$custom: #ab4740;
$custom-light: #ca7e75;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4740",
  "rgb": {
    "r": 171,
    "g": 71,
    "b": 64
  },
  "hsl": {
    "h": 3.925,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.52896,
    "c": 0.13305,
    "h": 26.6
  },
  "luminance": 0.13535
}

Semantic roles & 50–950 ramp

primary
#AB4740
secondary
#86BDC1
accent
#CDD553
background
#FDF7F7
surface
#FAEEED
border
#D3C9C8
text
#140A08
muted
#837C7B

Preview Lab

Preview with #AB4740

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

Preview Lab → · Contrast checker → · Palette generator →

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