#AC312A#AC312A

#AC312A is a mid, vivid red. Relative luminance 0.111; OKLCH L 50.0% C 0.161 H 27.8°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#AC312A
RGBrgb(172, 49, 42)
HSLhsl(3, 61%, 42%)
HSVhsv(3, 76%, 67%)
CMYKcmyk(0%, 71.5%, 75.6%, 32.5%)
CIE-LABlab(39.81, 49.37, 33.47)
CIE-LCHlch(39.81, 59.64, 34.14°)
OKLaboklab(50.01% 0.1422 0.0748)
OKLCHoklch(50.01% 0.161 27.8)
XYZxyz(18.5316, 11.1373, 3.3640)
Luminance0.1113 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC312A #2AA5AC
analogous
#AC2A64 #AC312A #AC722A
triadic
#AC312A #2AAC31 #312AAC
tetradic
#AC312A #64AC2A #2AA5AC #722AAC
square
#AC312A #64AC2A #2AA5AC #722AAC
split-complementary
#AC312A #2AAC72 #2A64AC
monochromatic
#4A1512 #7B231E #AC312A #D14A42 #DD7973

Accessibility & contrast

On white

6.51
#AC312A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#AC312A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC312A
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC312A#FFFFFF#000000##FFFFFF
##AC312A1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554D28
Deuteranopia (green-blind)
#736825
Tritanopia (blue-blind)
#BD0031
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ac312a;
/* rgb */ color: rgb(172, 49, 42);
/* oklch */ color: oklch(50.0% 0.161 27.8);
Tailwind
colors: {
  custom: {
    50: '#cd7264',
    500: '#ac312a',
    950: '#000000',
  },
}
SCSS
$custom: #ac312a;
$custom-light: #cd7264;
$custom-dark: #000000;
JSON
{
  "hex": "#ac312a",
  "rgb": {
    "r": 172,
    "g": 49,
    "b": 42
  },
  "hsl": {
    "h": 3.231,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.5001,
    "c": 0.16063,
    "h": 27.8
  },
  "luminance": 0.11134
}

Semantic roles & 50–950 ramp

primary
#AC312A
secondary
#6DC0C4
accent
#DBE444
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150805
muted
#837B7A

Preview Lab

Preview with #AC312A

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

Preview Lab → · Contrast checker → · Palette generator →

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