#AB4340#AB4340

#AB4340 is a mid, vivid red. Relative luminance 0.130; OKLCH L 52.3% C 0.138 H 24.7°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#AB4340
RGBrgb(171, 67, 64)
HSLhsl(2, 46%, 46%)
HSVhsv(2, 63%, 67%)
CMYKcmyk(0%, 60.8%, 62.6%, 32.9%)
CIE-LABlab(42.83, 42.46, 23.96)
CIE-LCHlch(42.83, 48.76, 29.43°)
OKLaboklab(52.35% 0.125 0.0575)
OKLCHoklch(52.35% 0.138 24.7)
XYZxyz(19.7290, 13.0450, 6.3285)
Luminance0.1304 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4340 #40A8AB
analogous
#AB4072 #AB4340 #AB7840
triadic
#AB4340 #40AB43 #4340AB
tetradic
#AB4340 #72AB40 #40A8AB #7840AB
square
#AB4340 #72AB40 #40A8AB #7840AB
split-complementary
#AB4340 #40AB78 #4072AB
monochromatic
#52201F #7E322F #AB4340 #C56663 #D59290

Accessibility & contrast

On white

5.82
#AB4340 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#AB4340 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4340
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4340#FFFFFF#000000##FFFFFF
##AB43401.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab4340;
/* rgb */ color: rgb(171, 67, 64);
/* oklch */ color: oklch(52.3% 0.138 24.7);
Tailwind
colors: {
  custom: {
    50: '#ca7b75',
    500: '#ab4340',
    950: '#000000',
  },
}
SCSS
$custom: #ab4340;
$custom-light: #ca7b75;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4340",
  "rgb": {
    "r": 171,
    "g": 67,
    "b": 64
  },
  "hsl": {
    "h": 1.682,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.52346,
    "c": 0.13759,
    "h": 24.7
  },
  "luminance": 0.13042
}

Semantic roles & 50–950 ramp

primary
#AB4340
secondary
#86BFC1
accent
#D2D553
background
#FDF7F7
surface
#FAEEED
border
#D3C9C8
text
#140A08
muted
#837C7B

Preview Lab

Preview with #AB4340

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

Preview Lab → · Contrast checker → · Palette generator →

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