#AB4338#AB4338

#AB4338 is a mid, vivid red. Relative luminance 0.130; OKLCH L 52.2% C 0.139 H 28.7°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#AB4338
RGBrgb(171, 67, 56)
HSLhsl(6, 51%, 45%)
HSVhsv(6, 67%, 67%)
CMYKcmyk(0%, 60.8%, 67.3%, 32.9%)
CIE-LABlab(42.70, 41.95, 28.58)
CIE-LCHlch(42.70, 50.76, 34.27°)
OKLaboklab(52.21% 0.1219 0.0668)
OKLCHoklch(52.21% 0.139 28.7)
XYZxyz(19.5175, 12.9604, 5.2145)
Luminance0.1296 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4338 #38A0AB
analogous
#AB3867 #AB4338 #AB7D38
triadic
#AB4338 #38AB43 #4338AB
tetradic
#AB4338 #67AB38 #38A0AB #7D38AB
square
#AB4338 #67AB38 #38A0AB #7D38AB
split-complementary
#AB4338 #38AB7D #3867AB
monochromatic
#4F1F1A #7D3129 #AB4338 #C86358 #D78E86

Accessibility & contrast

On white

5.85
#AB4338 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#AB4338 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4338
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4338#FFFFFF#000000##FFFFFF
##AB43381.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5736
Deuteranopia (green-blind)
#786D35
Tritanopia (blue-blind)
#BC2D41
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ab4338;
/* rgb */ color: rgb(171, 67, 56);
/* oklch */ color: oklch(52.2% 0.139 28.7);
Tailwind
colors: {
  custom: {
    50: '#ca7b6f',
    500: '#ab4338',
    950: '#000000',
  },
}
SCSS
$custom: #ab4338;
$custom-light: #ca7b6f;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4338",
  "rgb": {
    "r": 171,
    "g": 67,
    "b": 56
  },
  "hsl": {
    "h": 5.739,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52208,
    "c": 0.139,
    "h": 28.7
  },
  "luminance": 0.12958
}

Semantic roles & 50–950 ramp

primary
#AB4338
secondary
#7DBBC1
accent
#CDDA4E
background
#FDF7F6
surface
#FAEEEC
border
#D3C9C7
text
#140A07
muted
#837C7A

Preview Lab

Preview with #AB4338

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

Preview Lab → · Contrast checker → · Palette generator →

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