#AB2E42#AB2E42

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

Color values

HEX#AB2E42
RGBrgb(171, 46, 66)
HSLhsl(350, 58%, 43%)
HSVhsv(350, 73%, 67%)
CMYKcmyk(0%, 73.1%, 61.4%, 32.9%)
CIE-LABlab(39.59, 51.47, 18.54)
CIE-LCHlch(39.59, 54.71, 19.80°)
OKLaboklab(49.94% 0.154 0.0452)
OKLCHoklch(49.94% 0.16 16.4)
XYZxyz(18.7568, 11.0080, 6.2903)
Luminance0.1100 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2E42 #2EAB97
analogous
#AB2E81 #AB2E42 #AB582E
triadic
#AB2E42 #42AB2E #2E42AB
tetradic
#AB2E42 #81AB2E #2EAB97 #582EAB
square
#AB2E42 #81AB2E #2EAB97 #582EAB
split-complementary
#AB2E42 #2EAB58 #2E81AB
monochromatic
#4B141D #7B212F #AB2E42 #CE485E #DB7988

Accessibility & contrast

On white

6.56
#AB2E42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB2E42
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2E42#FFFFFF#000000##FFFFFF
##AB2E421.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504D42
Deuteranopia (green-blind)
#70673F
Tritanopia (blue-blind)
#BB0536
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ab2e42;
/* rgb */ color: rgb(171, 46, 66);
/* oklch */ color: oklch(49.9% 0.160 16.4);
Tailwind
colors: {
  custom: {
    50: '#cb7076',
    500: '#ab2e42',
    950: '#000000',
  },
}
SCSS
$custom: #ab2e42;
$custom-light: #cb7076;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2e42",
  "rgb": {
    "r": 171,
    "g": 46,
    "b": 66
  },
  "hsl": {
    "h": 350.4,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.49936,
    "c": 0.16047,
    "h": 16.4
  },
  "luminance": 0.11005
}

Semantic roles & 50–950 ramp

primary
#AB2E42
secondary
#72C3B6
accent
#E1C847
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #AB2E42

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

Preview Lab → · Contrast checker → · Palette generator →

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