#AB2A5D#AB2A5D

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

Color values

HEX#AB2A5D
RGBrgb(171, 42, 93)
HSLhsl(336, 61%, 42%)
HSVhsv(336, 75%, 67%)
CMYKcmyk(0%, 75.4%, 45.6%, 32.9%)
CIE-LABlab(39.76, 55.05, 1.69)
CIE-LCHlch(39.76, 55.08, 1.76°)
OKLaboklab(50.28% 0.1689 0.005)
OKLCHoklch(50.28% 0.169 1.7)
XYZxyz(19.5999, 11.1068, 11.4655)
Luminance0.1110 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2A5D #2AAB78
analogous
#AB2A9E #AB2A5D #AB382A
triadic
#AB2A5D #5DAB2A #2A5DAB
tetradic
#AB2A5D #9EAB2A #2AAB78 #382AAB
square
#AB2A5D #9EAB2A #2AAB78 #382AAB
split-complementary
#AB2A5D #2AAB38 #2A9EAB
monochromatic
#491228 #7A1E42 #AB2A5D #D1427A #DD739D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB2A5D#FFFFFF#000000##FFFFFF
##AB2A5D1.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)
#484E5E
Deuteranopia (green-blind)
#6A675A
Tritanopia (blue-blind)
#BA1140
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ab2a5d;
/* rgb */ color: rgb(171, 42, 93);
/* oklch */ color: oklch(50.3% 0.169 1.7);
Tailwind
colors: {
  custom: {
    50: '#c96f8a',
    500: '#ab2a5d',
    950: '#000000',
  },
}
SCSS
$custom: #ab2a5d;
$custom-light: #c96f8a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2a5d",
  "rgb": {
    "r": 171,
    "g": 42,
    "b": 93
  },
  "hsl": {
    "h": 336.279,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50275,
    "c": 0.16892,
    "h": 1.7
  },
  "luminance": 0.11104
}

Semantic roles & 50–950 ramp

primary
#AB2A5D
secondary
#6DC4A2
accent
#E4A544
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080B
muted
#837B7C

Preview Lab

Preview with #AB2A5D

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

Preview Lab → · Contrast checker → · Palette generator →

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