#AF327F#AF327F

#AF327F is a mid, vivid pink. Relative luminance 0.129; OKLCH L 52.9% C 0.178 H 347.1°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#AF327F
RGBrgb(175, 50, 127)
HSLhsl(323, 56%, 44%)
HSVhsv(323, 71%, 69%)
CMYKcmyk(0%, 71.4%, 27.4%, 31.4%)
CIE-LABlab(42.66, 57.16, -15.11)
CIE-LCHlch(42.66, 59.13, 345.20°)
OKLaboklab(52.92% 0.1736 -0.0399)
OKLCHoklch(52.92% 0.178 347.1)
XYZxyz(22.6516, 12.9299, 21.3774)
Luminance0.1293 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF327F #32AF62
analogous
#A132AF #AF327F #AF3241
triadic
#AF327F #7FAF32 #327FAF
tetradic
#AF327F #AFA132 #32AF62 #3241AF
square
#AF327F #AFA132 #32AF62 #3241AF
split-complementary
#AF327F #41AF32 #32AFA1
monochromatic
#50173A #7F245C #AF327F #CD519E #DB81B8

Accessibility & contrast

On white

5.86
#AF327F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#AF327F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF327F
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF327F#FFFFFF#000000##FFFFFF
##AF327F1.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435781
Deuteranopia (green-blind)
#676D7C
Tritanopia (blue-blind)
#BB2E54
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #af327f;
/* rgb */ color: rgb(175, 50, 127);
/* oklch */ color: oklch(52.9% 0.178 347.1);
Tailwind
colors: {
  custom: {
    50: '#cb75a4',
    500: '#af327f',
    950: '#000000',
  },
}
SCSS
$custom: #af327f;
$custom-light: #cb75a4;
$custom-dark: #000000;
JSON
{
  "hex": "#af327f",
  "rgb": {
    "r": 175,
    "g": 50,
    "b": 127
  },
  "hsl": {
    "h": 323.04,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52921,
    "c": 0.17809,
    "h": 347.1
  },
  "luminance": 0.12927
}

Semantic roles & 50–950 ramp

primary
#AF327F
secondary
#79C496
accent
#DF8349
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #AF327F

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

Preview Lab → · Contrast checker → · Palette generator →

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