#AC3838#AC3838

#AC3838 is a mid, vivid red. Relative luminance 0.119; OKLCH L 51.0% C 0.152 H 24.3°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#AC3838
RGBrgb(172, 56, 56)
HSLhsl(0, 51%, 45%)
HSVhsv(0, 67%, 67%)
CMYKcmyk(0%, 67.4%, 67.4%, 32.5%)
CIE-LABlab(41.04, 47.24, 26.59)
CIE-LCHlch(41.04, 54.21, 29.37°)
OKLaboklab(50.99% 0.1384 0.0624)
OKLCHoklch(50.99% 0.152 24.3)
XYZxyz(19.1432, 11.8872, 5.0271)
Luminance0.1188 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC3838 #38ACAC
analogous
#AC3872 #AC3838 #AC7238
triadic
#AC3838 #38AC38 #3838AC
tetradic
#AC3838 #72AC38 #38ACAC #7238AC
square
#AC3838 #72AC38 #38ACAC #7238AC
split-complementary
#AC3838 #38AC72 #3872AC
monochromatic
#501A1A #7E2929 #AC3838 #C95858 #D88787

Accessibility & contrast

On white

6.22
#AC3838 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#AC3838 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC3838
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC3838#FFFFFF#000000##FFFFFF
##AC38381.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575137
Deuteranopia (green-blind)
#756A35
Tritanopia (blue-blind)
#BD1A39
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ac3838;
/* rgb */ color: rgb(172, 56, 56);
/* oklch */ color: oklch(51.0% 0.152 24.3);
Tailwind
colors: {
  custom: {
    50: '#cc756e',
    500: '#ac3838',
    950: '#000000',
  },
}
SCSS
$custom: #ac3838;
$custom-light: #cc756e;
$custom-dark: #000000;
JSON
{
  "hex": "#ac3838",
  "rgb": {
    "r": 172,
    "g": 56,
    "b": 56
  },
  "hsl": {
    "h": 0,
    "s": 50.877,
    "l": 44.706
  },
  "oklch": {
    "l": 0.50989,
    "c": 0.15181,
    "h": 24.3
  },
  "luminance": 0.11885
}

Semantic roles & 50–950 ramp

primary
#AC3838
secondary
#7EC2C2
accent
#DADA4D
background
#FDF7F6
surface
#FAEDEC
border
#D3C8C7
text
#150907
muted
#837B7A

Preview Lab

Preview with #AC3838

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

Preview Lab → · Contrast checker → · Palette generator →

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