#AB2E4A#AB2E4A

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

Color values

HEX#AB2E4A
RGBrgb(171, 46, 74)
HSLhsl(347, 58%, 43%)
HSVhsv(347, 73%, 67%)
CMYKcmyk(0%, 73.1%, 56.7%, 32.9%)
CIE-LABlab(39.76, 52.04, 13.72)
CIE-LCHlch(39.76, 53.82, 14.77°)
OKLaboklab(50.12% 0.1572 0.0343)
OKLCHoklch(50.12% 0.161 12.3)
XYZxyz(19.0094, 11.1090, 7.6205)
Luminance0.1111 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2E4A #2EAB8F
analogous
#AB2E89 #AB2E4A #AB502E
triadic
#AB2E4A #4AAB2E #2E4AAB
tetradic
#AB2E4A #89AB2E #2EAB8F #502EAB
square
#AB2E4A #89AB2E #2EAB8F #502EAB
split-complementary
#AB2E4A #2EAB50 #2E89AB
monochromatic
#4B1420 #7B2135 #AB2E4A #CE4866 #DB798F

Accessibility & contrast

On white

6.52
#AB2E4A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#AB2E4A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2E4A
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2E4A#FFFFFF#000000##FFFFFF
##AB2E4A1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4D4A
Deuteranopia (green-blind)
#6F6747
Tritanopia (blue-blind)
#BB0C3A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ab2e4a;
/* rgb */ color: rgb(171, 46, 74);
/* oklch */ color: oklch(50.1% 0.161 12.3);
Tailwind
colors: {
  custom: {
    50: '#ca717c',
    500: '#ab2e4a',
    950: '#000000',
  },
}
SCSS
$custom: #ab2e4a;
$custom-light: #ca717c;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2e4a",
  "rgb": {
    "r": 171,
    "g": 46,
    "b": 74
  },
  "hsl": {
    "h": 346.56,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50117,
    "c": 0.1609,
    "h": 12.3
  },
  "luminance": 0.11106
}

Semantic roles & 50–950 ramp

primary
#AB2E4A
secondary
#72C3B1
accent
#E1BE47
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#140809
muted
#837B7B

Preview Lab

Preview with #AB2E4A

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

Preview Lab → · Contrast checker → · Palette generator →

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