#AB4538#AB4538

#AB4538 is a mid, vivid red. Relative luminance 0.132; OKLCH L 52.5% C 0.137 H 29.7°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#AB4538
RGBrgb(171, 69, 56)
HSLhsl(7, 51%, 45%)
HSVhsv(7, 67%, 67%)
CMYKcmyk(0%, 59.6%, 67.3%, 32.9%)
CIE-LABlab(43.07, 40.99, 29.02)
CIE-LCHlch(43.07, 50.23, 35.30°)
OKLaboklab(52.48% 0.1189 0.0678)
OKLCHoklch(52.48% 0.137 29.7)
XYZxyz(19.6384, 13.2023, 5.2548)
Luminance0.1320 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4538 #389EAB
analogous
#AB3864 #AB4538 #AB7F38
triadic
#AB4538 #38AB45 #4538AB
tetradic
#AB4538 #64AB38 #389EAB #7F38AB
square
#AB4538 #64AB38 #389EAB #7F38AB
split-complementary
#AB4538 #38AB7F #3864AB
monochromatic
#4F201A #7D3229 #AB4538 #C86558 #D78F86

Accessibility & contrast

On white

5.77
#AB4538 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#AB4538 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4538
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4538#FFFFFF#000000##FFFFFF
##AB45381.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605836
Deuteranopia (green-blind)
#796E35
Tritanopia (blue-blind)
#BB3042
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ab4538;
/* rgb */ color: rgb(171, 69, 56);
/* oklch */ color: oklch(52.5% 0.137 29.7);
Tailwind
colors: {
  custom: {
    50: '#ca7c6f',
    500: '#ab4538',
    950: '#000000',
  },
}
SCSS
$custom: #ab4538;
$custom-light: #ca7c6f;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4538",
  "rgb": {
    "r": 171,
    "g": 69,
    "b": 56
  },
  "hsl": {
    "h": 6.783,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52482,
    "c": 0.13687,
    "h": 29.7
  },
  "luminance": 0.132
}

Semantic roles & 50–950 ramp

primary
#AB4538
secondary
#7DBAC1
accent
#CADA4E
background
#FDF7F6
surface
#FAEEEC
border
#D3C9C7
text
#140A07
muted
#837C7A

Preview Lab

Preview with #AB4538

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

Preview Lab → · Contrast checker → · Palette generator →

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