#AB2652#AB2652

#AB2652 is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.6% C 0.170 H 6.6°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#AB2652
RGBrgb(171, 38, 82)
HSLhsl(340, 64%, 41%)
HSVhsv(340, 78%, 67%)
CMYKcmyk(0%, 77.8%, 52%, 32.9%)
CIE-LABlab(38.99, 55.37, 7.58)
CIE-LCHlch(38.99, 55.89, 7.79°)
OKLaboklab(49.61% 0.169 0.0197)
OKLCHoklch(49.61% 0.17 6.6)
XYZxyz(19.0124, 10.6560, 9.0367)
Luminance0.1065 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2652 #26AB7F
analogous
#AB2694 #AB2652 #AB3C26
triadic
#AB2652 #52AB26 #2652AB
tetradic
#AB2652 #94AB26 #26AB7F #3C26AB
square
#AB2652 #94AB26 #26AB7F #3C26AB
split-complementary
#AB2652 #26AB3C #2694AB
monochromatic
#471022 #791B3A #AB2652 #D33B6D #DF6D92

Accessibility & contrast

On white

6.71
#AB2652 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#AB2652 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2652
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2652#FFFFFF#000000##FFFFFF
##AB26521.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484B53
Deuteranopia (green-blind)
#6B654F
Tritanopia (blue-blind)
#BB0039
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #ab2652;
/* rgb */ color: rgb(171, 38, 82);
/* oklch */ color: oklch(49.6% 0.170 6.6);
Tailwind
colors: {
  custom: {
    50: '#ca6e82',
    500: '#ab2652',
    950: '#000000',
  },
}
SCSS
$custom: #ab2652;
$custom-light: #ca6e82;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2652",
  "rgb": {
    "r": 171,
    "g": 38,
    "b": 82
  },
  "hsl": {
    "h": 340.15,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49612,
    "c": 0.17012,
    "h": 6.6
  },
  "luminance": 0.10653
}

Semantic roles & 50–950 ramp

primary
#AB2652
secondary
#68C5A6
accent
#E7B041
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#14080A
muted
#837B7C

Preview Lab

Preview with #AB2652

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

Preview Lab → · Contrast checker → · Palette generator →

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