#AB2F5A#AB2F5A

#AB2F5A is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.6% C 0.163 H 4.1°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#AB2F5A
RGBrgb(171, 47, 90)
HSLhsl(339, 57%, 43%)
HSVhsv(339, 73%, 67%)
CMYKcmyk(0%, 72.5%, 47.4%, 32.9%)
CIE-LABlab(40.30, 53.03, 4.37)
CIE-LCHlch(40.30, 53.21, 4.71°)
OKLaboklab(50.64% 0.1622 0.0117)
OKLCHoklch(50.64% 0.163 4.1)
XYZxyz(19.6582, 11.4317, 10.8422)
Luminance0.1143 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2F5A #2FAB80
analogous
#AB2F98 #AB2F5A #AB422F
triadic
#AB2F5A #5AAB2F #2F5AAB
tetradic
#AB2F5A #98AB2F #2FAB80 #422FAB
square
#AB2F5A #98AB2F #2FAB80 #422FAB
split-complementary
#AB2F5A #2FAB42 #2F98AB
monochromatic
#4B1527 #7B2241 #AB2F5A #CD4A77 #DA7A9B

Accessibility & contrast

On white

6.39
#AB2F5A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#AB2F5A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2F5A
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2F5A#FFFFFF#000000##FFFFFF
##AB2F5A1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4F5B
Deuteranopia (green-blind)
#6C6857
Tritanopia (blue-blind)
#BA1941
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #ab2f5a;
/* rgb */ color: rgb(171, 47, 90);
/* oklch */ color: oklch(50.6% 0.163 4.1);
Tailwind
colors: {
  custom: {
    50: '#c97288',
    500: '#ab2f5a',
    950: '#000000',
  },
}
SCSS
$custom: #ab2f5a;
$custom-light: #c97288;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2f5a",
  "rgb": {
    "r": 171,
    "g": 47,
    "b": 90
  },
  "hsl": {
    "h": 339.194,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50644,
    "c": 0.16259,
    "h": 4.1
  },
  "luminance": 0.11429
}

Semantic roles & 50–950 ramp

primary
#AB2F5A
secondary
#73C3A7
accent
#E0AB48
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14080B
muted
#837B7C

Preview Lab

Preview with #AB2F5A

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

Preview Lab → · Contrast checker → · Palette generator →

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