#AB504C#AB504C

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

Color values

HEX#AB504C
RGBrgb(171, 80, 76)
HSLhsl(3, 38%, 48%)
HSVhsv(3, 56%, 67%)
CMYKcmyk(0%, 53.2%, 55.6%, 32.9%)
CIE-LABlab(45.52, 36.94, 20.23)
CIE-LCHlch(45.52, 42.11, 28.71°)
OKLaboklab(54.45% 0.1097 0.0498)
OKLCHoklch(54.45% 0.12 24.4)
XYZxyz(20.9694, 14.9195, 8.6115)
Luminance0.1492 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB504C #4CA7AB
analogous
#AB4C77 #AB504C #AB7F4C
triadic
#AB504C #4CAB50 #504CAB
tetradic
#AB504C #77AB4C #4CA7AB #7F4CAB
square
#AB504C #77AB4C #4CA7AB #7F4CAB
split-complementary
#AB504C #4CAB7F #4C77AB
monochromatic
#562826 #813C39 #AB504C #C17773 #D4A09E

Accessibility & contrast

On white

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

On black

3.98
#AB504C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AB504C#FFFFFF#000000##FFFFFF
##AB504C1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#66604B
Deuteranopia (green-blind)
#7C734A
Tritanopia (blue-blind)
#BA4150
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ab504c;
/* rgb */ color: rgb(171, 80, 76);
/* oklch */ color: oklch(54.4% 0.120 24.4);
Tailwind
colors: {
  custom: {
    50: '#c9847e',
    500: '#ab504c',
    950: '#000000',
  },
}
SCSS
$custom: #ab504c;
$custom-light: #c9847e;
$custom-dark: #000000;
JSON
{
  "hex": "#ab504c",
  "rgb": {
    "r": 171,
    "g": 80,
    "b": 76
  },
  "hsl": {
    "h": 2.526,
    "s": 38.462,
    "l": 48.431
  },
  "oklch": {
    "l": 0.5445,
    "c": 0.12045,
    "h": 24.4
  },
  "luminance": 0.14917
}

Semantic roles & 50–950 ramp

primary
#AB504C
secondary
#92BFC0
accent
#C9CE59
background
#FCF8F7
surface
#F9EFEE
border
#D2CAC9
text
#140B09
muted
#827C7B

Preview Lab

Preview with #AB504C

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

Preview Lab → · Contrast checker → · Palette generator →

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