#AB2F59#AB2F59

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

Color values

HEX#AB2F59
RGBrgb(171, 47, 89)
HSLhsl(340, 57%, 43%)
HSVhsv(340, 73%, 67%)
CMYKcmyk(0%, 72.5%, 48%, 32.9%)
CIE-LABlab(40.27, 52.93, 4.96)
CIE-LCHlch(40.27, 53.17, 5.35°)
OKLaboklab(50.62% 0.1618 0.0132)
OKLCHoklch(50.62% 0.162 4.7)
XYZxyz(19.6159, 11.4148, 10.6196)
Luminance0.1141 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2F59 #2FAB81
analogous
#AB2F97 #AB2F59 #AB432F
triadic
#AB2F59 #59AB2F #2F59AB
tetradic
#AB2F59 #97AB2F #2FAB81 #432FAB
square
#AB2F59 #97AB2F #2FAB81 #432FAB
split-complementary
#AB2F59 #2FAB43 #2F97AB
monochromatic
#4B1527 #7B2240 #AB2F59 #CD4A76 #DA7A9B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB2F59#FFFFFF#000000##FFFFFF
##AB2F591.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)
#4C4F5A
Deuteranopia (green-blind)
#6C6856
Tritanopia (blue-blind)
#BA1840
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #ab2f59;
/* rgb */ color: rgb(171, 47, 89);
/* oklch */ color: oklch(50.6% 0.162 4.7);
Tailwind
colors: {
  custom: {
    50: '#c97287',
    500: '#ab2f59',
    950: '#000000',
  },
}
SCSS
$custom: #ab2f59;
$custom-light: #c97287;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2f59",
  "rgb": {
    "r": 171,
    "g": 47,
    "b": 89
  },
  "hsl": {
    "h": 339.677,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50615,
    "c": 0.16234,
    "h": 4.7
  },
  "luminance": 0.11412
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB2F59

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

Preview Lab → · Contrast checker → · Palette generator →

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