#AB2E58#AB2E58

#AB2E58 is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.5% C 0.163 H 5.0°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#AB2E58
RGBrgb(171, 46, 88)
HSLhsl(340, 58%, 43%)
HSVhsv(340, 73%, 67%)
CMYKcmyk(0%, 73.1%, 48.5%, 32.9%)
CIE-LABlab(40.11, 53.21, 5.36)
CIE-LCHlch(40.11, 53.47, 5.75°)
OKLaboklab(50.49% 0.1626 0.0142)
OKLCHoklch(50.49% 0.163 5)
XYZxyz(19.5347, 11.3191, 10.3868)
Luminance0.1132 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2E58 #2EAB81
analogous
#AB2E97 #AB2E58 #AB422E
triadic
#AB2E58 #58AB2E #2E58AB
tetradic
#AB2E58 #97AB2E #2EAB81 #422EAB
square
#AB2E58 #97AB2E #2EAB81 #422EAB
split-complementary
#AB2E58 #2EAB42 #2E97AB
monochromatic
#4B1426 #7B213F #AB2E58 #CE4875 #DB799A

Accessibility & contrast

On white

6.44
#AB2E58 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#AB2E58 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2E58
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2E58#FFFFFF#000000##FFFFFF
##AB2E581.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4F59
Deuteranopia (green-blind)
#6C6855
Tritanopia (blue-blind)
#BA163F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ab2e58;
/* rgb */ color: rgb(171, 46, 88);
/* oklch */ color: oklch(50.5% 0.163 5.0);
Tailwind
colors: {
  custom: {
    50: '#c97186',
    500: '#ab2e58',
    950: '#000000',
  },
}
SCSS
$custom: #ab2e58;
$custom-light: #c97186;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2e58",
  "rgb": {
    "r": 171,
    "g": 46,
    "b": 88
  },
  "hsl": {
    "h": 339.84,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50489,
    "c": 0.16321,
    "h": 5
  },
  "luminance": 0.11316
}

Semantic roles & 50–950 ramp

primary
#AB2E58
secondary
#72C3A8
accent
#E1AD47
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14080B
muted
#837B7C

Preview Lab

Preview with #AB2E58

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

Preview Lab → · Contrast checker → · Palette generator →

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