#AB4545#AB4545

#AB4545 is a mid, vivid red. Relative luminance 0.133; OKLCH L 52.7% C 0.135 H 22.9°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#AB4545
RGBrgb(171, 69, 69)
HSLhsl(0, 43%, 47%)
HSVhsv(0, 60%, 67%)
CMYKcmyk(0%, 59.6%, 59.6%, 32.9%)
CIE-LABlab(43.28, 41.87, 21.51)
CIE-LCHlch(43.28, 47.07, 27.19°)
OKLaboklab(52.71% 0.124 0.0523)
OKLCHoklch(52.71% 0.135 22.9)
XYZxyz(19.9987, 13.3464, 7.1521)
Luminance0.1334 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4545 #45ABAB
analogous
#AB4578 #AB4545 #AB7845
triadic
#AB4545 #45AB45 #4545AB
tetradic
#AB4545 #78AB45 #45ABAB #7845AB
square
#AB4545 #78AB45 #45ABAB #7845AB
split-complementary
#AB4545 #45AB78 #4578AB
monochromatic
#542222 #7F3333 #AB4545 #C36A6A #D59696

Accessibility & contrast

On white

5.72
#AB4545 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#AB4545 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4545
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4545#FFFFFF#000000##FFFFFF
##AB45451.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5944
Deuteranopia (green-blind)
#786E43
Tritanopia (blue-blind)
#BB3246
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ab4545;
/* rgb */ color: rgb(171, 69, 69);
/* oklch */ color: oklch(52.7% 0.135 22.9);
Tailwind
colors: {
  custom: {
    50: '#ca7d78',
    500: '#ab4545',
    950: '#000000',
  },
}
SCSS
$custom: #ab4545;
$custom-light: #ca7d78;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4545",
  "rgb": {
    "r": 171,
    "g": 69,
    "b": 69
  },
  "hsl": {
    "h": 0,
    "s": 42.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.52713,
    "c": 0.1346,
    "h": 22.9
  },
  "luminance": 0.13344
}

Semantic roles & 50–950 ramp

primary
#AB4545
secondary
#8BC0C0
accent
#D2D256
background
#FDF7F7
surface
#FAEEED
border
#D3C9C8
text
#140A09
muted
#837C7B

Preview Lab

Preview with #AB4545

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

Preview Lab → · Contrast checker → · Palette generator →

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