#AC5138#AC5138

#AC5138 is a mid, vivid red. Relative luminance 0.149; OKLCH L 54.4% C 0.126 H 36.3°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#AC5138
RGBrgb(172, 81, 56)
HSLhsl(13, 51%, 45%)
HSVhsv(13, 67%, 67%)
CMYKcmyk(0%, 52.9%, 67.4%, 32.5%)
CIE-LABlab(45.56, 35.36, 32.04)
CIE-LCHlch(45.56, 47.71, 42.18°)
OKLaboklab(54.4% 0.1013 0.0744)
OKLCHoklch(54.4% 0.126 36.3)
XYZxyz(20.6714, 14.9436, 5.5364)
Luminance0.1494 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5138 #3893AC
analogous
#AC3859 #AC5138 #AC8B38
triadic
#AC5138 #38AC51 #5138AC
tetradic
#AC5138 #59AC38 #3893AC #8B38AC
square
#AC5138 #59AC38 #3893AC #8B38AC
split-complementary
#AC5138 #38AC8B #3859AC
monochromatic
#50261A #7E3B29 #AC5138 #C97158 #D89887

Accessibility & contrast

On white

5.27
#AC5138 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AC5138
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5138#FFFFFF#000000##FFFFFF
##AC51381.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#696035
Deuteranopia (green-blind)
#7F7336
Tritanopia (blue-blind)
#BC3F4B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ac5138;
/* rgb */ color: rgb(172, 81, 56);
/* oklch */ color: oklch(54.4% 0.126 36.3);
Tailwind
colors: {
  custom: {
    50: '#ca846f',
    500: '#ac5138',
    950: '#000000',
  },
}
SCSS
$custom: #ac5138;
$custom-light: #ca846f;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5138",
  "rgb": {
    "r": 172,
    "g": 81,
    "b": 56
  },
  "hsl": {
    "h": 12.931,
    "s": 50.877,
    "l": 44.706
  },
  "oklch": {
    "l": 0.54401,
    "c": 0.12566,
    "h": 36.3
  },
  "luminance": 0.14941
}

Semantic roles & 50–950 ramp

primary
#AC5138
secondary
#7EB3C2
accent
#BCDA4D
background
#FDF8F6
surface
#FAEFEC
border
#D3CAC7
text
#140B07
muted
#837C7A

Preview Lab

Preview with #AC5138

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

Preview Lab → · Contrast checker → · Palette generator →

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