#AB2F68#AB2F68

#AB2F68 is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.1% C 0.167 H 356.8°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#AB2F68
RGBrgb(171, 47, 104)
HSLhsl(332, 57%, 43%)
HSVhsv(332, 73%, 67%)
CMYKcmyk(0%, 72.5%, 39.2%, 32.9%)
CIE-LABlab(40.72, 54.43, -3.82)
CIE-LCHlch(40.72, 54.56, 355.99°)
OKLaboklab(51.1% 0.167 -0.0093)
OKLCHoklch(51.1% 0.167 356.8)
XYZxyz(20.3112, 11.6929, 14.2814)
Luminance0.1169 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2F68 #2FAB72
analogous
#AB2FA6 #AB2F68 #AB342F
triadic
#AB2F68 #68AB2F #2F68AB
tetradic
#AB2F68 #A6AB2F #2FAB72 #342FAB
square
#AB2F68 #A6AB2F #2FAB72 #342FAB
split-complementary
#AB2F68 #2FAB34 #2FA6AB
monochromatic
#4B152E #7B224B #AB2F68 #CD4A86 #DA7AA6

Accessibility & contrast

On white

6.29
#AB2F68 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#AB2F68 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2F68
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2F68#FFFFFF#000000##FFFFFF
##AB2F681.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475169
Deuteranopia (green-blind)
#696865
Tritanopia (blue-blind)
#B92147
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ab2f68;
/* rgb */ color: rgb(171, 47, 104);
/* oklch */ color: oklch(51.1% 0.167 356.8);
Tailwind
colors: {
  custom: {
    50: '#c97293',
    500: '#ab2f68',
    950: '#000000',
  },
}
SCSS
$custom: #ab2f68;
$custom-light: #c97293;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2f68",
  "rgb": {
    "r": 171,
    "g": 47,
    "b": 104
  },
  "hsl": {
    "h": 332.419,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51097,
    "c": 0.16723,
    "h": 356.8
  },
  "luminance": 0.1169
}

Semantic roles & 50–950 ramp

primary
#AB2F68
secondary
#73C39E
accent
#E09A48
background
#FCF7F9
surface
#F9EDF1
border
#D2C8CB
text
#14090D
muted
#827B7E

Preview Lab

Preview with #AB2F68

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

Preview Lab → · Contrast checker → · Palette generator →

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