#AC271B#AC271B

#AC271B is a mid, vivid red. Relative luminance 0.103; OKLCH L 48.9% C 0.171 H 29.7°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#AC271B
RGBrgb(172, 39, 27)
HSLhsl(5, 73%, 39%)
HSVhsv(5, 84%, 67%)
CMYKcmyk(0%, 77.3%, 84.3%, 32.5%)
CIE-LABlab(38.38, 52.40, 40.29)
CIE-LCHlch(38.38, 66.10, 37.56°)
OKLaboklab(48.9% 0.1486 0.0849)
OKLCHoklch(48.9% 0.171 29.7)
XYZxyz(17.9388, 10.3037, 2.0810)
Luminance0.1030 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC271B #1BA0AC
analogous
#AC1B57 #AC271B #AC701B
triadic
#AC271B #1BAC27 #271BAC
tetradic
#AC271B #57AC1B #1BA0AC #701BAC
square
#AC271B #57AC1B #1BA0AC #701BAC
split-complementary
#AC271B #1BAC70 #1B57AC
monochromatic
#420F0A #771B13 #AC271B #DD3627 #E5675C

Accessibility & contrast

On white

6.86
#AC271B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#AC271B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC271B
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC271B#FFFFFF#000000##FFFFFF
##AC271B1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514818
Deuteranopia (green-blind)
#716513
Tritanopia (blue-blind)
#BE0026
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #ac271b;
/* rgb */ color: rgb(172, 39, 27);
/* oklch */ color: oklch(48.9% 0.171 29.7);
Tailwind
colors: {
  custom: {
    50: '#ce6d59',
    500: '#ac271b',
    950: '#000000',
  },
}
SCSS
$custom: #ac271b;
$custom-light: #ce6d59;
$custom-dark: #000000;
JSON
{
  "hex": "#ac271b",
  "rgb": {
    "r": 172,
    "g": 39,
    "b": 27
  },
  "hsl": {
    "h": 4.966,
    "s": 72.864,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48896,
    "c": 0.17116,
    "h": 29.7
  },
  "luminance": 0.10301
}

Semantic roles & 50–950 ramp

primary
#AC271B
secondary
#5AC0C9
accent
#E0F038
background
#FEF6F5
surface
#FCECE9
border
#D5C7C5
text
#160804
muted
#847A79

Preview Lab

Preview with #AC271B

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

Preview Lab → · Contrast checker → · Palette generator →

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