#AB2E6D#AB2E6D

#AB2E6D is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.2% C 0.171 H 354.1°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#AB2E6D
RGBrgb(171, 46, 109)
HSLhsl(330, 58%, 43%)
HSVhsv(330, 73%, 67%)
CMYKcmyk(0%, 73.1%, 36.3%, 32.9%)
CIE-LABlab(40.77, 55.34, -6.88)
CIE-LCHlch(40.77, 55.76, 352.91°)
OKLaboklab(51.18% 0.1696 -0.0175)
OKLCHoklch(51.18% 0.171 354.1)
XYZxyz(20.5332, 11.7185, 15.6456)
Luminance0.1172 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2E6D #2EAB6C
analogous
#AB2EAB #AB2E6D #AB2E2E
triadic
#AB2E6D #6DAB2E #2E6DAB
tetradic
#AB2E6D #ABAB2E #2EAB6C #2E2EAB
square
#AB2E6D #ABAB2E #2EAB6C #2E2EAB
split-complementary
#AB2E6D #2EAB2E #2EABAB
monochromatic
#4B1430 #7B214E #AB2E6D #CE488C #DB79AA

Accessibility & contrast

On white

6.28
#AB2E6D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#AB2E6D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2E6D
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2E6D#FFFFFF#000000##FFFFFF
##AB2E6D1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45516F
Deuteranopia (green-blind)
#68686A
Tritanopia (blue-blind)
#B82249
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ab2e6d;
/* rgb */ color: rgb(171, 46, 109);
/* oklch */ color: oklch(51.2% 0.171 354.1);
Tailwind
colors: {
  custom: {
    50: '#c97296',
    500: '#ab2e6d',
    950: '#000000',
  },
}
SCSS
$custom: #ab2e6d;
$custom-light: #c97296;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2e6d",
  "rgb": {
    "r": 171,
    "g": 46,
    "b": 109
  },
  "hsl": {
    "h": 329.76,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51183,
    "c": 0.17053,
    "h": 354.1
  },
  "luminance": 0.11716
}

Semantic roles & 50–950 ramp

primary
#AB2E6D
secondary
#72C39A
accent
#E19347
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080D
muted
#827B7E

Preview Lab

Preview with #AB2E6D

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

Preview Lab → · Contrast checker → · Palette generator →

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