#AB2E4C#AB2E4C

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

Color values

HEX#AB2E4C
RGBrgb(171, 46, 76)
HSLhsl(346, 58%, 43%)
HSVhsv(346, 73%, 67%)
CMYKcmyk(0%, 73.1%, 55.6%, 32.9%)
CIE-LABlab(39.81, 52.20, 12.52)
CIE-LCHlch(39.81, 53.68, 13.49°)
OKLaboklab(50.17% 0.158 0.0315)
OKLCHoklch(50.17% 0.161 11.3)
XYZxyz(19.0779, 11.1364, 7.9810)
Luminance0.1113 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2E4C #2EAB8D
analogous
#AB2E8B #AB2E4C #AB4E2E
triadic
#AB2E4C #4CAB2E #2E4CAB
tetradic
#AB2E4C #8BAB2E #2EAB8D #4E2EAB
square
#AB2E4C #8BAB2E #2EAB8D #4E2EAB
split-complementary
#AB2E4C #2EAB4E #2E8BAB
monochromatic
#4B1421 #7B2137 #AB2E4C #CE4868 #DB7990

Accessibility & contrast

On white

6.51
#AB2E4C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB2E4C
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2E4C#FFFFFF#000000##FFFFFF
##AB2E4C1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4E4C
Deuteranopia (green-blind)
#6E6749
Tritanopia (blue-blind)
#BB0D3A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ab2e4c;
/* rgb */ color: rgb(171, 46, 76);
/* oklch */ color: oklch(50.2% 0.161 11.3);
Tailwind
colors: {
  custom: {
    50: '#ca717d',
    500: '#ab2e4c',
    950: '#000000',
  },
}
SCSS
$custom: #ab2e4c;
$custom-light: #ca717d;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2e4c",
  "rgb": {
    "r": 171,
    "g": 46,
    "b": 76
  },
  "hsl": {
    "h": 345.6,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50166,
    "c": 0.1611,
    "h": 11.3
  },
  "luminance": 0.11134
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB2E4C

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

Preview Lab → · Contrast checker → · Palette generator →

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