#AB2F79#AB2F79

#AB2F79 is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.7% C 0.175 H 348.3°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#AB2F79
RGBrgb(171, 47, 121)
HSLhsl(324, 57%, 43%)
HSVhsv(324, 73%, 67%)
CMYKcmyk(0%, 72.5%, 29.2%, 32.9%)
CIE-LABlab(41.33, 56.40, -13.49)
CIE-LCHlch(41.33, 57.99, 346.55°)
OKLaboklab(51.74% 0.1718 -0.0354)
OKLCHoklch(51.74% 0.175 348.3)
XYZxyz(21.2633, 12.0738, 19.2961)
Luminance0.1207 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2F79 #2FAB61
analogous
#9F2FAB #AB2F79 #AB2F3B
triadic
#AB2F79 #79AB2F #2F79AB
tetradic
#AB2F79 #AB9F2F #2FAB61 #2F3BAB
square
#AB2F79 #AB9F2F #2FAB61 #2F3BAB
split-complementary
#AB2F79 #3BAB2F #2FAB9F
monochromatic
#4B1535 #7B2257 #AB2F79 #CD4A98 #DA7AB4

Accessibility & contrast

On white

6.15
#AB2F79 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#AB2F79 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2F79
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2F79#FFFFFF#000000##FFFFFF
##AB2F791.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41547B
Deuteranopia (green-blind)
#656976
Tritanopia (blue-blind)
#B72A50
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ab2f79;
/* rgb */ color: rgb(171, 47, 121);
/* oklch */ color: oklch(51.7% 0.175 348.3);
Tailwind
colors: {
  custom: {
    50: '#c8729f',
    500: '#ab2f79',
    950: '#000000',
  },
}
SCSS
$custom: #ab2f79;
$custom-light: #c8729f;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2f79",
  "rgb": {
    "r": 171,
    "g": 47,
    "b": 121
  },
  "hsl": {
    "h": 324.194,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51743,
    "c": 0.17537,
    "h": 348.3
  },
  "luminance": 0.12071
}

Semantic roles & 50–950 ramp

primary
#AB2F79
secondary
#73C393
accent
#E08548
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AB2F79

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

Preview Lab → · Contrast checker → · Palette generator →

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