#AB2D4C#AB2D4C

#AB2D4C is a mid, vivid red. Relative luminance 0.111; OKLCH L 50.1% C 0.162 H 11.1°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#AB2D4C
RGBrgb(171, 45, 76)
HSLhsl(345, 58%, 42%)
HSVhsv(345, 74%, 67%)
CMYKcmyk(0%, 73.7%, 55.6%, 32.9%)
CIE-LABlab(39.68, 52.55, 12.34)
CIE-LCHlch(39.68, 53.99, 13.22°)
OKLaboklab(50.07% 0.1591 0.0311)
OKLCHoklch(50.07% 0.162 11.1)
XYZxyz(19.0393, 11.0592, 7.9682)
Luminance0.1106 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2D4C #2DAB8C
analogous
#AB2D8B #AB2D4C #AB4D2D
triadic
#AB2D4C #4CAB2D #2D4CAB
tetradic
#AB2D4C #8BAB2D #2DAB8C #4D2DAB
square
#AB2D4C #8BAB2D #2DAB8C #4D2DAB
split-complementary
#AB2D4C #2DAB4D #2D8BAB
monochromatic
#4A1421 #7B2036 #AB2D4C #CE4768 #DB7790

Accessibility & contrast

On white

6.54
#AB2D4C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#AB2D4C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2D4C
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2D4C#FFFFFF#000000##FFFFFF
##AB2D4C1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab2d4c;
/* rgb */ color: rgb(171, 45, 76);
/* oklch */ color: oklch(50.1% 0.162 11.1);
Tailwind
colors: {
  custom: {
    50: '#ca707d',
    500: '#ab2d4c',
    950: '#000000',
  },
}
SCSS
$custom: #ab2d4c;
$custom-light: #ca707d;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2d4c",
  "rgb": {
    "r": 171,
    "g": 45,
    "b": 76
  },
  "hsl": {
    "h": 345.238,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.5007,
    "c": 0.16215,
    "h": 11.1
  },
  "luminance": 0.11057
}

Semantic roles & 50–950 ramp

primary
#AB2D4C
secondary
#71C3AF
accent
#E2BB46
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#140809
muted
#837B7B

Preview Lab

Preview with #AB2D4C

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

Preview Lab → · Contrast checker → · Palette generator →

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