#AC2828#AC2828

#AC2828 is a mid, vivid red. Relative luminance 0.104; OKLCH L 49.1% C 0.169 H 26.0°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#AC2828
RGBrgb(172, 40, 40)
HSLhsl(0, 62%, 42%)
HSVhsv(0, 77%, 67%)
CMYKcmyk(0%, 76.7%, 76.7%, 32.5%)
CIE-LABlab(38.63, 52.50, 33.33)
CIE-LCHlch(38.63, 62.19, 32.41°)
OKLaboklab(49.12% 0.1516 0.074)
OKLCHoklch(49.12% 0.169 26)
XYZxyz(18.1572, 10.4443, 3.0670)
Luminance0.1044 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2828 #28ACAC
analogous
#AC286A #AC2828 #AC6A28
triadic
#AC2828 #28AC28 #2828AC
tetradic
#AC2828 #6AAC28 #28ACAC #6A28AC
square
#AC2828 #6AAC28 #28ACAC #6A28AC
split-complementary
#AC2828 #28AC6A #286AAC
monochromatic
#491111 #7A1C1C #AC2828 #D23F3F #DE7171

Accessibility & contrast

On white

6.80
#AC2828 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#AC2828 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2828
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2828#FFFFFF#000000##FFFFFF
##AC28281.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504926
Deuteranopia (green-blind)
#716523
Tritanopia (blue-blind)
#BE002A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ac2828;
/* rgb */ color: rgb(172, 40, 40);
/* oklch */ color: oklch(49.1% 0.169 26.0);
Tailwind
colors: {
  custom: {
    50: '#cd6d62',
    500: '#ac2828',
    950: '#000000',
  },
}
SCSS
$custom: #ac2828;
$custom-light: #cd6d62;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2828",
  "rgb": {
    "r": 172,
    "g": 40,
    "b": 40
  },
  "hsl": {
    "h": 0,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.49121,
    "c": 0.16868,
    "h": 26
  },
  "luminance": 0.10441
}

Semantic roles & 50–950 ramp

primary
#AC2828
secondary
#6BC5C5
accent
#E5E542
background
#FDF6F5
surface
#FBECEA
border
#D4C7C6
text
#150805
muted
#837B79

Preview Lab

Preview with #AC2828

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

Preview Lab → · Contrast checker → · Palette generator →

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