#AB2C4F#AB2C4F

#AB2C4F is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.1% C 0.164 H 9.3°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#AB2C4F
RGBrgb(171, 44, 79)
HSLhsl(343, 59%, 42%)
HSVhsv(343, 74%, 67%)
CMYKcmyk(0%, 74.3%, 53.8%, 32.9%)
CIE-LABlab(39.63, 53.14, 10.37)
CIE-LCHlch(39.63, 54.15, 11.04°)
OKLaboklab(50.05% 0.1615 0.0264)
OKLCHoklch(50.05% 0.164 9.3)
XYZxyz(19.1083, 11.0265, 8.5177)
Luminance0.1102 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2C4F #2CAB88
analogous
#AB2C8E #AB2C4F #AB492C
triadic
#AB2C4F #4FAB2C #2C4FAB
tetradic
#AB2C4F #8EAB2C #2CAB88 #492CAB
square
#AB2C4F #8EAB2C #2CAB88 #492CAB
split-complementary
#AB2C4F #2CAB49 #2C8EAB
monochromatic
#4A1322 #7A1F39 #AB2C4F #CF456B #DC7692

Accessibility & contrast

On white

6.55
#AB2C4F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#AB2C4F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2C4F
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2C4F#FFFFFF#000000##FFFFFF
##AB2C4F1.006.553.206.55
#FFFFFF6.551.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4D50
Deuteranopia (green-blind)
#6D674C
Tritanopia (blue-blind)
#BB0A3B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ab2c4f;
/* rgb */ color: rgb(171, 44, 79);
/* oklch */ color: oklch(50.1% 0.164 9.3);
Tailwind
colors: {
  custom: {
    50: '#ca7080',
    500: '#ab2c4f',
    950: '#000000',
  },
}
SCSS
$custom: #ab2c4f;
$custom-light: #ca7080;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2c4f",
  "rgb": {
    "r": 171,
    "g": 44,
    "b": 79
  },
  "hsl": {
    "h": 343.465,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50053,
    "c": 0.1636,
    "h": 9.3
  },
  "luminance": 0.11024
}

Semantic roles & 50–950 ramp

primary
#AB2C4F
secondary
#6FC3AC
accent
#E2B746
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#14080A
muted
#837B7C

Preview Lab

Preview with #AB2C4F

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

Preview Lab → · Contrast checker → · Palette generator →

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