#AB4B95#AB4B95

#AB4B95 is a mid, vivid pink. Relative luminance 0.159; OKLCH L 56.1% C 0.154 H 337.2°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#AB4B95
RGBrgb(171, 75, 149)
HSLhsl(314, 39%, 48%)
HSVhsv(314, 56%, 67%)
CMYKcmyk(0%, 56.1%, 12.9%, 32.9%)
CIE-LABlab(46.79, 48.57, -22.15)
CIE-LCHlch(46.79, 53.38, 335.49°)
OKLaboklab(56.13% 0.142 -0.0598)
OKLCHoklch(56.13% 0.154 337.2)
XYZxyz(24.7357, 15.8619, 30.1868)
Luminance0.1586 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4B95 #4BAB61
analogous
#914BAB #AB4B95 #AB4B65
triadic
#AB4B95 #95AB4B #4B95AB
tetradic
#AB4B95 #AB914B #4BAB61 #4B65AB
square
#AB4B95 #AB914B #4BAB61 #4B65AB
split-complementary
#AB4B95 #65AB4B #4BAB91
monochromatic
#56264B #803870 #AB4B95 #C172AF #D49DC7

Accessibility & contrast

On white

5.03
#AB4B95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#AB4B95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4B95
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4B95#FFFFFF#000000##FFFFFF
##AB4B951.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D6697
Deuteranopia (green-blind)
#697492
Tritanopia (blue-blind)
#B34F69
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ab4b95;
/* rgb */ color: rgb(171, 75, 149);
/* oklch */ color: oklch(56.1% 0.154 337.2);
Tailwind
colors: {
  custom: {
    50: '#c682b4',
    500: '#ab4b95',
    950: '#000000',
  },
}
SCSS
$custom: #ab4b95;
$custom-light: #c682b4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4b95",
  "rgb": {
    "r": 171,
    "g": 75,
    "b": 149
  },
  "hsl": {
    "h": 313.75,
    "s": 39.024,
    "l": 48.235
  },
  "oklch": {
    "l": 0.56128,
    "c": 0.15413,
    "h": 337.2
  },
  "luminance": 0.1586
}

Semantic roles & 50–950 ramp

primary
#AB4B95
secondary
#91C09C
accent
#CF7459
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#130B11
muted
#827C80

Preview Lab

Preview with #AB4B95

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

Preview Lab → · Contrast checker → · Palette generator →

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