#AB2F93#AB2F93

#AB2F93 is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.9% C 0.192 H 336.9°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#AB2F93
RGBrgb(171, 47, 147)
HSLhsl(312, 57%, 43%)
HSVhsv(312, 73%, 67%)
CMYKcmyk(0%, 72.5%, 14%, 32.9%)
CIE-LABlab(42.46, 59.95, -27.67)
CIE-LCHlch(42.46, 66.03, 335.22°)
OKLaboklab(52.93% 0.1764 -0.0753)
OKLCHoklch(52.93% 0.192 336.9)
XYZxyz(23.0780, 12.7996, 28.8533)
Luminance0.1280 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2F93 #2FAB47
analogous
#852FAB #AB2F93 #AB2F55
triadic
#AB2F93 #93AB2F #2F93AB
tetradic
#AB2F93 #AB852F #2FAB47 #2F55AB
square
#AB2F93 #AB852F #2FAB47 #2F55AB
split-complementary
#AB2F93 #55AB2F #2FAB85
monochromatic
#4B1540 #7B226A #AB2F93 #CD4AB4 #DA7AC8

Accessibility & contrast

On white

5.90
#AB2F93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#AB2F93 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2F93
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2F93#FFFFFF#000000##FFFFFF
##AB2F931.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325896
Deuteranopia (green-blind)
#5C6B90
Tritanopia (blue-blind)
#B4375D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ab2f93;
/* rgb */ color: rgb(171, 47, 147);
/* oklch */ color: oklch(52.9% 0.192 336.9);
Tailwind
colors: {
  custom: {
    50: '#c873b3',
    500: '#ab2f93',
    950: '#000000',
  },
}
SCSS
$custom: #ab2f93;
$custom-light: #c873b3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2f93",
  "rgb": {
    "r": 171,
    "g": 47,
    "b": 147
  },
  "hsl": {
    "h": 311.613,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.5293,
    "c": 0.19177,
    "h": 336.9
  },
  "luminance": 0.12798
}

Semantic roles & 50–950 ramp

primary
#AB2F93
secondary
#73C382
accent
#E06548
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AB2F93

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

Preview Lab → · Contrast checker → · Palette generator →

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