#AB4E5F#AB4E5F

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

Color values

HEX#AB4E5F
RGBrgb(171, 78, 95)
HSLhsl(349, 37%, 49%)
HSVhsv(349, 54%, 67%)
CMYKcmyk(0%, 54.4%, 44.4%, 32.9%)
CIE-LABlab(45.55, 39.78, 8.73)
CIE-LCHlch(45.55, 40.72, 12.38°)
OKLaboklab(54.6% 0.1206 0.0227)
OKLCHoklch(54.6% 0.123 10.7)
XYZxyz(21.5859, 14.9352, 12.5703)
Luminance0.1493 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4E5F #4EAB9A
analogous
#AB4E8E #AB4E5F #AB6C4E
triadic
#AB4E5F #5FAB4E #4E5FAB
tetradic
#AB4E5F #8EAB4E #4EAB9A #6C4EAB
square
#AB4E5F #8EAB4E #4EAB9A #6C4EAB
split-complementary
#AB4E5F #4EAB6C #4E8EAB
monochromatic
#572830 #813B48 #AB4E5F #C07683 #D4A0A9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB4E5F#FFFFFF#000000##FFFFFF
##AB4E5F1.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)
#61605F
Deuteranopia (green-blind)
#78735D
Tritanopia (blue-blind)
#B94354
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ab4e5f;
/* rgb */ color: rgb(171, 78, 95);
/* oklch */ color: oklch(54.6% 0.123 10.7);
Tailwind
colors: {
  custom: {
    50: '#c8838c',
    500: '#ab4e5f',
    950: '#000000',
  },
}
SCSS
$custom: #ab4e5f;
$custom-light: #c8838c;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4e5f",
  "rgb": {
    "r": 171,
    "g": 78,
    "b": 95
  },
  "hsl": {
    "h": 349.032,
    "s": 37.349,
    "l": 48.824
  },
  "oklch": {
    "l": 0.54603,
    "c": 0.1227,
    "h": 10.7
  },
  "luminance": 0.14933
}

Semantic roles & 50–950 ramp

primary
#AB4E5F
secondary
#94C1B8
accent
#CDB85A
background
#FCF8F8
surface
#F9EFF0
border
#D2CACB
text
#140B0C
muted
#827C7D

Preview Lab

Preview with #AB4E5F

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

Preview Lab → · Contrast checker → · Palette generator →

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