#AC311F#AC311F

#AC311F is a mid, vivid red. Relative luminance 0.111; OKLCH L 49.9% C 0.162 H 31.4°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#AC311F
RGBrgb(172, 49, 31)
HSLhsl(8, 69%, 40%)
HSVhsv(8, 82%, 67%)
CMYKcmyk(0%, 71.5%, 82%, 32.5%)
CIE-LABlab(39.70, 48.97, 39.44)
CIE-LCHlch(39.70, 62.88, 38.85°)
OKLaboklab(49.89% 0.1387 0.0845)
OKLCHoklch(49.89% 0.162 31.4)
XYZxyz(18.3611, 11.0690, 2.4658)
Luminance0.1107 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC311F #1F9AAC
analogous
#AC1F53 #AC311F #AC781F
triadic
#AC311F #1FAC31 #311FAC
tetradic
#AC311F #53AC1F #1F9AAC #781FAC
square
#AC311F #53AC1F #1F9AAC #781FAC
split-complementary
#AC311F #1FAC78 #1F53AC
monochromatic
#44130C #782216 #AC311F #D9452F #E37363

Accessibility & contrast

On white

6.54
#AC311F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#AC311F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC311F
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC311F#FFFFFF#000000##FFFFFF
##AC311F1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C1C
Deuteranopia (green-blind)
#746719
Tritanopia (blue-blind)
#BE002E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ac311f;
/* rgb */ color: rgb(172, 49, 31);
/* oklch */ color: oklch(49.9% 0.162 31.4);
Tailwind
colors: {
  custom: {
    50: '#ce715c',
    500: '#ac311f',
    950: '#000000',
  },
}
SCSS
$custom: #ac311f;
$custom-light: #ce715c;
$custom-dark: #000000;
JSON
{
  "hex": "#ac311f",
  "rgb": {
    "r": 172,
    "g": 49,
    "b": 31
  },
  "hsl": {
    "h": 7.66,
    "s": 69.458,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49888,
    "c": 0.16241,
    "h": 31.4
  },
  "luminance": 0.11066
}

Semantic roles & 50–950 ramp

primary
#AC311F
secondary
#5FBAC8
accent
#D6EC3C
background
#FDF7F5
surface
#FBEDE9
border
#D4C8C5
text
#150804
muted
#837B79

Preview Lab

Preview with #AC311F

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

Preview Lab → · Contrast checker → · Palette generator →

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