#AB2F5F#AB2F5F

#AB2F5F is a mid, vivid pink. Relative luminance 0.115; OKLCH L 50.8% C 0.164 H 1.5°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#AB2F5F
RGBrgb(171, 47, 95)
HSLhsl(337, 57%, 43%)
HSVhsv(337, 73%, 67%)
CMYKcmyk(0%, 72.5%, 44.4%, 32.9%)
CIE-LABlab(40.44, 53.50, 1.42)
CIE-LCHlch(40.44, 53.52, 1.52°)
OKLaboklab(50.8% 0.164 0.0043)
OKLCHoklch(50.8% 0.164 1.5)
XYZxyz(19.8782, 11.5197, 12.0010)
Luminance0.1152 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2F5F #2FAB7B
analogous
#AB2F9D #AB2F5F #AB3D2F
triadic
#AB2F5F #5FAB2F #2F5FAB
tetradic
#AB2F5F #9DAB2F #2FAB7B #3D2FAB
square
#AB2F5F #9DAB2F #2FAB7B #3D2FAB
split-complementary
#AB2F5F #2FAB3D #2F9DAB
monochromatic
#4B152A #7B2244 #AB2F5F #CD4A7D #DA7A9F

Accessibility & contrast

On white

6.36
#AB2F5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#AB2F5F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2F5F
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2F5F#FFFFFF#000000##FFFFFF
##AB2F5F1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5060
Deuteranopia (green-blind)
#6B685C
Tritanopia (blue-blind)
#BA1C43
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #ab2f5f;
/* rgb */ color: rgb(171, 47, 95);
/* oklch */ color: oklch(50.8% 0.164 1.5);
Tailwind
colors: {
  custom: {
    50: '#c9728c',
    500: '#ab2f5f',
    950: '#000000',
  },
}
SCSS
$custom: #ab2f5f;
$custom-light: #c9728c;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2f5f",
  "rgb": {
    "r": 171,
    "g": 47,
    "b": 95
  },
  "hsl": {
    "h": 336.774,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50798,
    "c": 0.16402,
    "h": 1.5
  },
  "luminance": 0.11517
}

Semantic roles & 50–950 ramp

primary
#AB2F5F
secondary
#73C3A4
accent
#E0A548
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #AB2F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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