#AC313A#AC313A

#AC313A is a mid, vivid red. Relative luminance 0.113; OKLCH L 50.3% C 0.159 H 21.1°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#AC313A
RGBrgb(172, 49, 58)
HSLhsl(356, 56%, 43%)
HSVhsv(356, 72%, 67%)
CMYKcmyk(0%, 71.5%, 66.3%, 32.5%)
CIE-LABlab(40.04, 50.17, 24.13)
CIE-LCHlch(40.04, 55.67, 25.69°)
OKLaboklab(50.26% 0.1481 0.0571)
OKLCHoklch(50.26% 0.159 21.1)
XYZxyz(18.8773, 11.2755, 5.1846)
Luminance0.1127 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC313A #31ACA3
analogous
#AC3177 #AC313A #AC6531
triadic
#AC313A #3AAC31 #313AAC
tetradic
#AC313A #77AC31 #31ACA3 #6531AC
square
#AC313A #77AC31 #31ACA3 #6531AC
split-complementary
#AC313A #31AC65 #3177AC
monochromatic
#4D161A #7C232A #AC313A #CC4E57 #DA7D84

Accessibility & contrast

On white

6.45
#AC313A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AC313A
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC313A#FFFFFF#000000##FFFFFF
##AC313A1.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534E39
Deuteranopia (green-blind)
#726836
Tritanopia (blue-blind)
#BD0835
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ac313a;
/* rgb */ color: rgb(172, 49, 58);
/* oklch */ color: oklch(50.3% 0.159 21.1);
Tailwind
colors: {
  custom: {
    50: '#cc7270',
    500: '#ac313a',
    950: '#000000',
  },
}
SCSS
$custom: #ac313a;
$custom-light: #cc7270;
$custom-dark: #000000;
JSON
{
  "hex": "#ac313a",
  "rgb": {
    "r": 172,
    "g": 49,
    "b": 58
  },
  "hsl": {
    "h": 355.61,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50256,
    "c": 0.15874,
    "h": 21.1
  },
  "luminance": 0.11273
}

Semantic roles & 50–950 ramp

primary
#AC313A
secondary
#76C3BD
accent
#DFD449
background
#FDF7F6
surface
#FAEDEC
border
#D3C8C7
text
#150807
muted
#837B7A

Preview Lab

Preview with #AC313A

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

Preview Lab → · Contrast checker → · Palette generator →

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