#AB5438#AB5438

#AB5438 is a mid, vivid red. Relative luminance 0.153; OKLCH L 54.7% C 0.122 H 38.4°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#AB5438
RGBrgb(171, 84, 56)
HSLhsl(15, 51%, 45%)
HSVhsv(15, 67%, 67%)
CMYKcmyk(0%, 50.9%, 67.3%, 32.9%)
CIE-LABlab(46.02, 33.39, 32.55)
CIE-LCHlch(46.02, 46.63, 44.28°)
OKLaboklab(54.73% 0.0953 0.0756)
OKLCHoklch(54.73% 0.122 38.4)
XYZxyz(20.6806, 15.2865, 5.6022)
Luminance0.1528 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5438 #388FAB
analogous
#AB3855 #AB5438 #AB8E38
triadic
#AB5438 #38AB54 #5438AB
tetradic
#AB5438 #55AB38 #388FAB #8E38AB
square
#AB5438 #55AB38 #388FAB #8E38AB
split-complementary
#AB5438 #38AB8E #3855AB
monochromatic
#4F271A #7D3D29 #AB5438 #C87358 #D79A86

Accessibility & contrast

On white

5.18
#AB5438 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#AB5438 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB5438
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5438#FFFFFF#000000##FFFFFF
##AB54381.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B6135
Deuteranopia (green-blind)
#807436
Tritanopia (blue-blind)
#BB434E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ab5438;
/* rgb */ color: rgb(171, 84, 56);
/* oklch */ color: oklch(54.7% 0.122 38.4);
Tailwind
colors: {
  custom: {
    50: '#ca866f',
    500: '#ab5438',
    950: '#000000',
  },
}
SCSS
$custom: #ab5438;
$custom-light: #ca866f;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5438",
  "rgb": {
    "r": 171,
    "g": 84,
    "b": 56
  },
  "hsl": {
    "h": 14.609,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.54726,
    "c": 0.12163,
    "h": 38.4
  },
  "luminance": 0.15284
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB5438

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

Preview Lab → · Contrast checker → · Palette generator →

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