#AB2059#AB2059

#AB2059 is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.4% C 0.177 H 2.3°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#AB2059
RGBrgb(171, 32, 89)
HSLhsl(335, 68%, 40%)
HSVhsv(335, 81%, 67%)
CMYKcmyk(0%, 81.3%, 48%, 32.9%)
CIE-LABlab(38.58, 57.70, 2.52)
CIE-LCHlch(38.58, 57.76, 2.50°)
OKLaboklab(49.37% 0.1771 0.0071)
OKLCHoklch(49.37% 0.177 2.3)
XYZxyz(19.1159, 10.4149, 10.4529)
Luminance0.1041 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2059 #20AB72
analogous
#AB209E #AB2059 #AB2D20
triadic
#AB2059 #59AB20 #2059AB
tetradic
#AB2059 #9EAB20 #20AB72 #2D20AB
square
#AB2059 #9EAB20 #20AB72 #2D20AB
split-complementary
#AB2059 #20AB2D #209EAB
monochromatic
#440D23 #77163E #AB2059 #D83075 #E26397

Accessibility & contrast

On white

6.81
#AB2059 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#AB2059 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2059
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2059#FFFFFF#000000##FFFFFF
##AB20591.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434A5A
Deuteranopia (green-blind)
#686456
Tritanopia (blue-blind)
#BA003A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ab2059;
/* rgb */ color: rgb(171, 32, 89);
/* oklch */ color: oklch(49.4% 0.177 2.3);
Tailwind
colors: {
  custom: {
    50: '#ca6c87',
    500: '#ab2059',
    950: '#000000',
  },
}
SCSS
$custom: #ab2059;
$custom-light: #ca6c87;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2059",
  "rgb": {
    "r": 171,
    "g": 32,
    "b": 89
  },
  "hsl": {
    "h": 335.396,
    "s": 68.473,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49368,
    "c": 0.17727,
    "h": 2.3
  },
  "luminance": 0.10412
}

Semantic roles & 50–950 ramp

primary
#AB2059
secondary
#60C79D
accent
#EBA43C
background
#FDF6F8
surface
#FAECEF
border
#D3C7CA
text
#14080B
muted
#837A7C

Preview Lab

Preview with #AB2059

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

Preview Lab → · Contrast checker → · Palette generator →

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