#AB2E4D#AB2E4D

#AB2E4D is a mid, vivid red. Relative luminance 0.111; OKLCH L 50.2% C 0.161 H 10.8°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#AB2E4D
RGBrgb(171, 46, 77)
HSLhsl(345, 58%, 43%)
HSVhsv(345, 73%, 67%)
CMYKcmyk(0%, 73.1%, 55%, 32.9%)
CIE-LABlab(39.83, 52.27, 11.92)
CIE-LCHlch(39.83, 53.62, 12.85°)
OKLaboklab(50.19% 0.1584 0.0301)
OKLCHoklch(50.19% 0.161 10.8)
XYZxyz(19.1129, 11.1504, 8.1655)
Luminance0.1115 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2E4D #2EAB8C
analogous
#AB2E8C #AB2E4D #AB4D2E
triadic
#AB2E4D #4DAB2E #2E4DAB
tetradic
#AB2E4D #8CAB2E #2EAB8C #4D2EAB
square
#AB2E4D #8CAB2E #2EAB8C #4D2EAB
split-complementary
#AB2E4D #2EAB4D #2E8CAB
monochromatic
#4B1422 #7B2137 #AB2E4D #CE4869 #DB7991

Accessibility & contrast

On white

6.50
#AB2E4D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#AB2E4D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2E4D
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2E4D#FFFFFF#000000##FFFFFF
##AB2E4D1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4E4D
Deuteranopia (green-blind)
#6E674A
Tritanopia (blue-blind)
#BB0E3B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ab2e4d;
/* rgb */ color: rgb(171, 46, 77);
/* oklch */ color: oklch(50.2% 0.161 10.8);
Tailwind
colors: {
  custom: {
    50: '#ca717e',
    500: '#ab2e4d',
    950: '#000000',
  },
}
SCSS
$custom: #ab2e4d;
$custom-light: #ca717e;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2e4d",
  "rgb": {
    "r": 171,
    "g": 46,
    "b": 77
  },
  "hsl": {
    "h": 345.12,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50191,
    "c": 0.16122,
    "h": 10.8
  },
  "luminance": 0.11148
}

Semantic roles & 50–950 ramp

primary
#AB2E4D
secondary
#72C3AF
accent
#E1BB47
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#140809
muted
#837B7B

Preview Lab

Preview with #AB2E4D

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

Preview Lab → · Contrast checker → · Palette generator →

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