#AC298C#AC298C

#AC298C is a mid, vivid pink. Relative luminance 0.122; OKLCH L 52.2% C 0.194 H 339.9°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#AC298C
RGBrgb(172, 41, 140)
HSLhsl(315, 62%, 42%)
HSVhsv(315, 76%, 67%)
CMYKcmyk(0%, 76.2%, 18.6%, 32.5%)
CIE-LABlab(41.61, 61.15, -24.72)
CIE-LCHlch(41.61, 65.96, 337.99°)
OKLaboklab(52.25% 0.1824 -0.0668)
OKLCHoklch(52.25% 0.194 339.9)
XYZxyz(22.5405, 12.2522, 25.9837)
Luminance0.1225 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC298C #29AC49
analogous
#8A29AC #AC298C #AC294B
triadic
#AC298C #8CAC29 #298CAC
tetradic
#AC298C #AC8A29 #29AC49 #294BAC
square
#AC298C #AC8A29 #29AC49 #294BAC
split-complementary
#AC298C #4BAC29 #29AC8A
monochromatic
#49113C #7B1D64 #AC298C #D241AE #DD72C3

Accessibility & contrast

On white

6.09
#AC298C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#AC298C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC298C
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC298C#FFFFFF#000000##FFFFFF
##AC298C1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32558F
Deuteranopia (green-blind)
#5E6A89
Tritanopia (blue-blind)
#B62E58
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ac298c;
/* rgb */ color: rgb(172, 41, 140);
/* oklch */ color: oklch(52.2% 0.194 339.9);
Tailwind
colors: {
  custom: {
    50: '#c971ae',
    500: '#ac298c',
    950: '#000000',
  },
}
SCSS
$custom: #ac298c;
$custom-light: #c971ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ac298c",
  "rgb": {
    "r": 172,
    "g": 41,
    "b": 140
  },
  "hsl": {
    "h": 314.656,
    "s": 61.502,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52245,
    "c": 0.19426,
    "h": 339.9
  },
  "luminance": 0.1225
}

Semantic roles & 50–950 ramp

primary
#AC298C
secondary
#6CC582
accent
#E56B43
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AC298C

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

Preview Lab → · Contrast checker → · Palette generator →

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