#AB2A66#AB2A66

#AB2A66 is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.6% C 0.172 H 357.1°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#AB2A66
RGBrgb(171, 42, 102)
HSLhsl(332, 61%, 42%)
HSVhsv(332, 75%, 67%)
CMYKcmyk(0%, 75.4%, 40.4%, 32.9%)
CIE-LABlab(40.04, 55.95, -3.57)
CIE-LCHlch(40.04, 56.06, 356.35°)
OKLaboklab(50.57% 0.1719 -0.0087)
OKLCHoklch(50.57% 0.172 357.1)
XYZxyz(20.0222, 11.2757, 13.6899)
Luminance0.1127 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2A66 #2AAB6F
analogous
#AB2AA7 #AB2A66 #AB2F2A
triadic
#AB2A66 #66AB2A #2A66AB
tetradic
#AB2A66 #A7AB2A #2AAB6F #2F2AAB
square
#AB2A66 #A7AB2A #2AAB6F #2F2AAB
split-complementary
#AB2A66 #2AAB2F #2AA7AB
monochromatic
#49122B #7A1E49 #AB2A66 #D14284 #DD73A4

Accessibility & contrast

On white

6.45
#AB2A66 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#AB2A66 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2A66
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2A66#FFFFFF#000000##FFFFFF
##AB2A661.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454F68
Deuteranopia (green-blind)
#686763
Tritanopia (blue-blind)
#B91844
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ab2a66;
/* rgb */ color: rgb(171, 42, 102);
/* oklch */ color: oklch(50.6% 0.172 357.1);
Tailwind
colors: {
  custom: {
    50: '#c97091',
    500: '#ab2a66',
    950: '#000000',
  },
}
SCSS
$custom: #ab2a66;
$custom-light: #c97091;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2a66",
  "rgb": {
    "r": 171,
    "g": 42,
    "b": 102
  },
  "hsl": {
    "h": 332.093,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50574,
    "c": 0.17207,
    "h": 357.1
  },
  "luminance": 0.11273
}

Semantic roles & 50–950 ramp

primary
#AB2A66
secondary
#6DC49B
accent
#E49944
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #AB2A66

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

Preview Lab → · Contrast checker → · Palette generator →

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