#AB504F#AB504F

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

Color values

HEX#AB504F
RGBrgb(171, 80, 79)
HSLhsl(1, 37%, 49%)
HSVhsv(1, 54%, 67%)
CMYKcmyk(0%, 53.2%, 53.8%, 32.9%)
CIE-LABlab(45.58, 37.19, 18.50)
CIE-LCHlch(45.58, 41.54, 26.44°)
OKLaboklab(54.51% 0.1109 0.0459)
OKLCHoklch(54.51% 0.12 22.5)
XYZxyz(21.0761, 14.9622, 9.1737)
Luminance0.1496 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB504F #4FAAAB
analogous
#AB4F7C #AB504F #AB7E4F
triadic
#AB504F #4FAB50 #504FAB
tetradic
#AB504F #7CAB4F #4FAAAB #7E4FAB
square
#AB504F #7CAB4F #4FAAAB #7E4FAB
split-complementary
#AB504F #4FAB7E #4F7CAB
monochromatic
#572928 #813C3C #AB504F #C07877 #D4A1A1

Accessibility & contrast

On white

5.26
#AB504F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB504F
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB504F#FFFFFF#000000##FFFFFF
##AB504F1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab504f;
/* rgb */ color: rgb(171, 80, 79);
/* oklch */ color: oklch(54.5% 0.120 22.5);
Tailwind
colors: {
  custom: {
    50: '#c88480',
    500: '#ab504f',
    950: '#000000',
  },
}
SCSS
$custom: #ab504f;
$custom-light: #c88480;
$custom-dark: #000000;
JSON
{
  "hex": "#ab504f",
  "rgb": {
    "r": 171,
    "g": 80,
    "b": 79
  },
  "hsl": {
    "h": 0.652,
    "s": 36.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.54514,
    "c": 0.12003,
    "h": 22.5
  },
  "luminance": 0.1496
}

Semantic roles & 50–950 ramp

primary
#AB504F
secondary
#95C0C1
accent
#CCCD5B
background
#FCF8F7
surface
#F9EFEE
border
#D2CAC9
text
#140B0A
muted
#827C7C

Preview Lab

Preview with #AB504F

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

Preview Lab → · Contrast checker → · Palette generator →

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