#AF327B#AF327B

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

Color values

HEX#AF327B
RGBrgb(175, 50, 123)
HSLhsl(325, 56%, 44%)
HSVhsv(325, 71%, 69%)
CMYKcmyk(0%, 71.4%, 29.7%, 31.4%)
CIE-LABlab(42.50, 56.66, -12.88)
CIE-LCHlch(42.50, 58.11, 347.19°)
OKLaboklab(52.76% 0.1726 -0.0338)
OKLCHoklch(52.76% 0.176 348.9)
XYZxyz(22.3961, 12.8277, 20.0316)
Luminance0.1283 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF327B #32AF66
analogous
#A532AF #AF327B #AF323D
triadic
#AF327B #7BAF32 #327BAF
tetradic
#AF327B #AFA532 #32AF66 #323DAF
square
#AF327B #AFA532 #32AF66 #323DAF
split-complementary
#AF327B #3DAF32 #32AFA5
monochromatic
#501738 #7F245A #AF327B #CD519A #DB81B5

Accessibility & contrast

On white

5.89
#AF327B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF327B
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF327B#FFFFFF#000000##FFFFFF
##AF327B1.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44567D
Deuteranopia (green-blind)
#686C78
Tritanopia (blue-blind)
#BC2C52
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #af327b;
/* rgb */ color: rgb(175, 50, 123);
/* oklch */ color: oklch(52.8% 0.176 348.9);
Tailwind
colors: {
  custom: {
    50: '#cb74a1',
    500: '#af327b',
    950: '#000000',
  },
}
SCSS
$custom: #af327b;
$custom-light: #cb74a1;
$custom-dark: #000000;
JSON
{
  "hex": "#af327b",
  "rgb": {
    "r": 175,
    "g": 50,
    "b": 123
  },
  "hsl": {
    "h": 324.96,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52756,
    "c": 0.17587,
    "h": 348.9
  },
  "luminance": 0.12825
}

Semantic roles & 50–950 ramp

primary
#AF327B
secondary
#79C498
accent
#DF8749
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090F
muted
#837B7E

Preview Lab

Preview with #AF327B

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

Preview Lab → · Contrast checker → · Palette generator →

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