#AB4240#AB4240

#AB4240 is a mid, vivid red. Relative luminance 0.129; OKLCH L 52.2% C 0.139 H 24.2°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#AB4240
RGBrgb(171, 66, 64)
HSLhsl(1, 46%, 46%)
HSVhsv(1, 63%, 67%)
CMYKcmyk(0%, 61.4%, 62.6%, 32.9%)
CIE-LABlab(42.65, 42.94, 23.73)
CIE-LCHlch(42.65, 49.06, 28.93°)
OKLaboklab(52.21% 0.1265 0.0569)
OKLCHoklch(52.21% 0.139 24.2)
XYZxyz(19.6701, 12.9271, 6.3089)
Luminance0.1293 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4240 #40A9AB
analogous
#AB4073 #AB4240 #AB7740
triadic
#AB4240 #40AB42 #4240AB
tetradic
#AB4240 #73AB40 #40A9AB #7740AB
square
#AB4240 #73AB40 #40A9AB #7740AB
split-complementary
#AB4240 #40AB77 #4073AB
monochromatic
#52201F #7E312F #AB4240 #C56563 #D59190

Accessibility & contrast

On white

5.86
#AB4240 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#AB4240 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4240
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4240#FFFFFF#000000##FFFFFF
##AB42401.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D573F
Deuteranopia (green-blind)
#776D3D
Tritanopia (blue-blind)
#BB2D42
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ab4240;
/* rgb */ color: rgb(171, 66, 64);
/* oklch */ color: oklch(52.2% 0.139 24.2);
Tailwind
colors: {
  custom: {
    50: '#ca7b75',
    500: '#ab4240',
    950: '#000000',
  },
}
SCSS
$custom: #ab4240;
$custom-light: #ca7b75;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4240",
  "rgb": {
    "r": 171,
    "g": 66,
    "b": 64
  },
  "hsl": {
    "h": 1.121,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.52212,
    "c": 0.13872,
    "h": 24.2
  },
  "luminance": 0.12925
}

Semantic roles & 50–950 ramp

primary
#AB4240
secondary
#86C0C1
accent
#D3D553
background
#FDF7F7
surface
#FAEEED
border
#D3C9C8
text
#140A08
muted
#837C7B

Preview Lab

Preview with #AB4240

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

Preview Lab → · Contrast checker → · Palette generator →

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