#AB2F55#AB2F55

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

Color values

HEX#AB2F55
RGBrgb(171, 47, 85)
HSLhsl(342, 57%, 43%)
HSVhsv(342, 73%, 67%)
CMYKcmyk(0%, 72.5%, 50.3%, 32.9%)
CIE-LABlab(40.16, 52.58, 7.33)
CIE-LCHlch(40.16, 53.08, 7.94°)
OKLaboklab(50.5% 0.1603 0.0191)
OKLCHoklch(50.5% 0.161 6.8)
XYZxyz(19.4525, 11.3494, 9.7589)
Luminance0.1135 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2F55 #2FAB85
analogous
#AB2F93 #AB2F55 #AB472F
triadic
#AB2F55 #55AB2F #2F55AB
tetradic
#AB2F55 #93AB2F #2FAB85 #472FAB
square
#AB2F55 #93AB2F #2FAB85 #472FAB
split-complementary
#AB2F55 #2FAB47 #2F93AB
monochromatic
#4B1525 #7B223D #AB2F55 #CD4A72 #DA7A98

Accessibility & contrast

On white

6.42
#AB2F55 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#AB2F55 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2F55
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2F55#FFFFFF#000000##FFFFFF
##AB2F551.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4F56
Deuteranopia (green-blind)
#6D6852
Tritanopia (blue-blind)
#BA163F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #ab2f55;
/* rgb */ color: rgb(171, 47, 85);
/* oklch */ color: oklch(50.5% 0.161 6.8);
Tailwind
colors: {
  custom: {
    50: '#ca7184',
    500: '#ab2f55',
    950: '#000000',
  },
}
SCSS
$custom: #ab2f55;
$custom-light: #ca7184;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2f55",
  "rgb": {
    "r": 171,
    "g": 47,
    "b": 85
  },
  "hsl": {
    "h": 341.613,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.505,
    "c": 0.16143,
    "h": 6.8
  },
  "luminance": 0.11347
}

Semantic roles & 50–950 ramp

primary
#AB2F55
secondary
#73C3AA
accent
#E0B148
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14080A
muted
#837B7C

Preview Lab

Preview with #AB2F55

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

Preview Lab → · Contrast checker → · Palette generator →

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