#AC402D#AC402D

#AC402D is a mid, vivid red. Relative luminance 0.126; OKLCH L 51.8% C 0.146 H 32.2°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#AC402D
RGBrgb(172, 64, 45)
HSLhsl(9, 59%, 43%)
HSVhsv(9, 74%, 67%)
CMYKcmyk(0%, 62.8%, 73.8%, 32.5%)
CIE-LABlab(42.20, 43.14, 34.40)
CIE-LCHlch(42.20, 55.18, 38.57°)
OKLaboklab(51.82% 0.1233 0.0775)
OKLCHoklch(51.82% 0.146 32.2)
XYZxyz(19.3223, 12.6296, 3.9024)
Luminance0.1263 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC402D #2D99AC
analogous
#AC2D5A #AC402D #AC7F2D
triadic
#AC402D #2DAC40 #402DAC
tetradic
#AC402D #5AAC2D #2D99AC #7F2DAC
square
#AC402D #5AAC2D #2D99AC #7F2DAC
split-complementary
#AC402D #2DAC7F #2D5AAC
monochromatic
#4B1C14 #7B2E20 #AC402D #CF5C47 #DC8778

Accessibility & contrast

On white

5.96
#AC402D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#AC402D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC402D
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC402D#FFFFFF#000000##FFFFFF
##AC402D1.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E552A
Deuteranopia (green-blind)
#796C2A
Tritanopia (blue-blind)
#BD263C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ac402d;
/* rgb */ color: rgb(172, 64, 45);
/* oklch */ color: oklch(51.8% 0.146 32.2);
Tailwind
colors: {
  custom: {
    50: '#cc7967',
    500: '#ac402d',
    950: '#000000',
  },
}
SCSS
$custom: #ac402d;
$custom-light: #cc7967;
$custom-dark: #000000;
JSON
{
  "hex": "#ac402d",
  "rgb": {
    "r": 172,
    "g": 64,
    "b": 45
  },
  "hsl": {
    "h": 8.976,
    "s": 58.525,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51815,
    "c": 0.14563,
    "h": 32.2
  },
  "luminance": 0.12627
}

Semantic roles & 50–950 ramp

primary
#AC402D
secondary
#71B7C4
accent
#CAE246
background
#FDF7F6
surface
#FBEEEB
border
#D4C9C6
text
#150906
muted
#837B7A

Preview Lab

Preview with #AC402D

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

Preview Lab → · Contrast checker → · Palette generator →

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