#AB2D6F#AB2D6F

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

Color values

HEX#AB2D6F
RGBrgb(171, 45, 111)
HSLhsl(329, 58%, 42%)
HSVhsv(329, 74%, 67%)
CMYKcmyk(0%, 73.7%, 35.1%, 32.9%)
CIE-LABlab(40.71, 55.91, -8.21)
CIE-LCHlch(40.71, 56.51, 351.64°)
OKLaboklab(51.17% 0.1713 -0.0211)
OKLCHoklch(51.17% 0.173 353)
XYZxyz(20.6035, 11.6848, 16.2062)
Luminance0.1168 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2D6F #2DAB69
analogous
#A82DAB #AB2D6F #AB2D30
triadic
#AB2D6F #6FAB2D #2D6FAB
tetradic
#AB2D6F #ABA82D #2DAB69 #2D30AB
square
#AB2D6F #ABA82D #2DAB69 #2D30AB
split-complementary
#AB2D6F #30AB2D #2DABA8
monochromatic
#4A1430 #7B2050 #AB2D6F #CE478E #DB77AC

Accessibility & contrast

On white

6.29
#AB2D6F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB2D6F
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2D6F#FFFFFF#000000##FFFFFF
##AB2D6F1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445171
Deuteranopia (green-blind)
#67686C
Tritanopia (blue-blind)
#B8224A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ab2d6f;
/* rgb */ color: rgb(171, 45, 111);
/* oklch */ color: oklch(51.2% 0.173 353.0);
Tailwind
colors: {
  custom: {
    50: '#c97198',
    500: '#ab2d6f',
    950: '#000000',
  },
}
SCSS
$custom: #ab2d6f;
$custom-light: #c97198;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2d6f",
  "rgb": {
    "r": 171,
    "g": 45,
    "b": 111
  },
  "hsl": {
    "h": 328.571,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51166,
    "c": 0.17261,
    "h": 353
  },
  "luminance": 0.11682
}

Semantic roles & 50–950 ramp

primary
#AB2D6F
secondary
#71C398
accent
#E29046
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080D
muted
#827B7E

Preview Lab

Preview with #AB2D6F

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

Preview Lab → · Contrast checker → · Palette generator →

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