#AB2F5C#AB2F5C

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

Color values

HEX#AB2F5C
RGBrgb(171, 47, 92)
HSLhsl(338, 57%, 43%)
HSVhsv(338, 73%, 67%)
CMYKcmyk(0%, 72.5%, 46.2%, 32.9%)
CIE-LABlab(40.35, 53.21, 3.19)
CIE-LCHlch(40.35, 53.31, 3.43°)
OKLaboklab(50.71% 0.1629 0.0088)
OKLCHoklch(50.71% 0.163 3.1)
XYZxyz(19.7444, 11.4662, 11.2966)
Luminance0.1146 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2F5C #2FAB7E
analogous
#AB2F9A #AB2F5C #AB402F
triadic
#AB2F5C #5CAB2F #2F5CAB
tetradic
#AB2F5C #9AAB2F #2FAB7E #402FAB
square
#AB2F5C #9AAB2F #2FAB7E #402FAB
split-complementary
#AB2F5C #2FAB40 #2F9AAB
monochromatic
#4B1528 #7B2242 #AB2F5C #CD4A7A #DA7A9D

Accessibility & contrast

On white

6.38
#AB2F5C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#AB2F5C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2F5C
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2F5C#FFFFFF#000000##FFFFFF
##AB2F5C1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B505D
Deuteranopia (green-blind)
#6C6859
Tritanopia (blue-blind)
#BA1A42
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #ab2f5c;
/* rgb */ color: rgb(171, 47, 92);
/* oklch */ color: oklch(50.7% 0.163 3.1);
Tailwind
colors: {
  custom: {
    50: '#c9728a',
    500: '#ab2f5c',
    950: '#000000',
  },
}
SCSS
$custom: #ab2f5c;
$custom-light: #c9728a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2f5c",
  "rgb": {
    "r": 171,
    "g": 47,
    "b": 92
  },
  "hsl": {
    "h": 338.226,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50705,
    "c": 0.16314,
    "h": 3.1
  },
  "luminance": 0.11464
}

Semantic roles & 50–950 ramp

primary
#AB2F5C
secondary
#73C3A6
accent
#E0A948
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080B
muted
#837B7C

Preview Lab

Preview with #AB2F5C

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

Preview Lab → · Contrast checker → · Palette generator →

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