#AB4A5D#AB4A5D

#AB4A5D is a mid, vivid red. Relative luminance 0.143; OKLCH L 54.0% C 0.128 H 10.3°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#AB4A5D
RGBrgb(171, 74, 93)
HSLhsl(348, 40%, 48%)
HSVhsv(348, 57%, 67%)
CMYKcmyk(0%, 56.7%, 45.6%, 32.9%)
CIE-LABlab(44.73, 41.57, 8.80)
CIE-LCHlch(44.73, 42.49, 11.95°)
OKLaboklab(53.97% 0.1261 0.0228)
OKLCHoklch(53.97% 0.128 10.3)
XYZxyz(21.2206, 14.3482, 12.0058)
Luminance0.1435 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4A5D #4AAB98
analogous
#AB4A8E #AB4A5D #AB674A
triadic
#AB4A5D #5DAB4A #4A5DAB
tetradic
#AB4A5D #8EAB4A #4AAB98 #674AAB
square
#AB4A5D #8EAB4A #4AAB98 #674AAB
split-complementary
#AB4A5D #4AAB67 #4A8EAB
monochromatic
#56252F #803846 #AB4A5D #C17181 #D49BA7

Accessibility & contrast

On white

5.43
#AB4A5D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#AB4A5D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4A5D
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4A5D#FFFFFF#000000##FFFFFF
##AB4A5D1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5E5D
Deuteranopia (green-blind)
#77715B
Tritanopia (blue-blind)
#B93E51
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ab4a5d;
/* rgb */ color: rgb(171, 74, 93);
/* oklch */ color: oklch(54.0% 0.128 10.3);
Tailwind
colors: {
  custom: {
    50: '#c8808a',
    500: '#ab4a5d',
    950: '#000000',
  },
}
SCSS
$custom: #ab4a5d;
$custom-light: #c8808a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4a5d",
  "rgb": {
    "r": 171,
    "g": 74,
    "b": 93
  },
  "hsl": {
    "h": 348.247,
    "s": 39.592,
    "l": 48.039
  },
  "oklch": {
    "l": 0.53972,
    "c": 0.12811,
    "h": 10.3
  },
  "luminance": 0.14346
}

Semantic roles & 50–950 ramp

primary
#AB4A5D
secondary
#90C0B7
accent
#CFB858
background
#FCF8F8
surface
#F9EFF0
border
#D2CACB
text
#140A0B
muted
#827C7C

Preview Lab

Preview with #AB4A5D

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

Preview Lab → · Contrast checker → · Palette generator →

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