#AC307E#AC307E

#AC307E is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.2% C 0.178 H 346.4°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#AC307E
RGBrgb(172, 48, 126)
HSLhsl(322, 56%, 43%)
HSVhsv(322, 72%, 67%)
CMYKcmyk(0%, 72.1%, 26.7%, 32.5%)
CIE-LABlab(41.83, 56.95, -15.80)
CIE-LCHlch(41.83, 59.10, 344.50°)
OKLaboklab(52.21% 0.1727 -0.0418)
OKLCHoklch(52.21% 0.178 346.4)
XYZxyz(21.8371, 12.3933, 20.9767)
Luminance0.1239 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC307E #30AC5E
analogous
#9C30AC #AC307E #AC3040
triadic
#AC307E #7EAC30 #307EAC
tetradic
#AC307E #AC9C30 #30AC5E #3040AC
square
#AC307E #AC9C30 #30AC5E #3040AC
split-complementary
#AC307E #40AC30 #30AC9C
monochromatic
#4C1538 #7C235B #AC307E #CD4C9D #DA7CB7

Accessibility & contrast

On white

6.04
#AC307E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#AC307E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC307E
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC307E#FFFFFF#000000##FFFFFF
##AC307E1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405580
Deuteranopia (green-blind)
#656A7B
Tritanopia (blue-blind)
#B82D53
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ac307e;
/* rgb */ color: rgb(172, 48, 126);
/* oklch */ color: oklch(52.2% 0.178 346.4);
Tailwind
colors: {
  custom: {
    50: '#c973a3',
    500: '#ac307e',
    950: '#000000',
  },
}
SCSS
$custom: #ac307e;
$custom-light: #c973a3;
$custom-dark: #000000;
JSON
{
  "hex": "#ac307e",
  "rgb": {
    "r": 172,
    "g": 48,
    "b": 126
  },
  "hsl": {
    "h": 322.258,
    "s": 56.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52207,
    "c": 0.17773,
    "h": 346.4
  },
  "luminance": 0.12391
}

Semantic roles & 50–950 ramp

primary
#AC307E
secondary
#75C392
accent
#E08048
background
#FCF7FA
surface
#F9EDF3
border
#D2C8CD
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AC307E

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

Preview Lab → · Contrast checker → · Palette generator →

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