#AC2870#AC2870

#AC2870 is a mid, vivid pink. Relative luminance 0.115; OKLCH L 50.9% C 0.179 H 352.3°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#AC2870
RGBrgb(172, 40, 112)
HSLhsl(327, 62%, 42%)
HSVhsv(327, 77%, 67%)
CMYKcmyk(0%, 76.7%, 34.9%, 32.5%)
CIE-LABlab(40.35, 57.95, -9.37)
CIE-LCHlch(40.35, 58.70, 350.82°)
OKLaboklab(50.94% 0.1777 -0.0241)
OKLCHoklch(50.94% 0.179 352.3)
XYZxyz(20.6979, 11.4606, 16.4482)
Luminance0.1146 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2870 #28AC64
analogous
#A628AC #AC2870 #AC282E
triadic
#AC2870 #70AC28 #2870AC
tetradic
#AC2870 #ACA628 #28AC64 #282EAC
square
#AC2870 #ACA628 #28AC64 #282EAC
split-complementary
#AC2870 #2EAC28 #28ACA6
monochromatic
#49112F #7A1C50 #AC2870 #D23F8F #DE71AC

Accessibility & contrast

On white

6.38
#AC2870 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#AC2870 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2870
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2870#FFFFFF#000000##FFFFFF
##AC28701.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405072
Deuteranopia (green-blind)
#66686D
Tritanopia (blue-blind)
#B91C49
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #ac2870;
/* rgb */ color: rgb(172, 40, 112);
/* oklch */ color: oklch(50.9% 0.179 352.3);
Tailwind
colors: {
  custom: {
    50: '#c96f99',
    500: '#ac2870',
    950: '#000000',
  },
}
SCSS
$custom: #ac2870;
$custom-light: #c96f99;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2870",
  "rgb": {
    "r": 172,
    "g": 40,
    "b": 112
  },
  "hsl": {
    "h": 327.273,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50945,
    "c": 0.17932,
    "h": 352.3
  },
  "luminance": 0.11458
}

Semantic roles & 50–950 ramp

primary
#AC2870
secondary
#6BC594
accent
#E58C42
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080D
muted
#837B7E

Preview Lab

Preview with #AC2870

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

Preview Lab → · Contrast checker → · Palette generator →

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