#AB2E6A#AB2E6A

#AB2E6A is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.1% C 0.169 H 355.6°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#AB2E6A
RGBrgb(171, 46, 106)
HSLhsl(331, 58%, 43%)
HSVhsv(331, 73%, 67%)
CMYKcmyk(0%, 73.1%, 38%, 32.9%)
CIE-LABlab(40.66, 55.00, -5.16)
CIE-LCHlch(40.66, 55.25, 354.64°)
OKLaboklab(51.07% 0.1687 -0.0129)
OKLCHoklch(51.07% 0.169 355.6)
XYZxyz(20.3744, 11.6550, 14.8096)
Luminance0.1165 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2E6A #2EAB6F
analogous
#AB2EA9 #AB2E6A #AB302E
triadic
#AB2E6A #6AAB2E #2E6AAB
tetradic
#AB2E6A #A9AB2E #2EAB6F #302EAB
square
#AB2E6A #A9AB2E #2EAB6F #302EAB
split-complementary
#AB2E6A #2EAB30 #2EA9AB
monochromatic
#4B142E #7B214C #AB2E6A #CE4888 #DB79A8

Accessibility & contrast

On white

6.31
#AB2E6A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#AB2E6A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2E6A
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2E6A#FFFFFF#000000##FFFFFF
##AB2E6A1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46516C
Deuteranopia (green-blind)
#696867
Tritanopia (blue-blind)
#B92048
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ab2e6a;
/* rgb */ color: rgb(171, 46, 106);
/* oklch */ color: oklch(51.1% 0.169 355.6);
Tailwind
colors: {
  custom: {
    50: '#c97294',
    500: '#ab2e6a',
    950: '#000000',
  },
}
SCSS
$custom: #ab2e6a;
$custom-light: #c97294;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2e6a",
  "rgb": {
    "r": 171,
    "g": 46,
    "b": 106
  },
  "hsl": {
    "h": 331.2,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51074,
    "c": 0.16922,
    "h": 355.6
  },
  "luminance": 0.11653
}

Semantic roles & 50–950 ramp

primary
#AB2E6A
secondary
#72C39C
accent
#E19747
background
#FCF7F9
surface
#F9EDF1
border
#D2C8CB
text
#14080D
muted
#827B7E

Preview Lab

Preview with #AB2E6A

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

Preview Lab → · Contrast checker → · Palette generator →

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