#AC2B8F#AC2B8F

#AC2B8F is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.6% C 0.194 H 338.7°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#AC2B8F
RGBrgb(172, 43, 143)
HSLhsl(313, 60%, 42%)
HSVhsv(313, 75%, 67%)
CMYKcmyk(0%, 75%, 16.9%, 32.5%)
CIE-LABlab(41.97, 60.94, -25.99)
CIE-LCHlch(41.97, 66.25, 336.91°)
OKLaboklab(52.55% 0.1809 -0.0704)
OKLCHoklch(52.55% 0.194 338.7)
XYZxyz(22.8356, 12.4838, 27.1882)
Luminance0.1248 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2B8F #2BAC48
analogous
#882BAC #AC2B8F #AC2B4F
triadic
#AC2B8F #8FAC2B #2B8FAC
tetradic
#AC2B8F #AC882B #2BAC48 #2B4FAC
square
#AC2B8F #AC882B #2BAC48 #2B4FAC
split-complementary
#AC2B8F #4FAC2B #2BAC88
monochromatic
#4A133E #7B1F66 #AC2B8F #D044B1 #DC75C5

Accessibility & contrast

On white

6.01
#AC2B8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#AC2B8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2B8F
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2B8F#FFFFFF#000000##FFFFFF
##AC2B8F1.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325692
Deuteranopia (green-blind)
#5D6A8C
Tritanopia (blue-blind)
#B6315A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ac2b8f;
/* rgb */ color: rgb(172, 43, 143);
/* oklch */ color: oklch(52.6% 0.194 338.7);
Tailwind
colors: {
  custom: {
    50: '#c972b0',
    500: '#ac2b8f',
    950: '#000000',
  },
}
SCSS
$custom: #ac2b8f;
$custom-light: #c972b0;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2b8f",
  "rgb": {
    "r": 172,
    "g": 43,
    "b": 143
  },
  "hsl": {
    "h": 313.488,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52551,
    "c": 0.19411,
    "h": 338.7
  },
  "luminance": 0.12482
}

Semantic roles & 50–950 ramp

primary
#AC2B8F
secondary
#6FC482
accent
#E36845
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AC2B8F

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

Preview Lab → · Contrast checker → · Palette generator →

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