#AC4E98#AC4E98

#AC4E98 is a mid, vivid pink. Relative luminance 0.165; OKLCH L 56.8% C 0.152 H 336.3°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#AC4E98
RGBrgb(172, 78, 152)
HSLhsl(313, 38%, 49%)
HSVhsv(313, 55%, 67%)
CMYKcmyk(0%, 54.7%, 11.6%, 32.5%)
CIE-LABlab(47.61, 47.91, -22.67)
CIE-LCHlch(47.61, 53.00, 334.68°)
OKLaboklab(56.8% 0.1395 -0.0613)
OKLCHoklch(56.8% 0.152 336.3)
XYZxyz(25.4053, 16.4883, 31.5442)
Luminance0.1649 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC4E98 #4EAC62
analogous
#914EAC #AC4E98 #AC4E69
triadic
#AC4E98 #98AC4E #4E98AC
tetradic
#AC4E98 #AC914E #4EAC62 #4E69AC
square
#AC4E98 #AC914E #4EAC62 #4E69AC
split-complementary
#AC4E98 #69AC4E #4EAC91
monochromatic
#58284E #823B73 #AC4E98 #C176B1 #D4A0C9

Accessibility & contrast

On white

4.89
#AC4E98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#AC4E98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC4E98
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC4E98#FFFFFF#000000##FFFFFF
##AC4E981.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F689A
Deuteranopia (green-blind)
#6A7695
Tritanopia (blue-blind)
#B4526C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ac4e98;
/* rgb */ color: rgb(172, 78, 152);
/* oklch */ color: oklch(56.8% 0.152 336.3);
Tailwind
colors: {
  custom: {
    50: '#c784b6',
    500: '#ac4e98',
    950: '#000000',
  },
}
SCSS
$custom: #ac4e98;
$custom-light: #c784b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ac4e98",
  "rgb": {
    "r": 172,
    "g": 78,
    "b": 152
  },
  "hsl": {
    "h": 312.766,
    "s": 37.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.56802,
    "c": 0.15239,
    "h": 336.3
  },
  "luminance": 0.16486
}

Semantic roles & 50–950 ramp

primary
#AC4E98
secondary
#95C19E
accent
#CE735A
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#130B11
muted
#827C80

Preview Lab

Preview with #AC4E98

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

Preview Lab → · Contrast checker → · Palette generator →

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