#AB504B#AB504B

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

Color values

HEX#AB504B
RGBrgb(171, 80, 75)
HSLhsl(3, 39%, 48%)
HSVhsv(3, 56%, 67%)
CMYKcmyk(0%, 53.2%, 56.1%, 32.9%)
CIE-LABlab(45.50, 36.85, 20.80)
CIE-LCHlch(45.50, 42.32, 29.44°)
OKLaboklab(54.43% 0.1093 0.0511)
OKLCHoklch(54.43% 0.121 25)
XYZxyz(20.9349, 14.9057, 8.4299)
Luminance0.1490 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB504B #4BA6AB
analogous
#AB4B76 #AB504B #AB804B
triadic
#AB504B #4BAB50 #504BAB
tetradic
#AB504B #76AB4B #4BA6AB #804BAB
square
#AB504B #76AB4B #4BA6AB #804BAB
split-complementary
#AB504B #4BAB80 #4B76AB
monochromatic
#562826 #803C38 #AB504B #C17672 #D49F9D

Accessibility & contrast

On white

5.28
#AB504B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB504B
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB504B#FFFFFF#000000##FFFFFF
##AB504B1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#66604A
Deuteranopia (green-blind)
#7C7349
Tritanopia (blue-blind)
#BA414F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ab504b;
/* rgb */ color: rgb(171, 80, 75);
/* oklch */ color: oklch(54.4% 0.121 25.0);
Tailwind
colors: {
  custom: {
    50: '#c9847d',
    500: '#ab504b',
    950: '#000000',
  },
}
SCSS
$custom: #ab504b;
$custom-light: #c9847d;
$custom-dark: #000000;
JSON
{
  "hex": "#ab504b",
  "rgb": {
    "r": 171,
    "g": 80,
    "b": 75
  },
  "hsl": {
    "h": 3.125,
    "s": 39.024,
    "l": 48.235
  },
  "oklch": {
    "l": 0.5443,
    "c": 0.12061,
    "h": 25
  },
  "luminance": 0.14903
}

Semantic roles & 50–950 ramp

primary
#AB504B
secondary
#91BEC0
accent
#C9CF59
background
#FCF8F7
surface
#F9EFEE
border
#D2CAC9
text
#140B09
muted
#827C7B

Preview Lab

Preview with #AB504B

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

Preview Lab → · Contrast checker → · Palette generator →

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