#AF327D#AF327D

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

Color values

HEX#AF327D
RGBrgb(175, 50, 125)
HSLhsl(324, 56%, 44%)
HSVhsv(324, 71%, 69%)
CMYKcmyk(0%, 71.4%, 28.6%, 31.4%)
CIE-LABlab(42.58, 56.91, -14.00)
CIE-LCHlch(42.58, 58.61, 346.18°)
OKLaboklab(52.84% 0.1731 -0.0368)
OKLCHoklch(52.84% 0.177 348)
XYZxyz(22.5225, 12.8783, 20.6977)
Luminance0.1288 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF327D #32AF64
analogous
#A332AF #AF327D #AF323F
triadic
#AF327D #7DAF32 #327DAF
tetradic
#AF327D #AFA332 #32AF64 #323FAF
square
#AF327D #AFA332 #32AF64 #323FAF
split-complementary
#AF327D #3FAF32 #32AFA3
monochromatic
#501739 #7F245B #AF327D #CD519C #DB81B7

Accessibility & contrast

On white

5.87
#AF327D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#AF327D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF327D
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF327D#FFFFFF#000000##FFFFFF
##AF327D1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43577F
Deuteranopia (green-blind)
#686C7A
Tritanopia (blue-blind)
#BB2D53
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #af327d;
/* rgb */ color: rgb(175, 50, 125);
/* oklch */ color: oklch(52.8% 0.177 348.0);
Tailwind
colors: {
  custom: {
    50: '#cb74a2',
    500: '#af327d',
    950: '#000000',
  },
}
SCSS
$custom: #af327d;
$custom-light: #cb74a2;
$custom-dark: #000000;
JSON
{
  "hex": "#af327d",
  "rgb": {
    "r": 175,
    "g": 50,
    "b": 125
  },
  "hsl": {
    "h": 324,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52838,
    "c": 0.17696,
    "h": 348
  },
  "luminance": 0.12876
}

Semantic roles & 50–950 ramp

primary
#AF327D
secondary
#79C497
accent
#DF8549
background
#FDF7FA
surface
#FAEDF3
border
#D3C8CD
text
#14090F
muted
#837B7F

Preview Lab

Preview with #AF327D

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

Preview Lab → · Contrast checker → · Palette generator →

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