#AB2D93#AB2D93

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

Color values

HEX#AB2D93
RGBrgb(171, 45, 147)
HSLhsl(311, 58%, 42%)
HSVhsv(311, 74%, 67%)
CMYKcmyk(0%, 73.7%, 14%, 32.9%)
CIE-LABlab(42.22, 60.62, -28.04)
CIE-LCHlch(42.22, 66.80, 335.18°)
OKLaboklab(52.76% 0.1784 -0.0763)
OKLCHoklch(52.76% 0.194 336.8)
XYZxyz(22.9998, 12.6434, 28.8272)
Luminance0.1264 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2D93 #2DAB45
analogous
#842DAB #AB2D93 #AB2D54
triadic
#AB2D93 #93AB2D #2D93AB
tetradic
#AB2D93 #AB842D #2DAB45 #2D54AB
square
#AB2D93 #AB842D #2DAB45 #2D54AB
split-complementary
#AB2D93 #54AB2D #2DAB84
monochromatic
#4A1440 #7B2069 #AB2D93 #CE47B5 #DB77C8

Accessibility & contrast

On white

5.95
#AB2D93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB2D93
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2D93#FFFFFF#000000##FFFFFF
##AB2D931.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305796
Deuteranopia (green-blind)
#5B6A90
Tritanopia (blue-blind)
#B4355D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ab2d93;
/* rgb */ color: rgb(171, 45, 147);
/* oklch */ color: oklch(52.8% 0.194 336.8);
Tailwind
colors: {
  custom: {
    50: '#c872b3',
    500: '#ab2d93',
    950: '#000000',
  },
}
SCSS
$custom: #ab2d93;
$custom-light: #c872b3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2d93",
  "rgb": {
    "r": 171,
    "g": 45,
    "b": 147
  },
  "hsl": {
    "h": 311.429,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52758,
    "c": 0.19404,
    "h": 336.8
  },
  "luminance": 0.12641
}

Semantic roles & 50–950 ramp

primary
#AB2D93
secondary
#71C380
accent
#E26446
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AB2D93

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

Preview Lab → · Contrast checker → · Palette generator →

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