#AB2B70#AB2B70

#AB2B70 is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.0% C 0.175 H 352.3°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#AB2B70
RGBrgb(171, 43, 112)
HSLhsl(328, 60%, 42%)
HSVhsv(328, 75%, 67%)
CMYKcmyk(0%, 74.9%, 34.5%, 32.9%)
CIE-LABlab(40.50, 56.71, -9.15)
CIE-LCHlch(40.50, 57.44, 350.84°)
OKLaboklab(51.03% 0.1737 -0.0236)
OKLCHoklch(51.03% 0.175 352.3)
XYZxyz(20.5843, 11.5580, 16.4730)
Luminance0.1156 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2B70 #2BAB66
analogous
#A62BAB #AB2B70 #AB2B30
triadic
#AB2B70 #70AB2B #2B70AB
tetradic
#AB2B70 #ABA62B #2BAB66 #2B30AB
square
#AB2B70 #ABA62B #2BAB66 #2B30AB
split-complementary
#AB2B70 #30AB2B #2BABA6
monochromatic
#491230 #7A1F50 #AB2B70 #D0438F #DC74AC

Accessibility & contrast

On white

6.34
#AB2B70 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#AB2B70 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2B70
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2B70#FFFFFF#000000##FFFFFF
##AB2B701.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425172
Deuteranopia (green-blind)
#66686D
Tritanopia (blue-blind)
#B8204A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #ab2b70;
/* rgb */ color: rgb(171, 43, 112);
/* oklch */ color: oklch(51.0% 0.175 352.3);
Tailwind
colors: {
  custom: {
    50: '#c97099',
    500: '#ab2b70',
    950: '#000000',
  },
}
SCSS
$custom: #ab2b70;
$custom-light: #c97099;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2b70",
  "rgb": {
    "r": 171,
    "g": 43,
    "b": 112
  },
  "hsl": {
    "h": 327.656,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51027,
    "c": 0.17534,
    "h": 352.3
  },
  "luminance": 0.11556
}

Semantic roles & 50–950 ramp

primary
#AB2B70
secondary
#6EC496
accent
#E38E45
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080D
muted
#827B7E

Preview Lab

Preview with #AB2B70

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

Preview Lab → · Contrast checker → · Palette generator →

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