#AC307F#AC307F

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

Color values

HEX#AC307F
RGBrgb(172, 48, 127)
HSLhsl(322, 56%, 43%)
HSVhsv(322, 72%, 67%)
CMYKcmyk(0%, 72.1%, 26.2%, 32.5%)
CIE-LABlab(41.87, 57.08, -16.35)
CIE-LCHlch(41.87, 59.37, 344.02°)
OKLaboklab(52.25% 0.173 -0.0433)
OKLCHoklch(52.25% 0.178 345.9)
XYZxyz(21.9019, 12.4192, 21.3183)
Luminance0.1242 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC307F #30AC5D
analogous
#9B30AC #AC307F #AC3041
triadic
#AC307F #7FAC30 #307FAC
tetradic
#AC307F #AC9B30 #30AC5D #3041AC
square
#AC307F #AC9B30 #30AC5D #3041AC
split-complementary
#AC307F #41AC30 #30AC9B
monochromatic
#4C1538 #7C235C #AC307F #CD4C9E #DA7CB8

Accessibility & contrast

On white

6.03
#AC307F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AC307F
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC307F#FFFFFF#000000##FFFFFF
##AC307F1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5581
Deuteranopia (green-blind)
#646A7C
Tritanopia (blue-blind)
#B82D53
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ac307f;
/* rgb */ color: rgb(172, 48, 127);
/* oklch */ color: oklch(52.3% 0.178 345.9);
Tailwind
colors: {
  custom: {
    50: '#c973a4',
    500: '#ac307f',
    950: '#000000',
  },
}
SCSS
$custom: #ac307f;
$custom-light: #c973a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ac307f",
  "rgb": {
    "r": 172,
    "g": 48,
    "b": 127
  },
  "hsl": {
    "h": 321.774,
    "s": 56.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.5225,
    "c": 0.17831,
    "h": 345.9
  },
  "luminance": 0.12417
}

Semantic roles & 50–950 ramp

primary
#AC307F
secondary
#75C391
accent
#E07F48
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AC307F

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

Preview Lab → · Contrast checker → · Palette generator →

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