#AC2F48#AC2F48

#AC2F48 is a mid, vivid red. Relative luminance 0.113; OKLCH L 50.3% C 0.161 H 13.7°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#AC2F48
RGBrgb(172, 47, 72)
HSLhsl(348, 57%, 43%)
HSVhsv(348, 73%, 67%)
CMYKcmyk(0%, 72.7%, 58.1%, 32.5%)
CIE-LABlab(40.04, 51.84, 15.39)
CIE-LCHlch(40.04, 54.07, 16.54°)
OKLaboklab(50.34% 0.1561 0.0382)
OKLCHoklch(50.34% 0.161 13.7)
XYZxyz(19.2013, 11.2743, 7.2947)
Luminance0.1127 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2F48 #2FAC93
analogous
#AC2F86 #AC2F48 #AC542F
triadic
#AC2F48 #48AC2F #2F48AC
tetradic
#AC2F48 #86AC2F #2FAC93 #542FAC
square
#AC2F48 #86AC2F #2FAC93 #542FAC
split-complementary
#AC2F48 #2FAC54 #2F86AC
monochromatic
#4C1520 #7C2234 #AC2F48 #CE4B65 #DB7B8E

Accessibility & contrast

On white

6.45
#AC2F48 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#AC2F48 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2F48
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2F48#FFFFFF#000000##FFFFFF
##AC2F481.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504E48
Deuteranopia (green-blind)
#706845
Tritanopia (blue-blind)
#BC0C39
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ac2f48;
/* rgb */ color: rgb(172, 47, 72);
/* oklch */ color: oklch(50.3% 0.161 13.7);
Tailwind
colors: {
  custom: {
    50: '#cb717a',
    500: '#ac2f48',
    950: '#000000',
  },
}
SCSS
$custom: #ac2f48;
$custom-light: #cb717a;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2f48",
  "rgb": {
    "r": 172,
    "g": 47,
    "b": 72
  },
  "hsl": {
    "h": 348,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50341,
    "c": 0.16069,
    "h": 13.7
  },
  "luminance": 0.11272
}

Semantic roles & 50–950 ramp

primary
#AC2F48
secondary
#74C3B3
accent
#E0C247
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150809
muted
#837B7B

Preview Lab

Preview with #AC2F48

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

Preview Lab → · Contrast checker → · Palette generator →

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