#AB2E5B#AB2E5B

#AB2E5B is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.6% C 0.164 H 3.4°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#AB2E5B
RGBrgb(171, 46, 91)
HSLhsl(338, 58%, 43%)
HSVhsv(338, 73%, 67%)
CMYKcmyk(0%, 73.1%, 46.8%, 32.9%)
CIE-LABlab(40.20, 53.48, 3.59)
CIE-LCHlch(40.20, 53.60, 3.84°)
OKLaboklab(50.58% 0.1637 0.0098)
OKLCHoklch(50.58% 0.164 3.4)
XYZxyz(19.6615, 11.3698, 11.0547)
Luminance0.1137 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2E5B #2EAB7E
analogous
#AB2E9A #AB2E5B #AB3F2E
triadic
#AB2E5B #5BAB2E #2E5BAB
tetradic
#AB2E5B #9AAB2E #2EAB7E #3F2EAB
square
#AB2E5B #9AAB2E #2EAB7E #3F2EAB
split-complementary
#AB2E5B #2EAB3F #2E9AAB
monochromatic
#4B1428 #7B2141 #AB2E5B #CE4878 #DB799C

Accessibility & contrast

On white

6.42
#AB2E5B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#AB2E5B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2E5B
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2E5B#FFFFFF#000000##FFFFFF
##AB2E5B1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4F5C
Deuteranopia (green-blind)
#6C6858
Tritanopia (blue-blind)
#BA1841
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #ab2e5b;
/* rgb */ color: rgb(171, 46, 91);
/* oklch */ color: oklch(50.6% 0.164 3.4);
Tailwind
colors: {
  custom: {
    50: '#c97189',
    500: '#ab2e5b',
    950: '#000000',
  },
}
SCSS
$custom: #ab2e5b;
$custom-light: #c97189;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2e5b",
  "rgb": {
    "r": 171,
    "g": 46,
    "b": 91
  },
  "hsl": {
    "h": 338.4,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50578,
    "c": 0.16398,
    "h": 3.4
  },
  "luminance": 0.11367
}

Semantic roles & 50–950 ramp

primary
#AB2E5B
secondary
#72C3A6
accent
#E1A947
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080B
muted
#837B7C

Preview Lab

Preview with #AB2E5B

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

Preview Lab → · Contrast checker → · Palette generator →

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