#AB2F86#AB2F86

#AB2F86 is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.3% C 0.183 H 342.4°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#AB2F86
RGBrgb(171, 47, 134)
HSLhsl(318, 57%, 43%)
HSVhsv(318, 73%, 67%)
CMYKcmyk(0%, 72.5%, 21.6%, 32.9%)
CIE-LABlab(41.87, 58.10, -20.67)
CIE-LCHlch(41.87, 61.67, 340.41°)
OKLaboklab(52.31% 0.1745 -0.0554)
OKLCHoklch(52.31% 0.183 342.4)
XYZxyz(22.1149, 12.4144, 23.7812)
Luminance0.1241 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2F86 #2FAB54
analogous
#922FAB #AB2F86 #AB2F48
triadic
#AB2F86 #86AB2F #2F86AB
tetradic
#AB2F86 #AB922F #2FAB54 #2F48AB
square
#AB2F86 #AB922F #2FAB54 #2F48AB
split-complementary
#AB2F86 #48AB2F #2FAB92
monochromatic
#4B153B #7B2260 #AB2F86 #CD4AA6 #DA7ABE

Accessibility & contrast

On white

6.03
#AB2F86 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#AB2F86 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2F86
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2F86#FFFFFF#000000##FFFFFF
##AB2F861.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5688
Deuteranopia (green-blind)
#616A83
Tritanopia (blue-blind)
#B63056
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ab2f86;
/* rgb */ color: rgb(171, 47, 134);
/* oklch */ color: oklch(52.3% 0.183 342.4);
Tailwind
colors: {
  custom: {
    50: '#c873a9',
    500: '#ab2f86',
    950: '#000000',
  },
}
SCSS
$custom: #ab2f86;
$custom-light: #c873a9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2f86",
  "rgb": {
    "r": 171,
    "g": 47,
    "b": 134
  },
  "hsl": {
    "h": 317.903,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.52308,
    "c": 0.18308,
    "h": 342.4
  },
  "luminance": 0.12412
}

Semantic roles & 50–950 ramp

primary
#AB2F86
secondary
#73C38B
accent
#E07548
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AB2F86

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

Preview Lab → · Contrast checker → · Palette generator →

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