#AC298A#AC298A

#AC298A is a mid, vivid pink. Relative luminance 0.122; OKLCH L 52.1% C 0.193 H 340.7°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#AC298A
RGBrgb(172, 41, 138)
HSLhsl(316, 62%, 42%)
HSVhsv(316, 76%, 67%)
CMYKcmyk(0%, 76.2%, 19.8%, 32.5%)
CIE-LABlab(41.52, 60.88, -23.64)
CIE-LCHlch(41.52, 65.31, 338.78°)
OKLaboklab(52.15% 0.1821 -0.0637)
OKLCHoklch(52.15% 0.193 340.7)
XYZxyz(22.3943, 12.1938, 25.2141)
Luminance0.1219 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC298A #29AC4B
analogous
#8D29AC #AC298A #AC2948
triadic
#AC298A #8AAC29 #298AAC
tetradic
#AC298A #AC8D29 #29AC4B #2948AC
square
#AC298A #AC8D29 #29AC4B #2948AC
split-complementary
#AC298A #48AC29 #29AC8D
monochromatic
#49113B #7B1D62 #AC298A #D241AC #DD72C2

Accessibility & contrast

On white

6.11
#AC298A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#AC298A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC298A
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC298A#FFFFFF#000000##FFFFFF
##AC298A1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34558D
Deuteranopia (green-blind)
#5E6987
Tritanopia (blue-blind)
#B72D57
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ac298a;
/* rgb */ color: rgb(172, 41, 138);
/* oklch */ color: oklch(52.1% 0.193 340.7);
Tailwind
colors: {
  custom: {
    50: '#c971ac',
    500: '#ac298a',
    950: '#000000',
  },
}
SCSS
$custom: #ac298a;
$custom-light: #c971ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ac298a",
  "rgb": {
    "r": 172,
    "g": 41,
    "b": 138
  },
  "hsl": {
    "h": 315.573,
    "s": 61.502,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52149,
    "c": 0.19296,
    "h": 340.7
  },
  "luminance": 0.12192
}

Semantic roles & 50–950 ramp

primary
#AC298A
secondary
#6CC583
accent
#E56D43
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AC298A

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

Preview Lab → · Contrast checker → · Palette generator →

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