#AB2A6F#AB2A6F

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

Color values

HEX#AB2A6F
RGBrgb(171, 42, 111)
HSLhsl(328, 61%, 42%)
HSVhsv(328, 75%, 67%)
CMYKcmyk(0%, 75.4%, 35.1%, 32.9%)
CIE-LABlab(40.35, 56.93, -8.75)
CIE-LCHlch(40.35, 57.59, 351.26°)
OKLaboklab(50.9% 0.1745 -0.0225)
OKLCHoklch(50.9% 0.176 352.7)
XYZxyz(20.4930, 11.4640, 16.1694)
Luminance0.1146 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2A6F #2AAB66
analogous
#A72AAB #AB2A6F #AB2A2F
triadic
#AB2A6F #6FAB2A #2A6FAB
tetradic
#AB2A6F #ABA72A #2AAB66 #2A2FAB
square
#AB2A6F #ABA72A #2AAB66 #2A2FAB
split-complementary
#AB2A6F #2FAB2A #2AABA7
monochromatic
#49122F #7A1E4F #AB2A6F #D1428E #DD73AB

Accessibility & contrast

On white

6.38
#AB2A6F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#AB2A6F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2A6F
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2A6F#FFFFFF#000000##FFFFFF
##AB2A6F1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425071
Deuteranopia (green-blind)
#66686C
Tritanopia (blue-blind)
#B81E49
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #ab2a6f;
/* rgb */ color: rgb(171, 42, 111);
/* oklch */ color: oklch(50.9% 0.176 352.7);
Tailwind
colors: {
  custom: {
    50: '#c97098',
    500: '#ab2a6f',
    950: '#000000',
  },
}
SCSS
$custom: #ab2a6f;
$custom-light: #c97098;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2a6f",
  "rgb": {
    "r": 171,
    "g": 42,
    "b": 111
  },
  "hsl": {
    "h": 327.907,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50903,
    "c": 0.17596,
    "h": 352.7
  },
  "luminance": 0.11462
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB2A6F

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

Preview Lab → · Contrast checker → · Palette generator →

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