#AB2C4E#AB2C4E

#AB2C4E is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.0% C 0.163 H 9.8°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#AB2C4E
RGBrgb(171, 44, 78)
HSLhsl(344, 59%, 42%)
HSVhsv(344, 74%, 67%)
CMYKcmyk(0%, 74.3%, 54.4%, 32.9%)
CIE-LABlab(39.60, 53.07, 10.97)
CIE-LCHlch(39.60, 54.19, 11.68°)
OKLaboklab(50.03% 0.1611 0.0279)
OKLCHoklch(50.03% 0.163 9.8)
XYZxyz(19.0722, 11.0120, 8.3275)
Luminance0.1101 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2C4E #2CAB89
analogous
#AB2C8E #AB2C4E #AB4A2C
triadic
#AB2C4E #4EAB2C #2C4EAB
tetradic
#AB2C4E #8EAB2C #2CAB89 #4A2CAB
square
#AB2C4E #8EAB2C #2CAB89 #4A2CAB
split-complementary
#AB2C4E #2CAB4A #2C8EAB
monochromatic
#4A1322 #7A1F38 #AB2C4E #CF456A #DC7691

Accessibility & contrast

On white

6.56
#AB2C4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB2C4E
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2C4E#FFFFFF#000000##FFFFFF
##AB2C4E1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4D4F
Deuteranopia (green-blind)
#6D674B
Tritanopia (blue-blind)
#BB093A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ab2c4e;
/* rgb */ color: rgb(171, 44, 78);
/* oklch */ color: oklch(50.0% 0.163 9.8);
Tailwind
colors: {
  custom: {
    50: '#ca707f',
    500: '#ab2c4e',
    950: '#000000',
  },
}
SCSS
$custom: #ab2c4e;
$custom-light: #ca707f;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2c4e",
  "rgb": {
    "r": 171,
    "g": 44,
    "b": 78
  },
  "hsl": {
    "h": 343.937,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50027,
    "c": 0.16345,
    "h": 9.8
  },
  "luminance": 0.11009
}

Semantic roles & 50–950 ramp

primary
#AB2C4E
secondary
#6FC3AD
accent
#E2B846
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#14080A
muted
#837B7C

Preview Lab

Preview with #AB2C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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