#AB2D70#AB2D70

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

Color values

HEX#AB2D70
RGBrgb(171, 45, 112)
HSLhsl(328, 58%, 42%)
HSVhsv(328, 74%, 67%)
CMYKcmyk(0%, 73.7%, 34.5%, 32.9%)
CIE-LABlab(40.75, 56.03, -8.78)
CIE-LCHlch(40.75, 56.71, 351.09°)
OKLaboklab(51.2% 0.1716 -0.0226)
OKLCHoklch(51.2% 0.173 352.5)
XYZxyz(20.6588, 11.7070, 16.4978)
Luminance0.1171 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2D70 #2DAB68
analogous
#A72DAB #AB2D70 #AB2D31
triadic
#AB2D70 #70AB2D #2D70AB
tetradic
#AB2D70 #ABA72D #2DAB68 #2D31AB
square
#AB2D70 #ABA72D #2DAB68 #2D31AB
split-complementary
#AB2D70 #31AB2D #2DABA7
monochromatic
#4A1431 #7B2050 #AB2D70 #CE478F #DB77AC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB2D70#FFFFFF#000000##FFFFFF
##AB2D701.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)
#435272
Deuteranopia (green-blind)
#67686D
Tritanopia (blue-blind)
#B8234A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ab2d70;
/* rgb */ color: rgb(171, 45, 112);
/* oklch */ color: oklch(51.2% 0.173 352.5);
Tailwind
colors: {
  custom: {
    50: '#c87199',
    500: '#ab2d70',
    950: '#000000',
  },
}
SCSS
$custom: #ab2d70;
$custom-light: #c87199;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2d70",
  "rgb": {
    "r": 171,
    "g": 45,
    "b": 112
  },
  "hsl": {
    "h": 328.095,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51204,
    "c": 0.17308,
    "h": 352.5
  },
  "luminance": 0.11705
}

Semantic roles & 50–950 ramp

primary
#AB2D70
secondary
#71C397
accent
#E28F46
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080D
muted
#827B7E

Preview Lab

Preview with #AB2D70

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

Preview Lab → · Contrast checker → · Palette generator →

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