#AB5338#AB5338

#AB5338 is a mid, vivid red. Relative luminance 0.151; OKLCH L 54.6% C 0.123 H 37.7°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#AB5338
RGBrgb(171, 83, 56)
HSLhsl(14, 51%, 45%)
HSVhsv(14, 67%, 67%)
CMYKcmyk(0%, 51.5%, 67.3%, 32.9%)
CIE-LABlab(45.81, 33.91, 32.30)
CIE-LCHlch(45.81, 46.84, 43.61°)
OKLaboklab(54.57% 0.0969 0.075)
OKLCHoklch(54.57% 0.123 37.7)
XYZxyz(20.6035, 15.1324, 5.5765)
Luminance0.1513 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5338 #3890AB
analogous
#AB3857 #AB5338 #AB8D38
triadic
#AB5338 #38AB53 #5338AB
tetradic
#AB5338 #57AB38 #3890AB #8D38AB
square
#AB5338 #57AB38 #3890AB #8D38AB
split-complementary
#AB5338 #38AB8D #3857AB
monochromatic
#4F261A #7D3D29 #AB5338 #C87258 #D79986

Accessibility & contrast

On white

5.22
#AB5338 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#AB5338 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB5338
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5338#FFFFFF#000000##FFFFFF
##AB53381.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A6135
Deuteranopia (green-blind)
#807436
Tritanopia (blue-blind)
#BB424D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ab5338;
/* rgb */ color: rgb(171, 83, 56);
/* oklch */ color: oklch(54.6% 0.123 37.7);
Tailwind
colors: {
  custom: {
    50: '#ca856f',
    500: '#ab5338',
    950: '#000000',
  },
}
SCSS
$custom: #ab5338;
$custom-light: #ca856f;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5338",
  "rgb": {
    "r": 171,
    "g": 83,
    "b": 56
  },
  "hsl": {
    "h": 14.087,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.54567,
    "c": 0.12258,
    "h": 37.7
  },
  "luminance": 0.1513
}

Semantic roles & 50–950 ramp

primary
#AB5338
secondary
#7DB1C1
accent
#B9DA4E
background
#FDF8F6
surface
#FAEFEC
border
#D3CAC7
text
#140B07
muted
#837C7A

Preview Lab

Preview with #AB5338

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

Preview Lab → · Contrast checker → · Palette generator →

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