#AC2148#AC2148

#AC2148 is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.1% C 0.174 H 10.9°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#AC2148
RGBrgb(172, 33, 72)
HSLhsl(343, 68%, 40%)
HSVhsv(343, 81%, 67%)
CMYKcmyk(0%, 80.8%, 58.1%, 32.5%)
CIE-LABlab(38.43, 56.36, 13.20)
CIE-LCHlch(38.43, 57.88, 13.18°)
OKLaboklab(49.15% 0.1707 0.033)
OKLCHoklch(49.15% 0.174 10.9)
XYZxyz(18.7287, 10.3290, 7.1372)
Luminance0.1033 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2148 #21AC85
analogous
#AC218E #AC2148 #AC3F21
triadic
#AC2148 #48AC21 #2148AC
tetradic
#AC2148 #8EAC21 #21AC85 #3F21AC
square
#AC2148 #8EAC21 #21AC85 #3F21AC
split-complementary
#AC2148 #21AC3F #218EAC
monochromatic
#450D1D #791733 #AC2148 #D83261 #E26689

Accessibility & contrast

On white

6.85
#AC2148 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#AC2148 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2148
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2148#FFFFFF#000000##FFFFFF
##AC21481.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484849
Deuteranopia (green-blind)
#6C6544
Tritanopia (blue-blind)
#BC0032
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #ac2148;
/* rgb */ color: rgb(172, 33, 72);
/* oklch */ color: oklch(49.1% 0.174 10.9);
Tailwind
colors: {
  custom: {
    50: '#cc6c7a',
    500: '#ac2148',
    950: '#000000',
  },
}
SCSS
$custom: #ac2148;
$custom-light: #cc6c7a;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2148",
  "rgb": {
    "r": 172,
    "g": 33,
    "b": 72
  },
  "hsl": {
    "h": 343.165,
    "s": 67.805,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49149,
    "c": 0.17381,
    "h": 10.9
  },
  "luminance": 0.10326
}

Semantic roles & 50–950 ramp

primary
#AC2148
secondary
#62C7AB
accent
#EBBA3D
background
#FDF6F7
surface
#FAECED
border
#D3C7C8
text
#150809
muted
#837A7B

Preview Lab

Preview with #AC2148

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

Preview Lab → · Contrast checker → · Palette generator →

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