#AB4D52#AB4D52

#AB4D52 is a mid, vivid red. Relative luminance 0.146; OKLCH L 54.1% C 0.124 H 18.9°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#AB4D52
RGBrgb(171, 77, 82)
HSLhsl(357, 38%, 49%)
HSVhsv(357, 55%, 67%)
CMYKcmyk(0%, 55%, 52%, 32.9%)
CIE-LABlab(45.05, 39.00, 15.96)
CIE-LCHlch(45.05, 42.14, 22.26°)
OKLaboklab(54.13% 0.1169 0.04)
OKLCHoklch(54.13% 0.124 18.9)
XYZxyz(20.9730, 14.5773, 9.6902)
Luminance0.1457 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4D52 #4DABA6
analogous
#AB4D81 #AB4D52 #AB774D
triadic
#AB4D52 #52AB4D #4D52AB
tetradic
#AB4D52 #81AB4D #4DABA6 #774DAB
square
#AB4D52 #81AB4D #4DABA6 #774DAB
split-complementary
#AB4D52 #4DAB77 #4D81AB
monochromatic
#57272A #813A3E #AB4D52 #C17579 #D49FA2

Accessibility & contrast

On white

5.36
#AB4D52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#AB4D52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4D52
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4D52#FFFFFF#000000##FFFFFF
##AB4D521.005.363.915.36
#FFFFFF5.361.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625F52
Deuteranopia (green-blind)
#7A7250
Tritanopia (blue-blind)
#BA3F4F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ab4d52;
/* rgb */ color: rgb(171, 77, 82);
/* oklch */ color: oklch(54.1% 0.124 18.9);
Tailwind
colors: {
  custom: {
    50: '#c88282',
    500: '#ab4d52',
    950: '#000000',
  },
}
SCSS
$custom: #ab4d52;
$custom-light: #c88282;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4d52",
  "rgb": {
    "r": 171,
    "g": 77,
    "b": 82
  },
  "hsl": {
    "h": 356.809,
    "s": 37.903,
    "l": 48.627
  },
  "oklch": {
    "l": 0.54131,
    "c": 0.12359,
    "h": 18.9
  },
  "luminance": 0.14575
}

Semantic roles & 50–950 ramp

primary
#AB4D52
secondary
#93C0BE
accent
#CEC85A
background
#FCF8F7
surface
#F9EFEE
border
#D2CAC9
text
#140B0A
muted
#827C7C

Preview Lab

Preview with #AB4D52

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

Preview Lab → · Contrast checker → · Palette generator →

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