#AF327A#AF327A

#AF327A is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.7% C 0.175 H 349.4°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#AF327A
RGBrgb(175, 50, 122)
HSLhsl(325, 56%, 44%)
HSVhsv(325, 71%, 69%)
CMYKcmyk(0%, 71.4%, 30.3%, 31.4%)
CIE-LABlab(42.46, 56.54, -12.32)
CIE-LCHlch(42.46, 57.87, 347.70°)
OKLaboklab(52.72% 0.1724 -0.0322)
OKLCHoklch(52.72% 0.175 349.4)
XYZxyz(22.3338, 12.8028, 19.7036)
Luminance0.1280 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF327A #32AF67
analogous
#A632AF #AF327A #AF323C
triadic
#AF327A #7AAF32 #327AAF
tetradic
#AF327A #AFA632 #32AF67 #323CAF
square
#AF327A #AFA632 #32AF67 #323CAF
split-complementary
#AF327A #3CAF32 #32AFA6
monochromatic
#501738 #7F2459 #AF327A #CD5199 #DB81B5

Accessibility & contrast

On white

5.90
#AF327A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#AF327A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF327A
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF327A#FFFFFF#000000##FFFFFF
##AF327A1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45567C
Deuteranopia (green-blind)
#696C77
Tritanopia (blue-blind)
#BC2C51
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #af327a;
/* rgb */ color: rgb(175, 50, 122);
/* oklch */ color: oklch(52.7% 0.175 349.4);
Tailwind
colors: {
  custom: {
    50: '#cb74a0',
    500: '#af327a',
    950: '#000000',
  },
}
SCSS
$custom: #af327a;
$custom-light: #cb74a0;
$custom-dark: #000000;
JSON
{
  "hex": "#af327a",
  "rgb": {
    "r": 175,
    "g": 50,
    "b": 122
  },
  "hsl": {
    "h": 325.44,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52716,
    "c": 0.17534,
    "h": 349.4
  },
  "luminance": 0.128
}

Semantic roles & 50–950 ramp

primary
#AF327A
secondary
#79C499
accent
#DF8949
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #AF327A

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

Preview Lab → · Contrast checker → · Palette generator →

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