#AB2D6E#AB2D6E

#AB2D6E is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.1% C 0.172 H 353.5°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#AB2D6E
RGBrgb(171, 45, 110)
HSLhsl(329, 58%, 42%)
HSVhsv(329, 74%, 67%)
CMYKcmyk(0%, 73.7%, 35.7%, 32.9%)
CIE-LABlab(40.68, 55.80, -7.64)
CIE-LCHlch(40.68, 56.32, 352.20°)
OKLaboklab(51.13% 0.171 -0.0195)
OKLCHoklch(51.13% 0.172 353.5)
XYZxyz(20.5487, 11.6629, 15.9179)
Luminance0.1166 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2D6E #2DAB6A
analogous
#A92DAB #AB2D6E #AB2D2F
triadic
#AB2D6E #6EAB2D #2D6EAB
tetradic
#AB2D6E #ABA92D #2DAB6A #2D2FAB
square
#AB2D6E #ABA92D #2DAB6A #2D2FAB
split-complementary
#AB2D6E #2FAB2D #2DABA9
monochromatic
#4A1430 #7B204F #AB2D6E #CE478D #DB77AB

Accessibility & contrast

On white

6.30
#AB2D6E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#AB2D6E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2D6E
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2D6E#FFFFFF#000000##FFFFFF
##AB2D6E1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445170
Deuteranopia (green-blind)
#67686B
Tritanopia (blue-blind)
#B82149
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ab2d6e;
/* rgb */ color: rgb(171, 45, 110);
/* oklch */ color: oklch(51.1% 0.172 353.5);
Tailwind
colors: {
  custom: {
    50: '#c97197',
    500: '#ab2d6e',
    950: '#000000',
  },
}
SCSS
$custom: #ab2d6e;
$custom-light: #c97197;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2d6e",
  "rgb": {
    "r": 171,
    "g": 45,
    "b": 110
  },
  "hsl": {
    "h": 329.048,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51129,
    "c": 0.17214,
    "h": 353.5
  },
  "luminance": 0.1166
}

Semantic roles & 50–950 ramp

primary
#AB2D6E
secondary
#71C399
accent
#E29146
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080D
muted
#827B7E

Preview Lab

Preview with #AB2D6E

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

Preview Lab → · Contrast checker → · Palette generator →

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