#AB2E40#AB2E40

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

Color values

HEX#AB2E40
RGBrgb(171, 46, 64)
HSLhsl(351, 58%, 43%)
HSVhsv(351, 73%, 67%)
CMYKcmyk(0%, 73.1%, 62.6%, 32.9%)
CIE-LABlab(39.55, 51.34, 19.74)
CIE-LCHlch(39.55, 55.00, 21.03°)
OKLaboklab(49.89% 0.1532 0.0478)
OKLCHoklch(49.89% 0.16 17.3)
XYZxyz(18.6989, 10.9848, 5.9852)
Luminance0.1098 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2E40 #2EAB99
analogous
#AB2E7F #AB2E40 #AB5A2E
triadic
#AB2E40 #40AB2E #2E40AB
tetradic
#AB2E40 #7FAB2E #2EAB99 #5A2EAB
square
#AB2E40 #7FAB2E #2EAB99 #5A2EAB
split-complementary
#AB2E40 #2EAB5A #2E7FAB
monochromatic
#4B141C #7B212E #AB2E40 #CE485C #DB7987

Accessibility & contrast

On white

6.57
#AB2E40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#AB2E40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2E40
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2E40#FFFFFF#000000##FFFFFF
##AB2E401.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504C40
Deuteranopia (green-blind)
#70673D
Tritanopia (blue-blind)
#BC0436
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ab2e40;
/* rgb */ color: rgb(171, 46, 64);
/* oklch */ color: oklch(49.9% 0.160 17.3);
Tailwind
colors: {
  custom: {
    50: '#cb7074',
    500: '#ab2e40',
    950: '#000000',
  },
}
SCSS
$custom: #ab2e40;
$custom-light: #cb7074;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2e40",
  "rgb": {
    "r": 171,
    "g": 46,
    "b": 64
  },
  "hsl": {
    "h": 351.36,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.49894,
    "c": 0.16046,
    "h": 17.3
  },
  "luminance": 0.10982
}

Semantic roles & 50–950 ramp

primary
#AB2E40
secondary
#72C3B7
accent
#E1CB47
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #AB2E40

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

Preview Lab → · Contrast checker → · Palette generator →

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