#AC38AF#AC38AF

#AC38AF is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.4% C 0.203 H 326.8°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#AC38AF
RGBrgb(172, 56, 175)
HSLhsl(298, 52%, 45%)
HSVhsv(298, 68%, 69%)
CMYKcmyk(1.7%, 68%, 0%, 31.4%)
CIE-LABlab(45.21, 61.40, -40.05)
CIE-LCHlch(45.21, 73.31, 326.88°)
OKLaboklab(55.42% 0.1698 -0.111)
OKLCHoklch(55.42% 0.203 326.8)
XYZxyz(26.1648, 14.6959, 42.0076)
Luminance0.1469 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC38AF #3BAF38
analogous
#7038AF #AC38AF #AF3877
triadic
#AC38AF #AFAC38 #38AFAC
tetradic
#AC38AF #AF7038 #3BAF38 #3877AF
square
#AC38AF #AF7038 #3BAF38 #3877AF
split-complementary
#AC38AF #77AF38 #38AF70
monochromatic
#511A52 #7E2981 #AC38AF #C75ACA #D788D9

Accessibility & contrast

On white

5.33
#AC38AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#AC38AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC38AF
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC38AF#FFFFFF#000000##FFFFFF
##AC38AF1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2362B2
Deuteranopia (green-blind)
#5470AC
Tritanopia (blue-blind)
#B14A6F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ac38af;
/* rgb */ color: rgb(172, 56, 175);
/* oklch */ color: oklch(55.4% 0.203 326.8);
Tailwind
colors: {
  custom: {
    50: '#c879c7',
    500: '#ac38af',
    950: '#000000',
  },
}
SCSS
$custom: #ac38af;
$custom-light: #c879c7;
$custom-dark: #000000;
JSON
{
  "hex": "#ac38af",
  "rgb": {
    "r": 172,
    "g": 56,
    "b": 175
  },
  "hsl": {
    "h": 298.487,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.55415,
    "c": 0.20289,
    "h": 326.8
  },
  "luminance": 0.14694
}

Semantic roles & 50–950 ramp

primary
#AC38AF
secondary
#81C380
accent
#DB4D50
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #AC38AF

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

Preview Lab → · Contrast checker → · Palette generator →

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