#AB4047#AB4047

#AB4047 is a mid, vivid red. Relative luminance 0.128; OKLCH L 52.1% C 0.140 H 19.6°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#AB4047
RGBrgb(171, 64, 71)
HSLhsl(356, 46%, 46%)
HSVhsv(356, 63%, 67%)
CMYKcmyk(0%, 62.6%, 58.5%, 32.9%)
CIE-LABlab(42.43, 44.37, 19.18)
CIE-LCHlch(42.43, 48.34, 23.38°)
OKLaboklab(52.09% 0.1323 0.047)
OKLCHoklch(52.09% 0.14 19.6)
XYZxyz(19.7671, 12.7822, 7.3863)
Luminance0.1278 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4047 #40ABA4
analogous
#AB407C #AB4047 #AB6E40
triadic
#AB4047 #47AB40 #4047AB
tetradic
#AB4047 #7CAB40 #40ABA4 #6E40AB
square
#AB4047 #7CAB40 #40ABA4 #6E40AB
split-complementary
#AB4047 #40AB6E #407CAB
monochromatic
#521F22 #7E2F35 #AB4047 #C5636A #D59095

Accessibility & contrast

On white

5.91
#AB4047 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#AB4047 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4047
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4047#FFFFFF#000000##FFFFFF
##AB40471.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5647
Deuteranopia (green-blind)
#756D44
Tritanopia (blue-blind)
#BB2C43
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ab4047;
/* rgb */ color: rgb(171, 64, 71);
/* oklch */ color: oklch(52.1% 0.140 19.6);
Tailwind
colors: {
  custom: {
    50: '#ca7a7a',
    500: '#ab4047',
    950: '#000000',
  },
}
SCSS
$custom: #ab4047;
$custom-light: #ca7a7a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4047",
  "rgb": {
    "r": 171,
    "g": 64,
    "b": 71
  },
  "hsl": {
    "h": 356.075,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.52088,
    "c": 0.14036,
    "h": 19.6
  },
  "luminance": 0.1278
}

Semantic roles & 50–950 ramp

primary
#AB4047
secondary
#86C1BD
accent
#D5CD53
background
#FDF7F7
surface
#FAEEED
border
#D3C9C8
text
#140909
muted
#837B7B

Preview Lab

Preview with #AB4047

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

Preview Lab → · Contrast checker → · Palette generator →

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