#AB2E5D#AB2E5D

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

Color values

HEX#AB2E5D
RGBrgb(171, 46, 93)
HSLhsl(337, 58%, 43%)
HSVhsv(337, 73%, 67%)
CMYKcmyk(0%, 73.1%, 45.6%, 32.9%)
CIE-LABlab(40.25, 53.67, 2.41)
CIE-LCHlch(40.25, 53.73, 2.57°)
OKLaboklab(50.64% 0.1644 0.0068)
OKLCHoklch(50.64% 0.165 2.4)
XYZxyz(19.7489, 11.4048, 11.5152)
Luminance0.1140 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2E5D #2EAB7C
analogous
#AB2E9C #AB2E5D #AB3D2E
triadic
#AB2E5D #5DAB2E #2E5DAB
tetradic
#AB2E5D #9CAB2E #2EAB7C #3D2EAB
square
#AB2E5D #9CAB2E #2EAB7C #3D2EAB
split-complementary
#AB2E5D #2EAB3D #2E9CAB
monochromatic
#4B1429 #7B2143 #AB2E5D #CE487B #DB799E

Accessibility & contrast

On white

6.40
#AB2E5D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#AB2E5D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2E5D
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2E5D#FFFFFF#000000##FFFFFF
##AB2E5D1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4F5E
Deuteranopia (green-blind)
#6B685A
Tritanopia (blue-blind)
#BA1942
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #ab2e5d;
/* rgb */ color: rgb(171, 46, 93);
/* oklch */ color: oklch(50.6% 0.165 2.4);
Tailwind
colors: {
  custom: {
    50: '#c9718a',
    500: '#ab2e5d',
    950: '#000000',
  },
}
SCSS
$custom: #ab2e5d;
$custom-light: #c9718a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2e5d",
  "rgb": {
    "r": 171,
    "g": 46,
    "b": 93
  },
  "hsl": {
    "h": 337.44,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.5064,
    "c": 0.16455,
    "h": 2.4
  },
  "luminance": 0.11402
}

Semantic roles & 50–950 ramp

primary
#AB2E5D
secondary
#72C3A4
accent
#E1A747
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080B
muted
#837B7C

Preview Lab

Preview with #AB2E5D

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

Preview Lab → · Contrast checker → · Palette generator →

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