#AF327C#AF327C

#AF327C is a mid, vivid pink. Relative luminance 0.129; OKLCH L 52.8% C 0.176 H 348.5°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#AF327C
RGBrgb(175, 50, 124)
HSLhsl(324, 56%, 44%)
HSVhsv(324, 71%, 69%)
CMYKcmyk(0%, 71.4%, 29.1%, 31.4%)
CIE-LABlab(42.54, 56.78, -13.44)
CIE-LCHlch(42.54, 58.35, 346.68°)
OKLaboklab(52.8% 0.1729 -0.0353)
OKLCHoklch(52.8% 0.176 348.5)
XYZxyz(22.4590, 12.8529, 20.3630)
Luminance0.1285 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF327C #32AF65
analogous
#A432AF #AF327C #AF323E
triadic
#AF327C #7CAF32 #327CAF
tetradic
#AF327C #AFA432 #32AF65 #323EAF
square
#AF327C #AFA432 #32AF65 #323EAF
split-complementary
#AF327C #3EAF32 #32AFA4
monochromatic
#501739 #7F245A #AF327C #CD519B #DB81B6

Accessibility & contrast

On white

5.88
#AF327C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#AF327C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF327C
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF327C#FFFFFF#000000##FFFFFF
##AF327C1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44567E
Deuteranopia (green-blind)
#686C79
Tritanopia (blue-blind)
#BB2D52
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #af327c;
/* rgb */ color: rgb(175, 50, 124);
/* oklch */ color: oklch(52.8% 0.176 348.5);
Tailwind
colors: {
  custom: {
    50: '#cb74a2',
    500: '#af327c',
    950: '#000000',
  },
}
SCSS
$custom: #af327c;
$custom-light: #cb74a2;
$custom-dark: #000000;
JSON
{
  "hex": "#af327c",
  "rgb": {
    "r": 175,
    "g": 50,
    "b": 124
  },
  "hsl": {
    "h": 324.48,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52797,
    "c": 0.17642,
    "h": 348.5
  },
  "luminance": 0.1285
}

Semantic roles & 50–950 ramp

primary
#AF327C
secondary
#79C497
accent
#DF8649
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090F
muted
#837B7E

Preview Lab

Preview with #AF327C

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

Preview Lab → · Contrast checker → · Palette generator →

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