#AB2A5C#AB2A5C

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

Color values

HEX#AB2A5C
RGBrgb(171, 42, 92)
HSLhsl(337, 61%, 42%)
HSVhsv(337, 75%, 67%)
CMYKcmyk(0%, 75.4%, 46.2%, 32.9%)
CIE-LABlab(39.73, 54.96, 2.28)
CIE-LCHlch(39.73, 55.01, 2.38°)
OKLaboklab(50.24% 0.1685 0.0065)
OKLCHoklch(50.24% 0.169 2.2)
XYZxyz(19.5559, 11.0892, 11.2338)
Luminance0.1109 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2A5C #2AAB79
analogous
#AB2A9D #AB2A5C #AB392A
triadic
#AB2A5C #5CAB2A #2A5CAB
tetradic
#AB2A5C #9DAB2A #2AAB79 #392AAB
square
#AB2A5C #9DAB2A #2AAB79 #392AAB
split-complementary
#AB2A5C #2AAB39 #2A9DAB
monochromatic
#491227 #7A1E42 #AB2A5C #D14279 #DD739C

Accessibility & contrast

On white

6.53
#AB2A5C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB2A5C
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2A5C#FFFFFF#000000##FFFFFF
##AB2A5C1.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484E5D
Deuteranopia (green-blind)
#6A6759
Tritanopia (blue-blind)
#BA113F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ab2a5c;
/* rgb */ color: rgb(171, 42, 92);
/* oklch */ color: oklch(50.2% 0.169 2.2);
Tailwind
colors: {
  custom: {
    50: '#c96f8a',
    500: '#ab2a5c',
    950: '#000000',
  },
}
SCSS
$custom: #ab2a5c;
$custom-light: #c96f8a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2a5c",
  "rgb": {
    "r": 171,
    "g": 42,
    "b": 92
  },
  "hsl": {
    "h": 336.744,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50244,
    "c": 0.16861,
    "h": 2.2
  },
  "luminance": 0.11087
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB2A5C

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

Preview Lab → · Contrast checker → · Palette generator →

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