#AB4294#AB4294

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

Color values

HEX#AB4294
RGBrgb(171, 66, 148)
HSLhsl(313, 44%, 46%)
HSVhsv(313, 61%, 67%)
CMYKcmyk(0%, 61.4%, 13.5%, 32.9%)
CIE-LABlab(45.21, 52.57, -23.99)
CIE-LCHlch(45.21, 57.78, 335.47°)
OKLaboklab(54.95% 0.1541 -0.065)
OKLCHoklch(54.95% 0.167 337.1)
XYZxyz(24.0884, 14.6944, 29.5789)
Luminance0.1469 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4294 #42AB59
analogous
#8E42AB #AB4294 #AB4260
triadic
#AB4294 #94AB42 #4294AB
tetradic
#AB4294 #AB8E42 #42AB59 #4260AB
square
#AB4294 #AB8E42 #42AB59 #4260AB
split-complementary
#AB4294 #60AB42 #42AB8E
monochromatic
#532048 #7F316E #AB4294 #C466AF #D592C6

Accessibility & contrast

On white

5.33
#AB4294 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#AB4294 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4294
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4294#FFFFFF#000000##FFFFFF
##AB42941.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#456197
Deuteranopia (green-blind)
#657191
Tritanopia (blue-blind)
#B44765
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ab4294;
/* rgb */ color: rgb(171, 66, 148);
/* oklch */ color: oklch(55.0% 0.167 337.1);
Tailwind
colors: {
  custom: {
    50: '#c77db3',
    500: '#ab4294',
    950: '#000000',
  },
}
SCSS
$custom: #ab4294;
$custom-light: #c77db3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4294",
  "rgb": {
    "r": 171,
    "g": 66,
    "b": 148
  },
  "hsl": {
    "h": 313.143,
    "s": 44.304,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54951,
    "c": 0.16727,
    "h": 337.1
  },
  "luminance": 0.14692
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB4294

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

Preview Lab → · Contrast checker → · Palette generator →

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