#AB2F85#AB2F85

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

Color values

HEX#AB2F85
RGBrgb(171, 47, 133)
HSLhsl(318, 57%, 43%)
HSVhsv(318, 73%, 67%)
CMYKcmyk(0%, 72.5%, 22.2%, 32.9%)
CIE-LABlab(41.82, 57.96, -20.13)
CIE-LCHlch(41.82, 61.36, 340.85°)
OKLaboklab(52.26% 0.1743 -0.0539)
OKLCHoklch(52.26% 0.182 342.8)
XYZxyz(22.0455, 12.3867, 23.4156)
Luminance0.1238 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2F85 #2FAB55
analogous
#932FAB #AB2F85 #AB2F47
triadic
#AB2F85 #85AB2F #2F85AB
tetradic
#AB2F85 #AB932F #2FAB55 #2F47AB
square
#AB2F85 #AB932F #2FAB55 #2F47AB
split-complementary
#AB2F85 #47AB2F #2FAB93
monochromatic
#4B153A #7B2260 #AB2F85 #CD4AA5 #DA7ABD

Accessibility & contrast

On white

6.04
#AB2F85 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB2F85
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2F85#FFFFFF#000000##FFFFFF
##AB2F851.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab2f85;
/* rgb */ color: rgb(171, 47, 133);
/* oklch */ color: oklch(52.3% 0.182 342.8);
Tailwind
colors: {
  custom: {
    50: '#c873a8',
    500: '#ab2f85',
    950: '#000000',
  },
}
SCSS
$custom: #ab2f85;
$custom-light: #c873a8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2f85",
  "rgb": {
    "r": 171,
    "g": 47,
    "b": 133
  },
  "hsl": {
    "h": 318.387,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.52262,
    "c": 0.18244,
    "h": 342.8
  },
  "luminance": 0.12384
}

Semantic roles & 50–950 ramp

primary
#AB2F85
secondary
#73C38B
accent
#E07648
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AB2F85

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

Preview Lab → · Contrast checker → · Palette generator →

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