#AB2B5D#AB2B5D

#AB2B5D is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.4% C 0.168 H 1.8°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#AB2B5D
RGBrgb(171, 43, 93)
HSLhsl(337, 60%, 42%)
HSVhsv(337, 75%, 67%)
CMYKcmyk(0%, 74.9%, 45.6%, 32.9%)
CIE-LABlab(39.88, 54.72, 1.87)
CIE-LCHlch(39.88, 54.75, 1.95°)
OKLaboklab(50.36% 0.1678 0.0054)
OKLCHoklch(50.36% 0.168 1.8)
XYZxyz(19.6358, 11.1786, 11.4775)
Luminance0.1118 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2B5D #2BAB79
analogous
#AB2B9D #AB2B5D #AB392B
triadic
#AB2B5D #5DAB2B #2B5DAB
tetradic
#AB2B5D #9DAB2B #2BAB79 #392BAB
square
#AB2B5D #9DAB2B #2BAB79 #392BAB
split-complementary
#AB2B5D #2BAB39 #2B9DAB
monochromatic
#491228 #7A1F42 #AB2B5D #D0437A #DC749D

Accessibility & contrast

On white

6.49
#AB2B5D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#AB2B5D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2B5D
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2B5D#FFFFFF#000000##FFFFFF
##AB2B5D1.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484E5E
Deuteranopia (green-blind)
#6A675A
Tritanopia (blue-blind)
#BA1340
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ab2b5d;
/* rgb */ color: rgb(171, 43, 93);
/* oklch */ color: oklch(50.4% 0.168 1.8);
Tailwind
colors: {
  custom: {
    50: '#c9708a',
    500: '#ab2b5d',
    950: '#000000',
  },
}
SCSS
$custom: #ab2b5d;
$custom-light: #c9708a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2b5d",
  "rgb": {
    "r": 171,
    "g": 43,
    "b": 93
  },
  "hsl": {
    "h": 336.563,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50364,
    "c": 0.16786,
    "h": 1.8
  },
  "luminance": 0.11176
}

Semantic roles & 50–950 ramp

primary
#AB2B5D
secondary
#6EC4A2
accent
#E3A545
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080B
muted
#837B7C

Preview Lab

Preview with #AB2B5D

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

Preview Lab → · Contrast checker → · Palette generator →

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