#AB2C4A#AB2C4A

#AB2C4A is a mid, vivid red. Relative luminance 0.110; OKLCH L 49.9% C 0.163 H 11.9°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#AB2C4A
RGBrgb(171, 44, 74)
HSLhsl(346, 59%, 42%)
HSVhsv(346, 74%, 67%)
CMYKcmyk(0%, 74.3%, 56.7%, 32.9%)
CIE-LABlab(39.51, 52.76, 13.37)
CIE-LCHlch(39.51, 54.42, 14.22°)
OKLaboklab(49.93% 0.1595 0.0335)
OKLCHoklch(49.93% 0.163 11.9)
XYZxyz(18.9331, 10.9564, 7.5951)
Luminance0.1095 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2C4A #2CAB8D
analogous
#AB2C8A #AB2C4A #AB4E2C
triadic
#AB2C4A #4AAB2C #2C4AAB
tetradic
#AB2C4A #8AAB2C #2CAB8D #4E2CAB
square
#AB2C4A #8AAB2C #2CAB8D #4E2CAB
split-complementary
#AB2C4A #2CAB4E #2C8AAB
monochromatic
#4A1320 #7A1F35 #AB2C4A #CF4566 #DC768E

Accessibility & contrast

On white

6.58
#AB2C4A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#AB2C4A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2C4A
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2C4A#FFFFFF#000000##FFFFFF
##AB2C4A1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4C4A
Deuteranopia (green-blind)
#6E6747
Tritanopia (blue-blind)
#BB0538
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ab2c4a;
/* rgb */ color: rgb(171, 44, 74);
/* oklch */ color: oklch(49.9% 0.163 11.9);
Tailwind
colors: {
  custom: {
    50: '#ca707c',
    500: '#ab2c4a',
    950: '#000000',
  },
}
SCSS
$custom: #ab2c4a;
$custom-light: #ca707c;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2c4a",
  "rgb": {
    "r": 171,
    "g": 44,
    "b": 74
  },
  "hsl": {
    "h": 345.827,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.49927,
    "c": 0.16296,
    "h": 11.9
  },
  "luminance": 0.10954
}

Semantic roles & 50–950 ramp

primary
#AB2C4A
secondary
#6FC3B0
accent
#E2BD46
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#140809
muted
#837B7B

Preview Lab

Preview with #AB2C4A

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

Preview Lab → · Contrast checker → · Palette generator →

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