#AC331F#AC331F

#AC331F is a mid, vivid red. Relative luminance 0.112; OKLCH L 50.1% C 0.161 H 32.0°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#AC331F
RGBrgb(172, 51, 31)
HSLhsl(9, 69%, 40%)
HSVhsv(9, 82%, 67%)
CMYKcmyk(0%, 70.3%, 82%, 32.5%)
CIE-LABlab(39.98, 48.19, 39.72)
CIE-LCHlch(39.98, 62.45, 39.50°)
OKLaboklab(50.1% 0.1362 0.0851)
OKLCHoklch(50.1% 0.161 32)
XYZxyz(18.4466, 11.2401, 2.4943)
Luminance0.1124 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC331F #1F98AC
analogous
#AC1F51 #AC331F #AC7A1F
triadic
#AC331F #1FAC33 #331FAC
tetradic
#AC331F #51AC1F #1F98AC #7A1FAC
square
#AC331F #51AC1F #1F98AC #7A1FAC
split-complementary
#AC331F #1FAC7A #1F51AC
monochromatic
#44140C #782416 #AC331F #D9472F #E37563

Accessibility & contrast

On white

6.47
#AC331F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#AC331F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC331F
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC331F#FFFFFF#000000##FFFFFF
##AC331F1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D1B
Deuteranopia (green-blind)
#756819
Tritanopia (blue-blind)
#BE0230
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ac331f;
/* rgb */ color: rgb(172, 51, 31);
/* oklch */ color: oklch(50.1% 0.161 32.0);
Tailwind
colors: {
  custom: {
    50: '#ce725d',
    500: '#ac331f',
    950: '#000000',
  },
}
SCSS
$custom: #ac331f;
$custom-light: #ce725d;
$custom-dark: #000000;
JSON
{
  "hex": "#ac331f",
  "rgb": {
    "r": 172,
    "g": 51,
    "b": 31
  },
  "hsl": {
    "h": 8.511,
    "s": 69.458,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50102,
    "c": 0.16066,
    "h": 32
  },
  "luminance": 0.11237
}

Semantic roles & 50–950 ramp

primary
#AC331F
secondary
#5FB9C8
accent
#D3EC3C
background
#FDF7F5
surface
#FBEDE9
border
#D4C8C5
text
#150804
muted
#837B79

Preview Lab

Preview with #AC331F

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

Preview Lab → · Contrast checker → · Palette generator →

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