#AB2A70#AB2A70

#AB2A70 is a mid, vivid pink. Relative luminance 0.115; OKLCH L 50.9% C 0.176 H 352.2°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#AB2A70
RGBrgb(171, 42, 112)
HSLhsl(327, 61%, 42%)
HSVhsv(327, 75%, 67%)
CMYKcmyk(0%, 75.4%, 34.5%, 32.9%)
CIE-LABlab(40.39, 57.04, -9.32)
CIE-LCHlch(40.39, 57.80, 350.72°)
OKLaboklab(50.94% 0.1748 -0.024)
OKLCHoklch(50.94% 0.176 352.2)
XYZxyz(20.5484, 11.4862, 16.4610)
Luminance0.1148 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2A70 #2AAB65
analogous
#A62AAB #AB2A70 #AB2A30
triadic
#AB2A70 #70AB2A #2A70AB
tetradic
#AB2A70 #ABA62A #2AAB65 #2A30AB
square
#AB2A70 #ABA62A #2AAB65 #2A30AB
split-complementary
#AB2A70 #30AB2A #2AABA6
monochromatic
#491230 #7A1E50 #AB2A70 #D1428F #DD73AC

Accessibility & contrast

On white

6.37
#AB2A70 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#AB2A70 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2A70
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2A70#FFFFFF#000000##FFFFFF
##AB2A701.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab2a70;
/* rgb */ color: rgb(171, 42, 112);
/* oklch */ color: oklch(50.9% 0.176 352.2);
Tailwind
colors: {
  custom: {
    50: '#c97099',
    500: '#ab2a70',
    950: '#000000',
  },
}
SCSS
$custom: #ab2a70;
$custom-light: #c97099;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2a70",
  "rgb": {
    "r": 171,
    "g": 42,
    "b": 112
  },
  "hsl": {
    "h": 327.442,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50941,
    "c": 0.17644,
    "h": 352.2
  },
  "luminance": 0.11484
}

Semantic roles & 50–950 ramp

primary
#AB2A70
secondary
#6DC495
accent
#E48D44
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080D
muted
#827B7E

Preview Lab

Preview with #AB2A70

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

Preview Lab → · Contrast checker → · Palette generator →

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