#AC4040#AC4040

#AC4040 is a mid, vivid red. Relative luminance 0.128; OKLCH L 52.1% C 0.142 H 23.4°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#AC4040
RGBrgb(172, 64, 64)
HSLhsl(0, 46%, 46%)
HSVhsv(0, 63%, 67%)
CMYKcmyk(0%, 62.8%, 62.8%, 32.5%)
CIE-LABlab(42.48, 44.22, 23.54)
CIE-LCHlch(42.48, 50.10, 28.03°)
OKLaboklab(52.11% 0.1304 0.0565)
OKLCHoklch(52.11% 0.142 23.4)
XYZxyz(19.7740, 12.8102, 6.2809)
Luminance0.1281 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC4040 #40ACAC
analogous
#AC4076 #AC4040 #AC7640
triadic
#AC4040 #40AC40 #4040AC
tetradic
#AC4040 #76AC40 #40ACAC #7640AC
square
#AC4040 #76AC40 #40ACAC #7640AC
split-complementary
#AC4040 #40AC76 #4076AC
monochromatic
#531F1F #7F2F2F #AC4040 #C56464 #D69191

Accessibility & contrast

On white

5.90
#AC4040 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#AC4040 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC4040
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC4040#FFFFFF#000000##FFFFFF
##AC40401.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C563F
Deuteranopia (green-blind)
#776D3D
Tritanopia (blue-blind)
#BC2A41
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ac4040;
/* rgb */ color: rgb(172, 64, 64);
/* oklch */ color: oklch(52.1% 0.142 23.4);
Tailwind
colors: {
  custom: {
    50: '#cb7a74',
    500: '#ac4040',
    950: '#000000',
  },
}
SCSS
$custom: #ac4040;
$custom-light: #cb7a74;
$custom-dark: #000000;
JSON
{
  "hex": "#ac4040",
  "rgb": {
    "r": 172,
    "g": 64,
    "b": 64
  },
  "hsl": {
    "h": 0,
    "s": 45.763,
    "l": 46.275
  },
  "oklch": {
    "l": 0.52111,
    "c": 0.14213,
    "h": 23.4
  },
  "luminance": 0.12808
}

Semantic roles & 50–950 ramp

primary
#AC4040
secondary
#87C1C1
accent
#D5D552
background
#FDF7F7
surface
#FAEEED
border
#D3C9C8
text
#140908
muted
#837B7B

Preview Lab

Preview with #AC4040

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

Preview Lab → · Contrast checker → · Palette generator →

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