#AB2049#AB2049

#AB2049 is a mid, vivid pink. Relative luminance 0.102; OKLCH L 48.9% C 0.174 H 10.1°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#AB2049
RGBrgb(171, 32, 73)
HSLhsl(342, 68%, 40%)
HSVhsv(342, 81%, 67%)
CMYKcmyk(0%, 81.3%, 57.3%, 32.9%)
CIE-LABlab(38.15, 56.42, 12.15)
CIE-LCHlch(38.15, 57.72, 12.16°)
OKLaboklab(48.92% 0.1712 0.0305)
OKLCHoklch(48.92% 0.174 10.1)
XYZxyz(18.5155, 10.1747, 7.2910)
Luminance0.1017 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2049 #20AB82
analogous
#AB208F #AB2049 #AB3C20
triadic
#AB2049 #49AB20 #2049AB
tetradic
#AB2049 #8FAB20 #20AB82 #3C20AB
square
#AB2049 #8FAB20 #20AB82 #3C20AB
split-complementary
#AB2049 #20AB3C #208FAB
monochromatic
#440D1D #771633 #AB2049 #D83062 #E26389

Accessibility & contrast

On white

6.92
#AB2049 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#AB2049 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2049
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2049#FFFFFF#000000##FFFFFF
##AB20491.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47484A
Deuteranopia (green-blind)
#6B6445
Tritanopia (blue-blind)
#BB0032
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #ab2049;
/* rgb */ color: rgb(171, 32, 73);
/* oklch */ color: oklch(48.9% 0.174 10.1);
Tailwind
colors: {
  custom: {
    50: '#cb6b7b',
    500: '#ab2049',
    950: '#000000',
  },
}
SCSS
$custom: #ab2049;
$custom-light: #cb6b7b;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2049",
  "rgb": {
    "r": 171,
    "g": 32,
    "b": 73
  },
  "hsl": {
    "h": 342.302,
    "s": 68.473,
    "l": 39.804
  },
  "oklch": {
    "l": 0.4892,
    "c": 0.17385,
    "h": 10.1
  },
  "luminance": 0.10172
}

Semantic roles & 50–950 ramp

primary
#AB2049
secondary
#60C7A9
accent
#EBB83C
background
#FDF6F7
surface
#FAECED
border
#D3C7C8
text
#150809
muted
#837A7B

Preview Lab

Preview with #AB2049

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

Preview Lab → · Contrast checker → · Palette generator →

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