#AB5145#AB5145

#AB5145 is a mid, vivid red. Relative luminance 0.150; OKLCH L 54.5% C 0.121 H 29.3°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#AB5145
RGBrgb(171, 81, 69)
HSLhsl(7, 43%, 47%)
HSVhsv(7, 60%, 67%)
CMYKcmyk(0%, 52.6%, 59.6%, 32.9%)
CIE-LABlab(45.60, 35.85, 24.50)
CIE-LCHlch(45.60, 43.43, 34.35°)
OKLaboklab(54.47% 0.1052 0.0591)
OKLCHoklch(54.47% 0.121 29.3)
XYZxyz(20.8129, 14.9749, 7.4235)
Luminance0.1497 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5145 #459FAB
analogous
#AB456C #AB5145 #AB8445
triadic
#AB5145 #45AB51 #5145AB
tetradic
#AB5145 #6CAB45 #459FAB #8445AB
square
#AB5145 #6CAB45 #459FAB #8445AB
split-complementary
#AB5145 #45AB84 #456CAB
monochromatic
#542822 #7F3C33 #AB5145 #C3756A #D59D96

Accessibility & contrast

On white

5.26
#AB5145 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#AB5145 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB5145
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5145#FFFFFF#000000##FFFFFF
##AB51451.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#676044
Deuteranopia (green-blind)
#7D7343
Tritanopia (blue-blind)
#BB414E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ab5145;
/* rgb */ color: rgb(171, 81, 69);
/* oklch */ color: oklch(54.5% 0.121 29.3);
Tailwind
colors: {
  custom: {
    50: '#c98479',
    500: '#ab5145',
    950: '#000000',
  },
}
SCSS
$custom: #ab5145;
$custom-light: #c98479;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5145",
  "rgb": {
    "r": 171,
    "g": 81,
    "b": 69
  },
  "hsl": {
    "h": 7.059,
    "s": 42.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54467,
    "c": 0.1207,
    "h": 29.3
  },
  "luminance": 0.14972
}

Semantic roles & 50–950 ramp

primary
#AB5145
secondary
#8BBAC0
accent
#C4D256
background
#FDF8F7
surface
#FAEFED
border
#D3CAC8
text
#140B09
muted
#837C7B

Preview Lab

Preview with #AB5145

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

Preview Lab → · Contrast checker → · Palette generator →

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