#AC2B8E#AC2B8E

#AC2B8E is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.5% C 0.193 H 339.1°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#AC2B8E
RGBrgb(172, 43, 142)
HSLhsl(314, 60%, 42%)
HSVhsv(314, 75%, 67%)
CMYKcmyk(0%, 75%, 17.4%, 32.5%)
CIE-LABlab(41.93, 60.80, -25.45)
CIE-LCHlch(41.93, 65.91, 337.29°)
OKLaboklab(52.5% 0.1808 -0.0689)
OKLCHoklch(52.5% 0.193 339.1)
XYZxyz(22.7602, 12.4536, 26.7911)
Luminance0.1245 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2B8E #2BAC49
analogous
#892BAC #AC2B8E #AC2B4E
triadic
#AC2B8E #8EAC2B #2B8EAC
tetradic
#AC2B8E #AC892B #2BAC49 #2B4EAC
square
#AC2B8E #AC892B #2BAC49 #2B4EAC
split-complementary
#AC2B8E #4EAC2B #2BAC89
monochromatic
#4A133D #7B1F66 #AC2B8E #D044B0 #DC75C4

Accessibility & contrast

On white

6.02
#AC2B8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#AC2B8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2B8E
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2B8E#FFFFFF#000000##FFFFFF
##AC2B8E1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335691
Deuteranopia (green-blind)
#5D6A8B
Tritanopia (blue-blind)
#B63059
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ac2b8e;
/* rgb */ color: rgb(172, 43, 142);
/* oklch */ color: oklch(52.5% 0.193 339.1);
Tailwind
colors: {
  custom: {
    50: '#c972af',
    500: '#ac2b8e',
    950: '#000000',
  },
}
SCSS
$custom: #ac2b8e;
$custom-light: #c972af;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2b8e",
  "rgb": {
    "r": 172,
    "g": 43,
    "b": 142
  },
  "hsl": {
    "h": 313.953,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52502,
    "c": 0.19344,
    "h": 339.1
  },
  "luminance": 0.12451
}

Semantic roles & 50–950 ramp

primary
#AC2B8E
secondary
#6FC483
accent
#E36A45
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AC2B8E

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

Preview Lab → · Contrast checker → · Palette generator →

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