#AB2C93#AB2C93

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

Color values

HEX#AB2C93
RGBrgb(171, 44, 147)
HSLhsl(311, 59%, 42%)
HSVhsv(311, 74%, 67%)
CMYKcmyk(0%, 74.3%, 14%, 32.9%)
CIE-LABlab(42.10, 60.95, -28.22)
CIE-LCHlch(42.10, 67.17, 335.15°)
OKLaboklab(52.67% 0.1794 -0.0768)
OKLCHoklch(52.67% 0.195 336.8)
XYZxyz(22.9621, 12.5680, 28.8146)
Luminance0.1257 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2C93 #2CAB44
analogous
#842CAB #AB2C93 #AB2C53
triadic
#AB2C93 #93AB2C #2C93AB
tetradic
#AB2C93 #AB842C #2CAB44 #2C53AB
square
#AB2C93 #AB842C #2CAB44 #2C53AB
split-complementary
#AB2C93 #53AB2C #2CAB84
monochromatic
#4A133F #7A1F69 #AB2C93 #CF45B5 #DC76C8

Accessibility & contrast

On white

5.98
#AB2C93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#AB2C93 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2C93
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2C93#FFFFFF#000000##FFFFFF
##AB2C931.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5796
Deuteranopia (green-blind)
#5B6A90
Tritanopia (blue-blind)
#B4345C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ab2c93;
/* rgb */ color: rgb(171, 44, 147);
/* oklch */ color: oklch(52.7% 0.195 336.8);
Tailwind
colors: {
  custom: {
    50: '#c872b3',
    500: '#ab2c93',
    950: '#000000',
  },
}
SCSS
$custom: #ab2c93;
$custom-light: #c872b3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2c93",
  "rgb": {
    "r": 171,
    "g": 44,
    "b": 147
  },
  "hsl": {
    "h": 311.339,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52674,
    "c": 0.19516,
    "h": 336.8
  },
  "luminance": 0.12566
}

Semantic roles & 50–950 ramp

primary
#AB2C93
secondary
#6FC37F
accent
#E26346
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AB2C93

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

Preview Lab → · Contrast checker → · Palette generator →

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