#AB2F89#AB2F89

#AB2F89 is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.4% C 0.185 H 341.1°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#AB2F89
RGBrgb(171, 47, 137)
HSLhsl(316, 57%, 43%)
HSVhsv(316, 73%, 67%)
CMYKcmyk(0%, 72.5%, 19.9%, 32.9%)
CIE-LABlab(42.00, 58.51, -22.30)
CIE-LCHlch(42.00, 62.62, 339.13°)
OKLaboklab(52.45% 0.175 -0.06)
OKLCHoklch(52.45% 0.185 341.1)
XYZxyz(22.3271, 12.4993, 24.8988)
Luminance0.1250 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2F89 #2FAB51
analogous
#8F2FAB #AB2F89 #AB2F4B
triadic
#AB2F89 #89AB2F #2F89AB
tetradic
#AB2F89 #AB8F2F #2FAB51 #2F4BAB
square
#AB2F89 #AB8F2F #2FAB51 #2F4BAB
split-complementary
#AB2F89 #4BAB2F #2FAB8F
monochromatic
#4B153C #7B2263 #AB2F89 #CD4AA9 #DA7AC0

Accessibility & contrast

On white

6.00
#AB2F89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#AB2F89 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2F89
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2F89#FFFFFF#000000##FFFFFF
##AB2F891.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39568C
Deuteranopia (green-blind)
#606A86
Tritanopia (blue-blind)
#B53258
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ab2f89;
/* rgb */ color: rgb(171, 47, 137);
/* oklch */ color: oklch(52.4% 0.185 341.1);
Tailwind
colors: {
  custom: {
    50: '#c873ab',
    500: '#ab2f89',
    950: '#000000',
  },
}
SCSS
$custom: #ab2f89;
$custom-light: #c873ab;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2f89",
  "rgb": {
    "r": 171,
    "g": 47,
    "b": 137
  },
  "hsl": {
    "h": 316.452,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.52446,
    "c": 0.18501,
    "h": 341.1
  },
  "luminance": 0.12497
}

Semantic roles & 50–950 ramp

primary
#AB2F89
secondary
#73C389
accent
#E07148
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AB2F89

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

Preview Lab → · Contrast checker → · Palette generator →

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