#AB4245#AB4245

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

Color values

HEX#AB4245
RGBrgb(171, 66, 69)
HSLhsl(358, 44%, 46%)
HSVhsv(358, 61%, 67%)
CMYKcmyk(0%, 61.4%, 59.6%, 32.9%)
CIE-LABlab(42.74, 43.29, 20.81)
CIE-LCHlch(42.74, 48.03, 25.67°)
OKLaboklab(52.31% 0.1285 0.0507)
OKLCHoklch(52.31% 0.138 21.5)
XYZxyz(19.8188, 12.9866, 7.0921)
Luminance0.1298 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4245 #42ABA8
analogous
#AB427A #AB4245 #AB7442
triadic
#AB4245 #45AB42 #4245AB
tetradic
#AB4245 #7AAB42 #42ABA8 #7442AB
square
#AB4245 #7AAB42 #42ABA8 #7442AB
split-complementary
#AB4245 #42AB74 #427AAB
monochromatic
#532021 #7F3133 #AB4245 #C46669 #D59294

Accessibility & contrast

On white

5.84
#AB4245 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#AB4245 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4245
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4245#FFFFFF#000000##FFFFFF
##AB42451.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5744
Deuteranopia (green-blind)
#776D42
Tritanopia (blue-blind)
#BB2E44
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ab4245;
/* rgb */ color: rgb(171, 66, 69);
/* oklch */ color: oklch(52.3% 0.138 21.5);
Tailwind
colors: {
  custom: {
    50: '#ca7b78',
    500: '#ab4245',
    950: '#000000',
  },
}
SCSS
$custom: #ab4245;
$custom-light: #ca7b78;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4245",
  "rgb": {
    "r": 171,
    "g": 66,
    "b": 69
  },
  "hsl": {
    "h": 358.286,
    "s": 44.304,
    "l": 46.471
  },
  "oklch": {
    "l": 0.52308,
    "c": 0.13814,
    "h": 21.5
  },
  "luminance": 0.12984
}

Semantic roles & 50–950 ramp

primary
#AB4245
secondary
#88C0BF
accent
#D4D054
background
#FDF7F7
surface
#FAEEED
border
#D3C9C8
text
#140A09
muted
#837C7B

Preview Lab

Preview with #AB4245

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

Preview Lab → · Contrast checker → · Palette generator →

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