#AB2159#AB2159

#AB2159 is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.4% C 0.176 H 2.4°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#AB2159
RGBrgb(171, 33, 89)
HSLhsl(336, 68%, 40%)
HSVhsv(336, 81%, 67%)
CMYKcmyk(0%, 80.7%, 48%, 32.9%)
CIE-LABlab(38.67, 57.43, 2.66)
CIE-LCHlch(38.67, 57.49, 2.65°)
OKLaboklab(49.44% 0.1763 0.0074)
OKLCHoklch(49.44% 0.176 2.4)
XYZxyz(19.1433, 10.4696, 10.4620)
Luminance0.1047 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2159 #21AB73
analogous
#AB219E #AB2159 #AB2E21
triadic
#AB2159 #59AB21 #2159AB
tetradic
#AB2159 #9EAB21 #21AB73 #2E21AB
square
#AB2159 #9EAB21 #21AB73 #2E21AB
split-complementary
#AB2159 #21AB2E #219EAB
monochromatic
#440D24 #78173E #AB2159 #D73275 #E16598

Accessibility & contrast

On white

6.79
#AB2159 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#AB2159 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2159
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2159#FFFFFF#000000##FFFFFF
##AB21591.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab2159;
/* rgb */ color: rgb(171, 33, 89);
/* oklch */ color: oklch(49.4% 0.176 2.4);
Tailwind
colors: {
  custom: {
    50: '#ca6c87',
    500: '#ab2159',
    950: '#000000',
  },
}
SCSS
$custom: #ab2159;
$custom-light: #ca6c87;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2159",
  "rgb": {
    "r": 171,
    "g": 33,
    "b": 89
  },
  "hsl": {
    "h": 335.652,
    "s": 67.647,
    "l": 40
  },
  "oklch": {
    "l": 0.49438,
    "c": 0.17642,
    "h": 2.4
  },
  "luminance": 0.10467
}

Semantic roles & 50–950 ramp

primary
#AB2159
secondary
#61C79D
accent
#EBA43D
background
#FDF6F8
surface
#FAECEF
border
#D3C7CA
text
#14080B
muted
#837A7C

Preview Lab

Preview with #AB2159

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

Preview Lab → · Contrast checker → · Palette generator →

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