#AB2B58#AB2B58

#AB2B58 is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.2% C 0.166 H 4.4°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#AB2B58
RGBrgb(171, 43, 88)
HSLhsl(339, 60%, 42%)
HSVhsv(339, 75%, 67%)
CMYKcmyk(0%, 74.9%, 48.5%, 32.9%)
CIE-LABlab(39.74, 54.26, 4.82)
CIE-LCHlch(39.74, 54.47, 5.08°)
OKLaboklab(50.21% 0.166 0.0129)
OKLCHoklch(50.21% 0.166 4.4)
XYZxyz(19.4215, 11.0929, 10.3491)
Luminance0.1109 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2B58 #2BAB7E
analogous
#AB2B98 #AB2B58 #AB3E2B
triadic
#AB2B58 #58AB2B #2B58AB
tetradic
#AB2B58 #98AB2B #2BAB7E #3E2BAB
square
#AB2B58 #98AB2B #2BAB7E #3E2BAB
split-complementary
#AB2B58 #2BAB3E #2B98AB
monochromatic
#491226 #7A1F3F #AB2B58 #D04375 #DC7499

Accessibility & contrast

On white

6.53
#AB2B58 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#AB2B58 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2B58
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2B58#FFFFFF#000000##FFFFFF
##AB2B581.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494E59
Deuteranopia (green-blind)
#6B6755
Tritanopia (blue-blind)
#BA0F3E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ab2b58;
/* rgb */ color: rgb(171, 43, 88);
/* oklch */ color: oklch(50.2% 0.166 4.4);
Tailwind
colors: {
  custom: {
    50: '#ca7086',
    500: '#ab2b58',
    950: '#000000',
  },
}
SCSS
$custom: #ab2b58;
$custom-light: #ca7086;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2b58",
  "rgb": {
    "r": 171,
    "g": 43,
    "b": 88
  },
  "hsl": {
    "h": 338.906,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50211,
    "c": 0.16647,
    "h": 4.4
  },
  "luminance": 0.1109
}

Semantic roles & 50–950 ramp

primary
#AB2B58
secondary
#6EC4A6
accent
#E3AB45
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14080B
muted
#837B7C

Preview Lab

Preview with #AB2B58

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

Preview Lab → · Contrast checker → · Palette generator →

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