#AB4292#AB4292

#AB4292 is a mid, vivid pink. Relative luminance 0.146; OKLCH L 54.9% C 0.166 H 338.1°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#AB4292
RGBrgb(171, 66, 146)
HSLhsl(314, 44%, 46%)
HSVhsv(314, 61%, 67%)
CMYKcmyk(0%, 61.4%, 14.6%, 32.9%)
CIE-LABlab(45.13, 52.26, -22.92)
CIE-LCHlch(45.13, 57.06, 336.31°)
OKLaboklab(54.86% 0.1538 -0.0619)
OKLCHoklch(54.86% 0.166 338.1)
XYZxyz(23.9315, 14.6317, 28.7523)
Luminance0.1463 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4292 #42AB5B
analogous
#9042AB #AB4292 #AB425E
triadic
#AB4292 #92AB42 #4292AB
tetradic
#AB4292 #AB9042 #42AB5B #425EAB
square
#AB4292 #AB9042 #42AB5B #425EAB
split-complementary
#AB4292 #5EAB42 #42AB90
monochromatic
#532047 #7F316C #AB4292 #C466AE #D592C5

Accessibility & contrast

On white

5.35
#AB4292 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#AB4292 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4292
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4292#FFFFFF#000000##FFFFFF
##AB42921.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#466094
Deuteranopia (green-blind)
#65718F
Tritanopia (blue-blind)
#B44664
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ab4292;
/* rgb */ color: rgb(171, 66, 146);
/* oklch */ color: oklch(54.9% 0.166 338.1);
Tailwind
colors: {
  custom: {
    50: '#c77db2',
    500: '#ab4292',
    950: '#000000',
  },
}
SCSS
$custom: #ab4292;
$custom-light: #c77db2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4292",
  "rgb": {
    "r": 171,
    "g": 66,
    "b": 146
  },
  "hsl": {
    "h": 314.286,
    "s": 44.304,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54858,
    "c": 0.16579,
    "h": 338.1
  },
  "luminance": 0.1463
}

Semantic roles & 50–950 ramp

primary
#AB4292
secondary
#88C096
accent
#D47254
background
#FCF7FA
surface
#F8EEF5
border
#D1C9CF
text
#130A11
muted
#827C80

Preview Lab

Preview with #AB4292

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

Preview Lab → · Contrast checker → · Palette generator →

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