#AB4142#AB4142

#AB4142 is a mid, vivid red. Relative luminance 0.128; OKLCH L 52.1% C 0.140 H 22.7°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#AB4142
RGBrgb(171, 65, 66)
HSLhsl(359, 45%, 46%)
HSVhsv(359, 62%, 67%)
CMYKcmyk(0%, 62%, 61.4%, 32.9%)
CIE-LABlab(42.51, 43.54, 22.34)
CIE-LCHlch(42.51, 48.94, 27.16°)
OKLaboklab(52.12% 0.1288 0.054)
OKLCHoklch(52.12% 0.14 22.7)
XYZxyz(19.6701, 12.8344, 6.5947)
Luminance0.1283 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4142 #41ABAA
analogous
#AB4177 #AB4142 #AB7541
triadic
#AB4142 #42AB41 #4142AB
tetradic
#AB4142 #77AB41 #41ABAA #7541AB
square
#AB4142 #77AB41 #41ABAA #7541AB
split-complementary
#AB4142 #41AB75 #4177AB
monochromatic
#521F20 #7F3031 #AB4142 #C46566 #D59192

Accessibility & contrast

On white

5.89
#AB4142 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#AB4142 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4142
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4142#FFFFFF#000000##FFFFFF
##AB41421.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5641
Deuteranopia (green-blind)
#766D3F
Tritanopia (blue-blind)
#BB2C42
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ab4142;
/* rgb */ color: rgb(171, 65, 66);
/* oklch */ color: oklch(52.1% 0.140 22.7);
Tailwind
colors: {
  custom: {
    50: '#ca7a76',
    500: '#ab4142',
    950: '#000000',
  },
}
SCSS
$custom: #ab4142;
$custom-light: #ca7a76;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4142",
  "rgb": {
    "r": 171,
    "g": 65,
    "b": 66
  },
  "hsl": {
    "h": 359.434,
    "s": 44.915,
    "l": 46.275
  },
  "oklch": {
    "l": 0.52118,
    "c": 0.13961,
    "h": 22.7
  },
  "luminance": 0.12832
}

Semantic roles & 50–950 ramp

primary
#AB4142
secondary
#87C1C0
accent
#D5D353
background
#FDF7F7
surface
#FAEEED
border
#D3C9C8
text
#140A08
muted
#837C7B

Preview Lab

Preview with #AB4142

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

Preview Lab → · Contrast checker → · Palette generator →

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