#AB2F70#AB2F70

#AB2F70 is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.4% C 0.171 H 352.7°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#AB2F70
RGBrgb(171, 47, 112)
HSLhsl(329, 57%, 43%)
HSVhsv(329, 73%, 67%)
CMYKcmyk(0%, 72.5%, 34.5%, 32.9%)
CIE-LABlab(41.00, 55.32, -8.41)
CIE-LCHlch(41.00, 55.96, 351.36°)
OKLaboklab(51.39% 0.1694 -0.0216)
OKLCHoklch(51.39% 0.171 352.7)
XYZxyz(20.7369, 11.8632, 16.5239)
Luminance0.1186 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2F70 #2FAB6A
analogous
#A82FAB #AB2F70 #AB2F32
triadic
#AB2F70 #70AB2F #2F70AB
tetradic
#AB2F70 #ABA82F #2FAB6A #2F32AB
square
#AB2F70 #ABA82F #2FAB6A #2F32AB
split-complementary
#AB2F70 #32AB2F #2FABA8
monochromatic
#4B1531 #7B2251 #AB2F70 #CD4A8F #DA7AAD

Accessibility & contrast

On white

6.23
#AB2F70 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#AB2F70 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2F70
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2F70#FFFFFF#000000##FFFFFF
##AB2F701.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455272
Deuteranopia (green-blind)
#68696D
Tritanopia (blue-blind)
#B8254B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ab2f70;
/* rgb */ color: rgb(171, 47, 112);
/* oklch */ color: oklch(51.4% 0.171 352.7);
Tailwind
colors: {
  custom: {
    50: '#c87299',
    500: '#ab2f70',
    950: '#000000',
  },
}
SCSS
$custom: #ab2f70;
$custom-light: #c87299;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2f70",
  "rgb": {
    "r": 171,
    "g": 47,
    "b": 112
  },
  "hsl": {
    "h": 328.548,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51388,
    "c": 0.17075,
    "h": 352.7
  },
  "luminance": 0.11861
}

Semantic roles & 50–950 ramp

primary
#AB2F70
secondary
#73C399
accent
#E09048
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090D
muted
#827B7E

Preview Lab

Preview with #AB2F70

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

Preview Lab → · Contrast checker → · Palette generator →

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