#AB2E66#AB2E66

#AB2E66 is a mid, vivid pink. Relative luminance 0.116; OKLCH L 50.9% C 0.168 H 357.7°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#AB2E66
RGBrgb(171, 46, 102)
HSLhsl(333, 58%, 43%)
HSVhsv(333, 73%, 67%)
CMYKcmyk(0%, 73.1%, 40.4%, 32.9%)
CIE-LABlab(40.53, 54.58, -2.85)
CIE-LCHlch(40.53, 54.65, 357.01°)
OKLaboklab(50.93% 0.1675 -0.0068)
OKLCHoklch(50.93% 0.168 357.7)
XYZxyz(20.1713, 11.5737, 13.7395)
Luminance0.1157 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2E66 #2EAB73
analogous
#AB2EA5 #AB2E66 #AB342E
triadic
#AB2E66 #66AB2E #2E66AB
tetradic
#AB2E66 #A5AB2E #2EAB73 #342EAB
square
#AB2E66 #A5AB2E #2EAB73 #342EAB
split-complementary
#AB2E66 #2EAB34 #2EA5AB
monochromatic
#4B142C #7B2149 #AB2E66 #CE4884 #DB79A5

Accessibility & contrast

On white

6.34
#AB2E66 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#AB2E66 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2E66
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2E66#FFFFFF#000000##FFFFFF
##AB2E661.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475167
Deuteranopia (green-blind)
#6A6863
Tritanopia (blue-blind)
#B91E46
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ab2e66;
/* rgb */ color: rgb(171, 46, 102);
/* oklch */ color: oklch(50.9% 0.168 357.7);
Tailwind
colors: {
  custom: {
    50: '#c97191',
    500: '#ab2e66',
    950: '#000000',
  },
}
SCSS
$custom: #ab2e66;
$custom-light: #c97191;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2e66",
  "rgb": {
    "r": 171,
    "g": 46,
    "b": 102
  },
  "hsl": {
    "h": 333.12,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50934,
    "c": 0.16761,
    "h": 357.7
  },
  "luminance": 0.11571
}

Semantic roles & 50–950 ramp

primary
#AB2E66
secondary
#72C39F
accent
#E19C47
background
#FCF7F8
surface
#F9EDF0
border
#D2C8CB
text
#14080C
muted
#827B7D

Preview Lab

Preview with #AB2E66

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

Preview Lab → · Contrast checker → · Palette generator →

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