#AB2B52#AB2B52

#AB2B52 is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.0% C 0.165 H 7.5°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#AB2B52
RGBrgb(171, 43, 82)
HSLhsl(342, 60%, 42%)
HSVhsv(342, 75%, 67%)
CMYKcmyk(0%, 74.9%, 52%, 32.9%)
CIE-LABlab(39.58, 53.74, 8.40)
CIE-LCHlch(39.58, 54.39, 8.88°)
OKLaboklab(50.04% 0.1637 0.0217)
OKLCHoklch(50.04% 0.165 7.5)
XYZxyz(19.1832, 10.9975, 9.0936)
Luminance0.1100 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2B52 #2BAB84
analogous
#AB2B92 #AB2B52 #AB442B
triadic
#AB2B52 #52AB2B #2B52AB
tetradic
#AB2B52 #92AB2B #2BAB84 #442BAB
square
#AB2B52 #92AB2B #2BAB84 #442BAB
split-complementary
#AB2B52 #2BAB44 #2B92AB
monochromatic
#491223 #7A1F3B #AB2B52 #D0436E #DC7494

Accessibility & contrast

On white

6.56
#AB2B52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#AB2B52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2B52
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2B52#FFFFFF#000000##FFFFFF
##AB2B521.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4D53
Deuteranopia (green-blind)
#6C674F
Tritanopia (blue-blind)
#BB0A3B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ab2b52;
/* rgb */ color: rgb(171, 43, 82);
/* oklch */ color: oklch(50.0% 0.165 7.5);
Tailwind
colors: {
  custom: {
    50: '#ca7082',
    500: '#ab2b52',
    950: '#000000',
  },
}
SCSS
$custom: #ab2b52;
$custom-light: #ca7082;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2b52",
  "rgb": {
    "r": 171,
    "g": 43,
    "b": 82
  },
  "hsl": {
    "h": 341.719,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50041,
    "c": 0.16515,
    "h": 7.5
  },
  "luminance": 0.10995
}

Semantic roles & 50–950 ramp

primary
#AB2B52
secondary
#6EC4AA
accent
#E3B345
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#14080A
muted
#837B7C

Preview Lab

Preview with #AB2B52

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

Preview Lab → · Contrast checker → · Palette generator →

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