#AB4256#AB4256

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

Color values

HEX#AB4256
RGBrgb(171, 66, 86)
HSLhsl(349, 44%, 46%)
HSVhsv(349, 61%, 67%)
CMYKcmyk(0%, 61.4%, 49.7%, 32.9%)
CIE-LABlab(43.11, 44.72, 10.84)
CIE-LCHlch(43.11, 46.01, 13.62°)
OKLaboklab(52.7% 0.1354 0.0277)
OKLCHoklch(52.7% 0.138 11.6)
XYZxyz(20.4241, 13.2287, 10.2801)
Luminance0.1323 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4256 #42AB97
analogous
#AB428B #AB4256 #AB6342
triadic
#AB4256 #56AB42 #4256AB
tetradic
#AB4256 #8BAB42 #42AB97 #6342AB
square
#AB4256 #8BAB42 #42AB97 #6342AB
split-complementary
#AB4256 #42AB63 #428BAB
monochromatic
#53202A #7F3140 #AB4256 #C46678 #D5929F

Accessibility & contrast

On white

5.76
#AB4256 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#AB4256 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4256
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4256#FFFFFF#000000##FFFFFF
##AB42561.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595856
Deuteranopia (green-blind)
#746E54
Tritanopia (blue-blind)
#BA334A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ab4256;
/* rgb */ color: rgb(171, 66, 86);
/* oklch */ color: oklch(52.7% 0.138 11.6);
Tailwind
colors: {
  custom: {
    50: '#c97b85',
    500: '#ab4256',
    950: '#000000',
  },
}
SCSS
$custom: #ab4256;
$custom-light: #c97b85;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4256",
  "rgb": {
    "r": 171,
    "g": 66,
    "b": 86
  },
  "hsl": {
    "h": 348.571,
    "s": 44.304,
    "l": 46.471
  },
  "oklch": {
    "l": 0.52699,
    "c": 0.13819,
    "h": 11.6
  },
  "luminance": 0.13226
}

Semantic roles & 50–950 ramp

primary
#AB4256
secondary
#88C0B6
accent
#D4BC54
background
#FCF7F8
surface
#F9EEEF
border
#D2C9CA
text
#140A0B
muted
#827C7C

Preview Lab

Preview with #AB4256

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

Preview Lab → · Contrast checker → · Palette generator →

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