#AB2C95#AB2C95

#AB2C95 is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.8% C 0.197 H 336.0°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#AB2C95
RGBrgb(171, 44, 149)
HSLhsl(310, 59%, 42%)
HSVhsv(310, 74%, 67%)
CMYKcmyk(0%, 74.3%, 12.9%, 32.9%)
CIE-LABlab(42.20, 61.25, -29.28)
CIE-LCHlch(42.20, 67.89, 334.45°)
OKLaboklab(52.78% 0.1796 -0.0798)
OKLCHoklch(52.78% 0.197 336)
XYZxyz(23.1204, 12.6313, 29.6484)
Luminance0.1263 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2C95 #2CAB42
analogous
#822CAB #AB2C95 #AB2C55
triadic
#AB2C95 #95AB2C #2C95AB
tetradic
#AB2C95 #AB822C #2CAB42 #2C55AB
square
#AB2C95 #AB822C #2CAB42 #2C55AB
split-complementary
#AB2C95 #55AB2C #2CAB82
monochromatic
#4A1340 #7A1F6B #AB2C95 #CF45B7 #DC76CA

Accessibility & contrast

On white

5.96
#AB2C95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#AB2C95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2C95
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2C95#FFFFFF#000000##FFFFFF
##AB2C951.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5798
Deuteranopia (green-blind)
#5A6A92
Tritanopia (blue-blind)
#B4355D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ab2c95;
/* rgb */ color: rgb(171, 44, 149);
/* oklch */ color: oklch(52.8% 0.197 336.0);
Tailwind
colors: {
  custom: {
    50: '#c872b4',
    500: '#ab2c95',
    950: '#000000',
  },
}
SCSS
$custom: #ab2c95;
$custom-light: #c872b4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2c95",
  "rgb": {
    "r": 171,
    "g": 44,
    "b": 149
  },
  "hsl": {
    "h": 310.394,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52776,
    "c": 0.19655,
    "h": 336
  },
  "luminance": 0.12629
}

Semantic roles & 50–950 ramp

primary
#AB2C95
secondary
#6FC37E
accent
#E26146
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AB2C95

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

Preview Lab → · Contrast checker → · Palette generator →

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