#AB2F5D#AB2F5D

#AB2F5D is a mid, vivid pink. Relative luminance 0.115; OKLCH L 50.7% C 0.163 H 2.5°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#AB2F5D
RGBrgb(171, 47, 93)
HSLhsl(338, 57%, 43%)
HSVhsv(338, 73%, 67%)
CMYKcmyk(0%, 72.5%, 45.6%, 32.9%)
CIE-LABlab(40.38, 53.31, 2.60)
CIE-LCHlch(40.38, 53.37, 2.79°)
OKLaboklab(50.74% 0.1633 0.0073)
OKLCHoklch(50.74% 0.163 2.5)
XYZxyz(19.7884, 11.4838, 11.5284)
Luminance0.1148 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2F5D #2FAB7D
analogous
#AB2F9B #AB2F5D #AB3F2F
triadic
#AB2F5D #5DAB2F #2F5DAB
tetradic
#AB2F5D #9BAB2F #2FAB7D #3F2FAB
square
#AB2F5D #9BAB2F #2FAB7D #3F2FAB
split-complementary
#AB2F5D #2FAB3F #2F9BAB
monochromatic
#4B1529 #7B2243 #AB2F5D #CD4A7B #DA7A9E

Accessibility & contrast

On white

6.37
#AB2F5D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB2F5D
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2F5D#FFFFFF#000000##FFFFFF
##AB2F5D1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B505E
Deuteranopia (green-blind)
#6C685A
Tritanopia (blue-blind)
#BA1B42
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #ab2f5d;
/* rgb */ color: rgb(171, 47, 93);
/* oklch */ color: oklch(50.7% 0.163 2.5);
Tailwind
colors: {
  custom: {
    50: '#c9728a',
    500: '#ab2f5d',
    950: '#000000',
  },
}
SCSS
$custom: #ab2f5d;
$custom-light: #c9728a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2f5d",
  "rgb": {
    "r": 171,
    "g": 47,
    "b": 93
  },
  "hsl": {
    "h": 337.742,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50735,
    "c": 0.16342,
    "h": 2.5
  },
  "luminance": 0.11481
}

Semantic roles & 50–950 ramp

primary
#AB2F5D
secondary
#73C3A5
accent
#E0A848
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080B
muted
#837B7C

Preview Lab

Preview with #AB2F5D

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

Preview Lab → · Contrast checker → · Palette generator →

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