#AB2C4C#AB2C4C

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

Color values

HEX#AB2C4C
RGBrgb(171, 44, 76)
HSLhsl(345, 59%, 42%)
HSVhsv(345, 74%, 67%)
CMYKcmyk(0%, 74.3%, 55.6%, 32.9%)
CIE-LABlab(39.55, 52.91, 12.17)
CIE-LCHlch(39.55, 54.29, 12.95°)
OKLaboklab(49.98% 0.1603 0.0307)
OKLCHoklch(49.98% 0.163 10.8)
XYZxyz(19.0016, 10.9838, 7.9556)
Luminance0.1098 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2C4C #2CAB8B
analogous
#AB2C8C #AB2C4C #AB4C2C
triadic
#AB2C4C #4CAB2C #2C4CAB
tetradic
#AB2C4C #8CAB2C #2CAB8B #4C2CAB
square
#AB2C4C #8CAB2C #2CAB8B #4C2CAB
split-complementary
#AB2C4C #2CAB4C #2C8CAB
monochromatic
#4A1321 #7A1F36 #AB2C4C #CF4568 #DC768F

Accessibility & contrast

On white

6.57
#AB2C4C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB2C4C
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2C4C#FFFFFF#000000##FFFFFF
##AB2C4C1.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4D4C
Deuteranopia (green-blind)
#6E6749
Tritanopia (blue-blind)
#BB0739
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ab2c4c;
/* rgb */ color: rgb(171, 44, 76);
/* oklch */ color: oklch(50.0% 0.163 10.8);
Tailwind
colors: {
  custom: {
    50: '#ca707d',
    500: '#ab2c4c',
    950: '#000000',
  },
}
SCSS
$custom: #ab2c4c;
$custom-light: #ca707d;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2c4c",
  "rgb": {
    "r": 171,
    "g": 44,
    "b": 76
  },
  "hsl": {
    "h": 344.882,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.49976,
    "c": 0.16318,
    "h": 10.8
  },
  "luminance": 0.10981
}

Semantic roles & 50–950 ramp

primary
#AB2C4C
secondary
#6FC3AE
accent
#E2BB46
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#140809
muted
#837B7B

Preview Lab

Preview with #AB2C4C

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

Preview Lab → · Contrast checker → · Palette generator →

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