#AB4293#AB4293

#AB4293 is a mid, vivid pink. Relative luminance 0.147; OKLCH L 54.9% C 0.167 H 337.6°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#AB4293
RGBrgb(171, 66, 147)
HSLhsl(314, 44%, 46%)
HSVhsv(314, 61%, 67%)
CMYKcmyk(0%, 61.4%, 14%, 32.9%)
CIE-LABlab(45.17, 52.41, -23.46)
CIE-LCHlch(45.17, 57.42, 335.89°)
OKLaboklab(54.9% 0.154 -0.0635)
OKLCHoklch(54.9% 0.167 337.6)
XYZxyz(24.0096, 14.6629, 29.1638)
Luminance0.1466 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4293 #42AB5A
analogous
#8F42AB #AB4293 #AB425F
triadic
#AB4293 #93AB42 #4293AB
tetradic
#AB4293 #AB8F42 #42AB5A #425FAB
square
#AB4293 #AB8F42 #42AB5A #425FAB
split-complementary
#AB4293 #5FAB42 #42AB8F
monochromatic
#532047 #7F316D #AB4293 #C466AF #D592C6

Accessibility & contrast

On white

5.34
#AB4293 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB4293
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4293#FFFFFF#000000##FFFFFF
##AB42931.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#456195
Deuteranopia (green-blind)
#657190
Tritanopia (blue-blind)
#B44664
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ab4293;
/* rgb */ color: rgb(171, 66, 147);
/* oklch */ color: oklch(54.9% 0.167 337.6);
Tailwind
colors: {
  custom: {
    50: '#c77db3',
    500: '#ab4293',
    950: '#000000',
  },
}
SCSS
$custom: #ab4293;
$custom-light: #c77db3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4293",
  "rgb": {
    "r": 171,
    "g": 66,
    "b": 147
  },
  "hsl": {
    "h": 313.714,
    "s": 44.304,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54904,
    "c": 0.16652,
    "h": 337.6
  },
  "luminance": 0.14661
}

Semantic roles & 50–950 ramp

primary
#AB4293
secondary
#88C095
accent
#D47154
background
#FCF7FB
surface
#F8EEF6
border
#D1C9D0
text
#130A11
muted
#827C80

Preview Lab

Preview with #AB4293

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

Preview Lab → · Contrast checker → · Palette generator →

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