#AB4252#AB4252

#AB4252 is a mid, vivid red. Relative luminance 0.132; OKLCH L 52.6% C 0.138 H 14.0°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#AB4252
RGBrgb(171, 66, 82)
HSLhsl(351, 44%, 46%)
HSVhsv(351, 61%, 67%)
CMYKcmyk(0%, 61.4%, 52%, 32.9%)
CIE-LABlab(43.01, 44.35, 13.18)
CIE-LCHlch(43.01, 46.27, 16.55°)
OKLaboklab(52.6% 0.1338 0.0333)
OKLCHoklch(52.6% 0.138 14)
XYZxyz(20.2674, 13.1660, 9.4550)
Luminance0.1316 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4252 #42AB9B
analogous
#AB4287 #AB4252 #AB6742
triadic
#AB4252 #52AB42 #4252AB
tetradic
#AB4252 #87AB42 #42AB9B #6742AB
square
#AB4252 #87AB42 #42AB9B #6742AB
split-complementary
#AB4252 #42AB67 #4287AB
monochromatic
#532028 #7F313D #AB4252 #C46674 #D5929D

Accessibility & contrast

On white

5.78
#AB4252 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#AB4252 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4252
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4252#FFFFFF#000000##FFFFFF
##AB42521.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5852
Deuteranopia (green-blind)
#756E50
Tritanopia (blue-blind)
#BA3148
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ab4252;
/* rgb */ color: rgb(171, 66, 82);
/* oklch */ color: oklch(52.6% 0.138 14.0);
Tailwind
colors: {
  custom: {
    50: '#c97b82',
    500: '#ab4252',
    950: '#000000',
  },
}
SCSS
$custom: #ab4252;
$custom-light: #c97b82;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4252",
  "rgb": {
    "r": 171,
    "g": 66,
    "b": 82
  },
  "hsl": {
    "h": 350.857,
    "s": 44.304,
    "l": 46.471
  },
  "oklch": {
    "l": 0.52598,
    "c": 0.13787,
    "h": 14
  },
  "luminance": 0.13164
}

Semantic roles & 50–950 ramp

primary
#AB4252
secondary
#88C0B8
accent
#D4C054
background
#FDF7F7
surface
#FAEEEE
border
#D3C9C9
text
#140A0A
muted
#837C7C

Preview Lab

Preview with #AB4252

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

Preview Lab → · Contrast checker → · Palette generator →

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