#AB4E95#AB4E95

#AB4E95 is a mid, vivid pink. Relative luminance 0.163; OKLCH L 56.5% C 0.149 H 337.3°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#AB4E95
RGBrgb(171, 78, 149)
HSLhsl(314, 37%, 49%)
HSVhsv(314, 54%, 67%)
CMYKcmyk(0%, 54.4%, 12.9%, 32.9%)
CIE-LABlab(47.34, 47.11, -21.31)
CIE-LCHlch(47.34, 51.71, 335.66°)
OKLaboklab(56.53% 0.1378 -0.0575)
OKLCHoklch(56.53% 0.149 337.3)
XYZxyz(24.9440, 16.2785, 30.2562)
Luminance0.1628 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4E95 #4EAB64
analogous
#934EAB #AB4E95 #AB4E67
triadic
#AB4E95 #95AB4E #4E95AB
tetradic
#AB4E95 #AB934E #4EAB64 #4E67AB
square
#AB4E95 #AB934E #4EAB64 #4E67AB
split-complementary
#AB4E95 #67AB4E #4EAB93
monochromatic
#57284C #813B70 #AB4E95 #C076AF #D4A0C7

Accessibility & contrast

On white

4.93
#AB4E95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#AB4E95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4E95
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4E95#FFFFFF#000000##FFFFFF
##AB4E951.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#506797
Deuteranopia (green-blind)
#6B7693
Tritanopia (blue-blind)
#B3526B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ab4e95;
/* rgb */ color: rgb(171, 78, 149);
/* oklch */ color: oklch(56.5% 0.149 337.3);
Tailwind
colors: {
  custom: {
    50: '#c684b4',
    500: '#ab4e95',
    950: '#000000',
  },
}
SCSS
$custom: #ab4e95;
$custom-light: #c684b4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4e95",
  "rgb": {
    "r": 171,
    "g": 78,
    "b": 149
  },
  "hsl": {
    "h": 314.194,
    "s": 37.349,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56531,
    "c": 0.14927,
    "h": 337.3
  },
  "luminance": 0.16277
}

Semantic roles & 50–950 ramp

primary
#AB4E95
secondary
#94C19F
accent
#CD765A
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#130B11
muted
#827C80

Preview Lab

Preview with #AB4E95

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

Preview Lab → · Contrast checker → · Palette generator →

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