#AB2A6A#AB2A6A

#AB2A6A is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.7% C 0.174 H 355.1°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#AB2A6A
RGBrgb(171, 42, 106)
HSLhsl(330, 61%, 42%)
HSVhsv(330, 75%, 67%)
CMYKcmyk(0%, 75.4%, 38%, 32.9%)
CIE-LABlab(40.18, 56.37, -5.89)
CIE-LCHlch(40.18, 56.68, 354.04°)
OKLaboklab(50.72% 0.1731 -0.0148)
OKLCHoklch(50.72% 0.174 355.1)
XYZxyz(20.2254, 11.3570, 14.7599)
Luminance0.1135 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2A6A #2AAB6B
analogous
#AB2AAA #AB2A6A #AB2B2A
triadic
#AB2A6A #6AAB2A #2A6AAB
tetradic
#AB2A6A #AAAB2A #2AAB6B #2B2AAB
square
#AB2A6A #AAAB2A #2AAB6B #2B2AAB
split-complementary
#AB2A6A #2AAB2B #2AAAAB
monochromatic
#49122D #7A1E4C #AB2A6A #D14289 #DD73A7

Accessibility & contrast

On white

6.42
#AB2A6A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#AB2A6A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2A6A
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2A6A#FFFFFF#000000##FFFFFF
##AB2A6A1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434F6C
Deuteranopia (green-blind)
#676767
Tritanopia (blue-blind)
#B91B46
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #ab2a6a;
/* rgb */ color: rgb(171, 42, 106);
/* oklch */ color: oklch(50.7% 0.174 355.1);
Tailwind
colors: {
  custom: {
    50: '#c97094',
    500: '#ab2a6a',
    950: '#000000',
  },
}
SCSS
$custom: #ab2a6a;
$custom-light: #c97094;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2a6a",
  "rgb": {
    "r": 171,
    "g": 42,
    "b": 106
  },
  "hsl": {
    "h": 330.233,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50717,
    "c": 0.17371,
    "h": 355.1
  },
  "luminance": 0.11354
}

Semantic roles & 50–950 ramp

primary
#AB2A6A
secondary
#6DC499
accent
#E49544
background
#FCF7F9
surface
#F9EDF1
border
#D2C8CB
text
#14080D
muted
#827B7E

Preview Lab

Preview with #AB2A6A

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

Preview Lab → · Contrast checker → · Palette generator →

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