#AC2F42#AC2F42

#AC2F42 is a mid, vivid red. Relative luminance 0.112; OKLCH L 50.2% C 0.160 H 16.7°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#AC2F42
RGBrgb(172, 47, 66)
HSLhsl(351, 57%, 43%)
HSVhsv(351, 73%, 67%)
CMYKcmyk(0%, 72.7%, 61.6%, 32.5%)
CIE-LABlab(39.91, 51.42, 18.99)
CIE-LCHlch(39.91, 54.81, 20.27°)
OKLaboklab(50.21% 0.1537 0.0462)
OKLCHoklch(50.21% 0.16 16.7)
XYZxyz(19.0151, 11.1998, 6.3137)
Luminance0.1120 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2F42 #2FAC99
analogous
#AC2F80 #AC2F42 #AC5A2F
triadic
#AC2F42 #42AC2F #2F42AC
tetradic
#AC2F42 #80AC2F #2FAC99 #5A2FAC
square
#AC2F42 #80AC2F #2FAC99 #5A2FAC
split-complementary
#AC2F42 #2FAC5A #2F80AC
monochromatic
#4C151D #7C2230 #AC2F42 #CE4B5E #DB7B89

Accessibility & contrast

On white

6.48
#AC2F42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#AC2F42 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2F42
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2F42#FFFFFF#000000##FFFFFF
##AC2F421.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514D42
Deuteranopia (green-blind)
#71683F
Tritanopia (blue-blind)
#BD0737
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ac2f42;
/* rgb */ color: rgb(172, 47, 66);
/* oklch */ color: oklch(50.2% 0.160 16.7);
Tailwind
colors: {
  custom: {
    50: '#cb7176',
    500: '#ac2f42',
    950: '#000000',
  },
}
SCSS
$custom: #ac2f42;
$custom-light: #cb7176;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2f42",
  "rgb": {
    "r": 172,
    "g": 47,
    "b": 66
  },
  "hsl": {
    "h": 350.88,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50209,
    "c": 0.16048,
    "h": 16.7
  },
  "luminance": 0.11197
}

Semantic roles & 50–950 ramp

primary
#AC2F42
secondary
#74C3B7
accent
#E0C947
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #AC2F42

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

Preview Lab → · Contrast checker → · Palette generator →

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