#AB504D#AB504D

#AB504D is a mid, vivid red. Relative luminance 0.149; OKLCH L 54.5% C 0.120 H 23.8°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#AB504D
RGBrgb(171, 80, 77)
HSLhsl(2, 38%, 49%)
HSVhsv(2, 55%, 67%)
CMYKcmyk(0%, 53.2%, 55%, 32.9%)
CIE-LABlab(45.54, 37.02, 19.65)
CIE-LCHlch(45.54, 41.91, 27.96°)
OKLaboklab(54.47% 0.1101 0.0485)
OKLCHoklch(54.47% 0.12 23.8)
XYZxyz(21.0044, 14.9335, 8.7961)
Luminance0.1493 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB504D #4DA8AB
analogous
#AB4D79 #AB504D #AB7F4D
triadic
#AB504D #4DAB50 #504DAB
tetradic
#AB504D #79AB4D #4DA8AB #7F4DAB
square
#AB504D #79AB4D #4DA8AB #7F4DAB
split-complementary
#AB504D #4DAB7F #4D79AB
monochromatic
#572927 #813C3A #AB504D #C17775 #D4A09F

Accessibility & contrast

On white

5.27
#AB504D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#AB504D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB504D
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB504D#FFFFFF#000000##FFFFFF
##AB504D1.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#65604C
Deuteranopia (green-blind)
#7C734B
Tritanopia (blue-blind)
#BA4250
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ab504d;
/* rgb */ color: rgb(171, 80, 77);
/* oklch */ color: oklch(54.5% 0.120 23.8);
Tailwind
colors: {
  custom: {
    50: '#c9847e',
    500: '#ab504d',
    950: '#000000',
  },
}
SCSS
$custom: #ab504d;
$custom-light: #c9847e;
$custom-dark: #000000;
JSON
{
  "hex": "#ab504d",
  "rgb": {
    "r": 171,
    "g": 80,
    "b": 77
  },
  "hsl": {
    "h": 1.915,
    "s": 37.903,
    "l": 48.627
  },
  "oklch": {
    "l": 0.54471,
    "c": 0.1203,
    "h": 23.8
  },
  "luminance": 0.14931
}

Semantic roles & 50–950 ramp

primary
#AB504D
secondary
#93BFC0
accent
#CACE5A
background
#FCF8F7
surface
#F9EFEE
border
#D2CAC9
text
#140B0A
muted
#827C7C

Preview Lab

Preview with #AB504D

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

Preview Lab → · Contrast checker → · Palette generator →

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