#AC2831#AC2831

#AC2831 is a mid, vivid red. Relative luminance 0.105; OKLCH L 49.2% C 0.168 H 22.6°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#AC2831
RGBrgb(172, 40, 49)
HSLhsl(356, 62%, 42%)
HSVhsv(356, 77%, 67%)
CMYKcmyk(0%, 76.7%, 71.5%, 32.5%)
CIE-LABlab(38.75, 52.89, 28.08)
CIE-LCHlch(38.75, 59.88, 27.96°)
OKLaboklab(49.25% 0.1548 0.0645)
OKLCHoklch(49.25% 0.168 22.6)
XYZxyz(18.3285, 10.5128, 3.9692)
Luminance0.1051 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2831 #28ACA3
analogous
#AC2873 #AC2831 #AC6128
triadic
#AC2831 #31AC28 #2831AC
tetradic
#AC2831 #73AC28 #28ACA3 #6128AC
square
#AC2831 #73AC28 #28ACA3 #6128AC
split-complementary
#AC2831 #28AC61 #2873AC
monochromatic
#491115 #7A1C23 #AC2831 #D23F49 #DE7178

Accessibility & contrast

On white

6.77
#AC2831 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#AC2831 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2831
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2831#FFFFFF#000000##FFFFFF
##AC28311.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4930
Deuteranopia (green-blind)
#70652D
Tritanopia (blue-blind)
#BD002D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ac2831;
/* rgb */ color: rgb(172, 40, 49);
/* oklch */ color: oklch(49.2% 0.168 22.6);
Tailwind
colors: {
  custom: {
    50: '#cd6e69',
    500: '#ac2831',
    950: '#000000',
  },
}
SCSS
$custom: #ac2831;
$custom-light: #cd6e69;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2831",
  "rgb": {
    "r": 172,
    "g": 40,
    "b": 49
  },
  "hsl": {
    "h": 355.909,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.49247,
    "c": 0.16772,
    "h": 22.6
  },
  "luminance": 0.1051
}

Semantic roles & 50–950 ramp

primary
#AC2831
secondary
#6BC5BF
accent
#E5DA42
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AC2831

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

Preview Lab → · Contrast checker → · Palette generator →

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