#AC2842#AC2842

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

Color values

HEX#AC2842
RGBrgb(172, 40, 66)
HSLhsl(348, 62%, 42%)
HSVhsv(348, 77%, 67%)
CMYKcmyk(0%, 76.7%, 61.6%, 32.5%)
CIE-LABlab(39.04, 53.85, 17.84)
CIE-LCHlch(39.04, 56.73, 18.33°)
OKLaboklab(49.56% 0.1615 0.0436)
OKLCHoklch(49.56% 0.167 15.1)
XYZxyz(18.7574, 10.6844, 6.2278)
Luminance0.1068 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2842 #28AC92
analogous
#AC2884 #AC2842 #AC5028
triadic
#AC2842 #42AC28 #2842AC
tetradic
#AC2842 #84AC28 #28AC92 #5028AC
square
#AC2842 #84AC28 #28AC92 #5028AC
split-complementary
#AC2842 #28AC50 #2884AC
monochromatic
#49111C #7A1C2F #AC2842 #D23F5C #DE7186

Accessibility & contrast

On white

6.70
#AC2842 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#AC2842 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2842
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2842#FFFFFF#000000##FFFFFF
##AC28421.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4A42
Deuteranopia (green-blind)
#6E663E
Tritanopia (blue-blind)
#BD0033
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #ac2842;
/* rgb */ color: rgb(172, 40, 66);
/* oklch */ color: oklch(49.6% 0.167 15.1);
Tailwind
colors: {
  custom: {
    50: '#cc6e76',
    500: '#ac2842',
    950: '#000000',
  },
}
SCSS
$custom: #ac2842;
$custom-light: #cc6e76;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2842",
  "rgb": {
    "r": 172,
    "g": 40,
    "b": 66
  },
  "hsl": {
    "h": 348.182,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.49563,
    "c": 0.16724,
    "h": 15.1
  },
  "luminance": 0.10682
}

Semantic roles & 50–950 ramp

primary
#AC2842
secondary
#6BC5B3
accent
#E5C542
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #AC2842

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

Preview Lab → · Contrast checker → · Palette generator →

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