#AB2F58#AB2F58

#AB2F58 is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.6% C 0.162 H 5.2°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#AB2F58
RGBrgb(171, 47, 88)
HSLhsl(340, 57%, 43%)
HSVhsv(340, 73%, 67%)
CMYKcmyk(0%, 72.5%, 48.5%, 32.9%)
CIE-LABlab(40.24, 52.84, 5.55)
CIE-LCHlch(40.24, 53.13, 5.99°)
OKLaboklab(50.59% 0.1614 0.0147)
OKLCHoklch(50.59% 0.162 5.2)
XYZxyz(19.5742, 11.3981, 10.3999)
Luminance0.1140 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2F58 #2FAB82
analogous
#AB2F96 #AB2F58 #AB442F
triadic
#AB2F58 #58AB2F #2F58AB
tetradic
#AB2F58 #96AB2F #2FAB82 #442FAB
square
#AB2F58 #96AB2F #2FAB82 #442FAB
split-complementary
#AB2F58 #2FAB44 #2F96AB
monochromatic
#4B1527 #7B223F #AB2F58 #CD4A75 #DA7A9A

Accessibility & contrast

On white

6.40
#AB2F58 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#AB2F58 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2F58
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2F58#FFFFFF#000000##FFFFFF
##AB2F581.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4F59
Deuteranopia (green-blind)
#6D6855
Tritanopia (blue-blind)
#BA1840
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #ab2f58;
/* rgb */ color: rgb(171, 47, 88);
/* oklch */ color: oklch(50.6% 0.162 5.2);
Tailwind
colors: {
  custom: {
    50: '#c97286',
    500: '#ab2f58',
    950: '#000000',
  },
}
SCSS
$custom: #ab2f58;
$custom-light: #c97286;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2f58",
  "rgb": {
    "r": 171,
    "g": 47,
    "b": 88
  },
  "hsl": {
    "h": 340.161,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50586,
    "c": 0.1621,
    "h": 5.2
  },
  "luminance": 0.11396
}

Semantic roles & 50–950 ramp

primary
#AB2F58
secondary
#73C3A8
accent
#E0AE48
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14080B
muted
#837B7C

Preview Lab

Preview with #AB2F58

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

Preview Lab → · Contrast checker → · Palette generator →

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