#AC2840#AC2840

#AC2840 is a mid, vivid red. Relative luminance 0.107; OKLCH L 49.5% C 0.167 H 16.0°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#AC2840
RGBrgb(172, 40, 64)
HSLhsl(349, 62%, 42%)
HSVhsv(349, 77%, 67%)
CMYKcmyk(0%, 76.7%, 62.8%, 32.5%)
CIE-LABlab(39.00, 53.72, 19.06)
CIE-LCHlch(39.00, 57.00, 19.53°)
OKLaboklab(49.52% 0.1607 0.0462)
OKLCHoklch(49.52% 0.167 16)
XYZxyz(18.6994, 10.6612, 5.9227)
Luminance0.1066 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2840 #28AC94
analogous
#AC2882 #AC2840 #AC5228
triadic
#AC2840 #40AC28 #2840AC
tetradic
#AC2840 #82AC28 #28AC94 #5228AC
square
#AC2840 #82AC28 #28AC94 #5228AC
split-complementary
#AC2840 #28AC52 #2882AC
monochromatic
#49111B #7A1C2E #AC2840 #D23F5A #DE7184

Accessibility & contrast

On white

6.71
#AC2840 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#AC2840 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2840
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2840#FFFFFF#000000##FFFFFF
##AC28401.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4A40
Deuteranopia (green-blind)
#6F663C
Tritanopia (blue-blind)
#BD0032
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #ac2840;
/* rgb */ color: rgb(172, 40, 64);
/* oklch */ color: oklch(49.5% 0.167 16.0);
Tailwind
colors: {
  custom: {
    50: '#cc6e74',
    500: '#ac2840',
    950: '#000000',
  },
}
SCSS
$custom: #ac2840;
$custom-light: #cc6e74;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2840",
  "rgb": {
    "r": 172,
    "g": 40,
    "b": 64
  },
  "hsl": {
    "h": 349.091,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.4952,
    "c": 0.16718,
    "h": 16
  },
  "luminance": 0.10658
}

Semantic roles & 50–950 ramp

primary
#AC2840
secondary
#6BC5B4
accent
#E5C842
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #AC2840

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

Preview Lab → · Contrast checker → · Palette generator →

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