#AB2D95#AB2D95

#AB2D95 is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.9% C 0.195 H 336.1°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#AB2D95
RGBrgb(171, 45, 149)
HSLhsl(310, 58%, 42%)
HSVhsv(310, 74%, 67%)
CMYKcmyk(0%, 73.7%, 12.9%, 32.9%)
CIE-LABlab(42.32, 60.92, -29.10)
CIE-LCHlch(42.32, 67.51, 334.47°)
OKLaboklab(52.86% 0.1786 -0.0793)
OKLCHoklch(52.86% 0.195 336.1)
XYZxyz(23.1581, 12.7067, 29.6609)
Luminance0.1270 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2D95 #2DAB43
analogous
#822DAB #AB2D95 #AB2D56
triadic
#AB2D95 #95AB2D #2D95AB
tetradic
#AB2D95 #AB822D #2DAB43 #2D56AB
square
#AB2D95 #AB822D #2DAB43 #2D56AB
split-complementary
#AB2D95 #56AB2D #2DAB82
monochromatic
#4A1441 #7B206B #AB2D95 #CE47B7 #DB77CA

Accessibility & contrast

On white

5.93
#AB2D95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#AB2D95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2D95
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2D95#FFFFFF#000000##FFFFFF
##AB2D951.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5898
Deuteranopia (green-blind)
#5B6B92
Tritanopia (blue-blind)
#B4365E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ab2d95;
/* rgb */ color: rgb(171, 45, 149);
/* oklch */ color: oklch(52.9% 0.195 336.1);
Tailwind
colors: {
  custom: {
    50: '#c873b4',
    500: '#ab2d95',
    950: '#000000',
  },
}
SCSS
$custom: #ab2d95;
$custom-light: #c873b4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2d95",
  "rgb": {
    "r": 171,
    "g": 45,
    "b": 149
  },
  "hsl": {
    "h": 310.476,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52859,
    "c": 0.19545,
    "h": 336.1
  },
  "luminance": 0.12705
}

Semantic roles & 50–950 ramp

primary
#AB2D95
secondary
#71C37F
accent
#E26146
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AB2D95

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

Preview Lab → · Contrast checker → · Palette generator →

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