#AB2A6B#AB2A6B

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

Color values

HEX#AB2A6B
RGBrgb(171, 42, 107)
HSLhsl(330, 61%, 42%)
HSVhsv(330, 75%, 67%)
CMYKcmyk(0%, 75.4%, 37.4%, 32.9%)
CIE-LABlab(40.21, 56.48, -6.46)
CIE-LCHlch(40.21, 56.85, 353.47°)
OKLaboklab(50.75% 0.1734 -0.0163)
OKLCHoklch(50.75% 0.174 354.6)
XYZxyz(20.2777, 11.3779, 15.0354)
Luminance0.1138 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2A6B #2AAB6A
analogous
#AA2AAB #AB2A6B #AB2A2B
triadic
#AB2A6B #6BAB2A #2A6BAB
tetradic
#AB2A6B #ABAA2A #2AAB6A #2A2BAB
square
#AB2A6B #ABAA2A #2AAB6A #2A2BAB
split-complementary
#AB2A6B #2BAB2A #2AABAA
monochromatic
#49122E #7A1E4C #AB2A6B #D1428A #DD73A8

Accessibility & contrast

On white

6.41
#AB2A6B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#AB2A6B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2A6B
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2A6B#FFFFFF#000000##FFFFFF
##AB2A6B1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43506D
Deuteranopia (green-blind)
#676768
Tritanopia (blue-blind)
#B91C47
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #ab2a6b;
/* rgb */ color: rgb(171, 42, 107);
/* oklch */ color: oklch(50.8% 0.174 354.6);
Tailwind
colors: {
  custom: {
    50: '#c97095',
    500: '#ab2a6b',
    950: '#000000',
  },
}
SCSS
$custom: #ab2a6b;
$custom-light: #c97095;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2a6b",
  "rgb": {
    "r": 171,
    "g": 42,
    "b": 107
  },
  "hsl": {
    "h": 329.767,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50753,
    "c": 0.17414,
    "h": 354.6
  },
  "luminance": 0.11375
}

Semantic roles & 50–950 ramp

primary
#AB2A6B
secondary
#6DC498
accent
#E49344
background
#FCF7F9
surface
#F9EDF1
border
#D2C8CB
text
#14080D
muted
#827B7E

Preview Lab

Preview with #AB2A6B

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

Preview Lab → · Contrast checker → · Palette generator →

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