#AC313B#AC313B

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

Color values

HEX#AC313B
RGBrgb(172, 49, 59)
HSLhsl(355, 56%, 43%)
HSVhsv(355, 72%, 67%)
CMYKcmyk(0%, 71.5%, 65.7%, 32.5%)
CIE-LABlab(40.06, 50.23, 23.54)
CIE-LCHlch(40.06, 55.47, 25.11°)
OKLaboklab(50.27% 0.1485 0.0559)
OKLCHoklch(50.27% 0.159 20.6)
XYZxyz(18.9030, 11.2858, 5.3198)
Luminance0.1128 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC313B #31ACA2
analogous
#AC3178 #AC313B #AC6431
triadic
#AC313B #3BAC31 #313BAC
tetradic
#AC313B #78AC31 #31ACA2 #6431AC
square
#AC313B #78AC31 #31ACA2 #6431AC
split-complementary
#AC313B #31AC64 #3178AC
monochromatic
#4D161A #7C232B #AC313B #CC4E58 #DA7D85

Accessibility & contrast

On white

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

On black

3.26
#AC313B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AC313B#FFFFFF#000000##FFFFFF
##AC313B1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534E3A
Deuteranopia (green-blind)
#726837
Tritanopia (blue-blind)
#BD0936
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ac313b;
/* rgb */ color: rgb(172, 49, 59);
/* oklch */ color: oklch(50.3% 0.159 20.6);
Tailwind
colors: {
  custom: {
    50: '#cc7270',
    500: '#ac313b',
    950: '#000000',
  },
}
SCSS
$custom: #ac313b;
$custom-light: #cc7270;
$custom-dark: #000000;
JSON
{
  "hex": "#ac313b",
  "rgb": {
    "r": 172,
    "g": 49,
    "b": 59
  },
  "hsl": {
    "h": 355.122,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50274,
    "c": 0.15867,
    "h": 20.6
  },
  "luminance": 0.11283
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AC313B

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

Preview Lab → · Contrast checker → · Palette generator →

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