#AB2A5B#AB2A5B

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

Color values

HEX#AB2A5B
RGBrgb(171, 42, 91)
HSLhsl(337, 61%, 42%)
HSVhsv(337, 75%, 67%)
CMYKcmyk(0%, 75.4%, 46.8%, 32.9%)
CIE-LABlab(39.70, 54.87, 2.87)
CIE-LCHlch(39.70, 54.94, 3.00°)
OKLaboklab(50.21% 0.1681 0.008)
OKLCHoklch(50.21% 0.168 2.7)
XYZxyz(19.5125, 11.0718, 11.0051)
Luminance0.1107 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2A5B #2AAB7A
analogous
#AB2A9C #AB2A5B #AB3A2A
triadic
#AB2A5B #5BAB2A #2A5BAB
tetradic
#AB2A5B #9CAB2A #2AAB7A #3A2AAB
square
#AB2A5B #9CAB2A #2AAB7A #3A2AAB
split-complementary
#AB2A5B #2AAB3A #2A9CAB
monochromatic
#491227 #7A1E41 #AB2A5B #D14278 #DD739B

Accessibility & contrast

On white

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

On black

3.21
#AB2A5B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AB2A5B#FFFFFF#000000##FFFFFF
##AB2A5B1.006.533.216.53
#FFFFFF6.531.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484E5C
Deuteranopia (green-blind)
#6B6758
Tritanopia (blue-blind)
#BA103F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ab2a5b;
/* rgb */ color: rgb(171, 42, 91);
/* oklch */ color: oklch(50.2% 0.168 2.7);
Tailwind
colors: {
  custom: {
    50: '#c96f89',
    500: '#ab2a5b',
    950: '#000000',
  },
}
SCSS
$custom: #ab2a5b;
$custom-light: #c96f89;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2a5b",
  "rgb": {
    "r": 171,
    "g": 42,
    "b": 91
  },
  "hsl": {
    "h": 337.209,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50213,
    "c": 0.16833,
    "h": 2.7
  },
  "luminance": 0.11069
}

Semantic roles & 50–950 ramp

primary
#AB2A5B
secondary
#6DC4A3
accent
#E4A744
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080B
muted
#837B7C

Preview Lab

Preview with #AB2A5B

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

Preview Lab → · Contrast checker → · Palette generator →

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