#AB2F52#AB2F52

#AB2F52 is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.4% C 0.161 H 8.4°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#AB2F52
RGBrgb(171, 47, 82)
HSLhsl(343, 57%, 43%)
HSVhsv(343, 73%, 67%)
CMYKcmyk(0%, 72.5%, 52%, 32.9%)
CIE-LABlab(40.09, 52.32, 9.11)
CIE-LCHlch(40.09, 53.10, 9.88°)
OKLaboklab(50.42% 0.1592 0.0234)
OKLCHoklch(50.42% 0.161 8.4)
XYZxyz(19.3358, 11.3028, 9.1445)
Luminance0.1130 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2F52 #2FAB88
analogous
#AB2F90 #AB2F52 #AB4A2F
triadic
#AB2F52 #52AB2F #2F52AB
tetradic
#AB2F52 #90AB2F #2FAB88 #4A2FAB
square
#AB2F52 #90AB2F #2FAB88 #4A2FAB
split-complementary
#AB2F52 #2FAB4A #2F90AB
monochromatic
#4B1524 #7B223B #AB2F52 #CD4A6F #DA7A95

Accessibility & contrast

On white

6.44
#AB2F52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#AB2F52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2F52
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2F52#FFFFFF#000000##FFFFFF
##AB2F521.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4F53
Deuteranopia (green-blind)
#6E684F
Tritanopia (blue-blind)
#BB143D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ab2f52;
/* rgb */ color: rgb(171, 47, 82);
/* oklch */ color: oklch(50.4% 0.161 8.4);
Tailwind
colors: {
  custom: {
    50: '#ca7182',
    500: '#ab2f52',
    950: '#000000',
  },
}
SCSS
$custom: #ab2f52;
$custom-light: #ca7182;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2f52",
  "rgb": {
    "r": 171,
    "g": 47,
    "b": 82
  },
  "hsl": {
    "h": 343.065,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50418,
    "c": 0.16088,
    "h": 8.4
  },
  "luminance": 0.113
}

Semantic roles & 50–950 ramp

primary
#AB2F52
secondary
#73C3AC
accent
#E0B548
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#14080A
muted
#837B7C

Preview Lab

Preview with #AB2F52

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

Preview Lab → · Contrast checker → · Palette generator →

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