#AB2F62#AB2F62

#AB2F62 is a mid, vivid pink. Relative luminance 0.116; OKLCH L 50.9% C 0.165 H 359.9°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#AB2F62
RGBrgb(171, 47, 98)
HSLhsl(335, 57%, 43%)
HSVhsv(335, 73%, 67%)
CMYKcmyk(0%, 72.5%, 42.7%, 32.9%)
CIE-LABlab(40.53, 53.80, -0.33)
CIE-LCHlch(40.53, 53.80, 359.65°)
OKLaboklab(50.89% 0.165 -0.0002)
OKLCHoklch(50.89% 0.165 359.9)
XYZxyz(20.0172, 11.5753, 12.7331)
Luminance0.1157 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2F62 #2FAB78
analogous
#AB2FA0 #AB2F62 #AB3A2F
triadic
#AB2F62 #62AB2F #2F62AB
tetradic
#AB2F62 #A0AB2F #2FAB78 #3A2FAB
square
#AB2F62 #A0AB2F #2FAB78 #3A2FAB
split-complementary
#AB2F62 #2FAB3A #2FA0AB
monochromatic
#4B152B #7B2246 #AB2F62 #CD4A80 #DA7AA2

Accessibility & contrast

On white

6.34
#AB2F62 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#AB2F62 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2F62
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2F62#FFFFFF#000000##FFFFFF
##AB2F621.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495063
Deuteranopia (green-blind)
#6B685F
Tritanopia (blue-blind)
#B91D45
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ab2f62;
/* rgb */ color: rgb(171, 47, 98);
/* oklch */ color: oklch(50.9% 0.165 359.9);
Tailwind
colors: {
  custom: {
    50: '#c9728e',
    500: '#ab2f62',
    950: '#000000',
  },
}
SCSS
$custom: #ab2f62;
$custom-light: #c9728e;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2f62",
  "rgb": {
    "r": 171,
    "g": 47,
    "b": 98
  },
  "hsl": {
    "h": 335.323,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50894,
    "c": 0.165,
    "h": 359.9
  },
  "luminance": 0.11573
}

Semantic roles & 50–950 ramp

primary
#AB2F62
secondary
#73C3A2
accent
#E0A148
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #AB2F62

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

Preview Lab → · Contrast checker → · Palette generator →

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