#AB4297#AB4297

#AB4297 is a mid, vivid pink. Relative luminance 0.148; OKLCH L 55.1% C 0.170 H 335.8°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#AB4297
RGBrgb(171, 66, 151)
HSLhsl(311, 44%, 46%)
HSVhsv(311, 61%, 67%)
CMYKcmyk(0%, 61.4%, 11.7%, 32.9%)
CIE-LABlab(45.35, 53.04, -25.58)
CIE-LCHlch(45.35, 58.89, 334.25°)
OKLaboklab(55.09% 0.1547 -0.0695)
OKLCHoklch(55.09% 0.17 335.8)
XYZxyz(24.3289, 14.7907, 30.8457)
Luminance0.1479 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4297 #42AB56
analogous
#8B42AB #AB4297 #AB4263
triadic
#AB4297 #97AB42 #4297AB
tetradic
#AB4297 #AB8B42 #42AB56 #4263AB
square
#AB4297 #AB8B42 #42AB56 #4263AB
split-complementary
#AB4297 #63AB42 #42AB8B
monochromatic
#532049 #7F3170 #AB4297 #C466B2 #D592C8

Accessibility & contrast

On white

5.31
#AB4297 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#AB4297 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4297
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4297#FFFFFF#000000##FFFFFF
##AB42971.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43619A
Deuteranopia (green-blind)
#637194
Tritanopia (blue-blind)
#B34866
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ab4297;
/* rgb */ color: rgb(171, 66, 151);
/* oklch */ color: oklch(55.1% 0.170 335.8);
Tailwind
colors: {
  custom: {
    50: '#c77db6',
    500: '#ab4297',
    950: '#000000',
  },
}
SCSS
$custom: #ab4297;
$custom-light: #c77db6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4297",
  "rgb": {
    "r": 171,
    "g": 66,
    "b": 151
  },
  "hsl": {
    "h": 311.429,
    "s": 44.304,
    "l": 46.471
  },
  "oklch": {
    "l": 0.55092,
    "c": 0.16955,
    "h": 335.8
  },
  "luminance": 0.14789
}

Semantic roles & 50–950 ramp

primary
#AB4297
secondary
#88C093
accent
#D46C54
background
#FCF7FB
surface
#F8EEF6
border
#D1C9D0
text
#130A11
muted
#827C80

Preview Lab

Preview with #AB4297

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

Preview Lab → · Contrast checker → · Palette generator →

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