#AC298D#AC298D

#AC298D is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.3% C 0.195 H 339.5°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#AC298D
RGBrgb(172, 41, 141)
HSLhsl(314, 62%, 42%)
HSVhsv(314, 76%, 67%)
CMYKcmyk(0%, 76.2%, 18%, 32.5%)
CIE-LABlab(41.66, 61.29, -25.26)
CIE-LCHlch(41.66, 66.29, 337.60°)
OKLaboklab(52.29% 0.1825 -0.0683)
OKLCHoklch(52.29% 0.195 339.5)
XYZxyz(22.6145, 12.2819, 26.3738)
Luminance0.1228 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC298D #29AC48
analogous
#8929AC #AC298D #AC294C
triadic
#AC298D #8DAC29 #298DAC
tetradic
#AC298D #AC8929 #29AC48 #294CAC
square
#AC298D #AC8929 #29AC48 #294CAC
split-complementary
#AC298D #4CAC29 #29AC89
monochromatic
#49113C #7B1D64 #AC298D #D241AF #DD72C4

Accessibility & contrast

On white

6.08
#AC298D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#AC298D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC298D
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC298D#FFFFFF#000000##FFFFFF
##AC298D1.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325590
Deuteranopia (green-blind)
#5D6A8A
Tritanopia (blue-blind)
#B62E58
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ac298d;
/* rgb */ color: rgb(172, 41, 141);
/* oklch */ color: oklch(52.3% 0.195 339.5);
Tailwind
colors: {
  custom: {
    50: '#c971ae',
    500: '#ac298d',
    950: '#000000',
  },
}
SCSS
$custom: #ac298d;
$custom-light: #c971ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ac298d",
  "rgb": {
    "r": 172,
    "g": 41,
    "b": 141
  },
  "hsl": {
    "h": 314.198,
    "s": 61.502,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52293,
    "c": 0.19491,
    "h": 339.5
  },
  "luminance": 0.1228
}

Semantic roles & 50–950 ramp

primary
#AC298D
secondary
#6CC581
accent
#E56943
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AC298D

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

Preview Lab → · Contrast checker → · Palette generator →

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