#AB2C42#AB2C42

#AB2C42 is a mid, vivid red. Relative luminance 0.109; OKLCH L 49.7% C 0.162 H 15.9°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#AB2C42
RGBrgb(171, 44, 66)
HSLhsl(350, 59%, 42%)
HSVhsv(350, 74%, 67%)
CMYKcmyk(0%, 74.3%, 61.4%, 32.9%)
CIE-LABlab(39.34, 52.19, 18.20)
CIE-LCHlch(39.34, 55.27, 19.22°)
OKLaboklab(49.74% 0.1563 0.0444)
OKLCHoklch(49.74% 0.162 15.9)
XYZxyz(18.6805, 10.8554, 6.2648)
Luminance0.1085 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2C42 #2CAB95
analogous
#AB2C82 #AB2C42 #AB552C
triadic
#AB2C42 #42AB2C #2C42AB
tetradic
#AB2C42 #82AB2C #2CAB95 #552CAB
square
#AB2C42 #82AB2C #2CAB95 #552CAB
split-complementary
#AB2C42 #2CAB55 #2C82AB
monochromatic
#4A131C #7A1F2F #AB2C42 #CF455D #DC7687

Accessibility & contrast

On white

6.62
#AB2C42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#AB2C42 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2C42
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2C42#FFFFFF#000000##FFFFFF
##AB2C421.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4C42
Deuteranopia (green-blind)
#6F663F
Tritanopia (blue-blind)
#BB0035
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ab2c42;
/* rgb */ color: rgb(171, 44, 66);
/* oklch */ color: oklch(49.7% 0.162 15.9);
Tailwind
colors: {
  custom: {
    50: '#cb7076',
    500: '#ab2c42',
    950: '#000000',
  },
}
SCSS
$custom: #ab2c42;
$custom-light: #cb7076;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2c42",
  "rgb": {
    "r": 171,
    "g": 44,
    "b": 66
  },
  "hsl": {
    "h": 349.606,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.49744,
    "c": 0.16246,
    "h": 15.9
  },
  "luminance": 0.10853
}

Semantic roles & 50–950 ramp

primary
#AB2C42
secondary
#6FC3B5
accent
#E2C746
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #AB2C42

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

Preview Lab → · Contrast checker → · Palette generator →

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