#AB2B59#AB2B59

#AB2B59 is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.2% C 0.167 H 3.9°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#AB2B59
RGBrgb(171, 43, 89)
HSLhsl(338, 60%, 42%)
HSVhsv(338, 75%, 67%)
CMYKcmyk(0%, 74.9%, 48%, 32.9%)
CIE-LABlab(39.76, 54.35, 4.23)
CIE-LCHlch(39.76, 54.51, 4.45°)
OKLaboklab(50.24% 0.1663 0.0114)
OKLCHoklch(50.24% 0.167 3.9)
XYZxyz(19.4633, 11.1096, 10.5687)
Luminance0.1111 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2B59 #2BAB7D
analogous
#AB2B99 #AB2B59 #AB3D2B
triadic
#AB2B59 #59AB2B #2B59AB
tetradic
#AB2B59 #99AB2B #2BAB7D #3D2BAB
square
#AB2B59 #99AB2B #2BAB7D #3D2BAB
split-complementary
#AB2B59 #2BAB3D #2B99AB
monochromatic
#491226 #7A1F40 #AB2B59 #D04376 #DC749A

Accessibility & contrast

On white

6.52
#AB2B59 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#AB2B59 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2B59
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2B59#FFFFFF#000000##FFFFFF
##AB2B591.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494E5A
Deuteranopia (green-blind)
#6B6756
Tritanopia (blue-blind)
#BA103F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ab2b59;
/* rgb */ color: rgb(171, 43, 89);
/* oklch */ color: oklch(50.2% 0.167 3.9);
Tailwind
colors: {
  custom: {
    50: '#ca7087',
    500: '#ab2b59',
    950: '#000000',
  },
}
SCSS
$custom: #ab2b59;
$custom-light: #ca7087;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2b59",
  "rgb": {
    "r": 171,
    "g": 43,
    "b": 89
  },
  "hsl": {
    "h": 338.438,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50241,
    "c": 0.16672,
    "h": 3.9
  },
  "luminance": 0.11107
}

Semantic roles & 50–950 ramp

primary
#AB2B59
secondary
#6EC4A5
accent
#E3AA45
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14080B
muted
#837B7C

Preview Lab

Preview with #AB2B59

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

Preview Lab → · Contrast checker → · Palette generator →

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