#AB2E5F#AB2E5F

#AB2E5F is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.7% C 0.165 H 1.3°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#AB2E5F
RGBrgb(171, 46, 95)
HSLhsl(336, 58%, 43%)
HSVhsv(336, 73%, 67%)
CMYKcmyk(0%, 73.1%, 44.4%, 32.9%)
CIE-LABlab(40.31, 53.86, 1.23)
CIE-LCHlch(40.31, 53.88, 1.31°)
OKLaboklab(50.7% 0.1651 0.0038)
OKLCHoklch(50.7% 0.165 1.3)
XYZxyz(19.8387, 11.4407, 11.9878)
Luminance0.1144 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2E5F #2EAB7A
analogous
#AB2E9E #AB2E5F #AB3B2E
triadic
#AB2E5F #5FAB2E #2E5FAB
tetradic
#AB2E5F #9EAB2E #2EAB7A #3B2EAB
square
#AB2E5F #9EAB2E #2EAB7A #3B2EAB
split-complementary
#AB2E5F #2EAB3B #2E9EAB
monochromatic
#4B1429 #7B2144 #AB2E5F #CE487D #DB799F

Accessibility & contrast

On white

6.39
#AB2E5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#AB2E5F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2E5F
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2E5F#FFFFFF#000000##FFFFFF
##AB2E5F1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495060
Deuteranopia (green-blind)
#6B685C
Tritanopia (blue-blind)
#BA1A43
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #ab2e5f;
/* rgb */ color: rgb(171, 46, 95);
/* oklch */ color: oklch(50.7% 0.165 1.3);
Tailwind
colors: {
  custom: {
    50: '#c9718c',
    500: '#ab2e5f',
    950: '#000000',
  },
}
SCSS
$custom: #ab2e5f;
$custom-light: #c9718c;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2e5f",
  "rgb": {
    "r": 171,
    "g": 46,
    "b": 95
  },
  "hsl": {
    "h": 336.48,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50702,
    "c": 0.16516,
    "h": 1.3
  },
  "luminance": 0.11438
}

Semantic roles & 50–950 ramp

primary
#AB2E5F
secondary
#72C3A3
accent
#E1A547
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #AB2E5F

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

Preview Lab → · Contrast checker → · Palette generator →

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