#AB4152#AB4152

#AB4152 is a mid, vivid red. Relative luminance 0.130; OKLCH L 52.5% C 0.139 H 13.6°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#AB4152
RGBrgb(171, 65, 82)
HSLhsl(350, 45%, 46%)
HSVhsv(350, 62%, 67%)
CMYKcmyk(0%, 62%, 52%, 32.9%)
CIE-LABlab(42.84, 44.81, 12.94)
CIE-LCHlch(42.84, 46.65, 16.11°)
OKLaboklab(52.47% 0.1353 0.0328)
OKLCHoklch(52.47% 0.139 13.6)
XYZxyz(20.2095, 13.0502, 9.4357)
Luminance0.1305 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4152 #41AB9A
analogous
#AB4187 #AB4152 #AB6541
triadic
#AB4152 #52AB41 #4152AB
tetradic
#AB4152 #87AB41 #41AB9A #6541AB
square
#AB4152 #87AB41 #41AB9A #6541AB
split-complementary
#AB4152 #41AB65 #4187AB
monochromatic
#521F27 #7F303D #AB4152 #C46574 #D5919C

Accessibility & contrast

On white

5.82
#AB4152 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#AB4152 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4152
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4152#FFFFFF#000000##FFFFFF
##AB41521.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595852
Deuteranopia (green-blind)
#746D50
Tritanopia (blue-blind)
#BA3048
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ab4152;
/* rgb */ color: rgb(171, 65, 82);
/* oklch */ color: oklch(52.5% 0.139 13.6);
Tailwind
colors: {
  custom: {
    50: '#c97b82',
    500: '#ab4152',
    950: '#000000',
  },
}
SCSS
$custom: #ab4152;
$custom-light: #c97b82;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4152",
  "rgb": {
    "r": 171,
    "g": 65,
    "b": 82
  },
  "hsl": {
    "h": 350.377,
    "s": 44.915,
    "l": 46.275
  },
  "oklch": {
    "l": 0.52468,
    "c": 0.13916,
    "h": 13.6
  },
  "luminance": 0.13048
}

Semantic roles & 50–950 ramp

primary
#AB4152
secondary
#87C1B7
accent
#D5C053
background
#FDF7F7
surface
#FAEEEE
border
#D3C9C9
text
#140A0A
muted
#837C7C

Preview Lab

Preview with #AB4152

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

Preview Lab → · Contrast checker → · Palette generator →

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