#AF327E#AF327E

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

Color values

HEX#AF327E
RGBrgb(175, 50, 126)
HSLhsl(324, 56%, 44%)
HSVhsv(324, 71%, 69%)
CMYKcmyk(0%, 71.4%, 28%, 31.4%)
CIE-LABlab(42.62, 57.04, -14.55)
CIE-LCHlch(42.62, 58.86, 345.69°)
OKLaboklab(52.88% 0.1733 -0.0384)
OKLCHoklch(52.88% 0.178 347.5)
XYZxyz(22.5867, 12.9040, 21.0358)
Luminance0.1290 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF327E #32AF63
analogous
#A232AF #AF327E #AF3240
triadic
#AF327E #7EAF32 #327EAF
tetradic
#AF327E #AFA232 #32AF63 #3240AF
square
#AF327E #AFA232 #32AF63 #3240AF
split-complementary
#AF327E #40AF32 #32AFA2
monochromatic
#501739 #7F245C #AF327E #CD519D #DB81B7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF327E#FFFFFF#000000##FFFFFF
##AF327E1.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)
#435780
Deuteranopia (green-blind)
#686C7B
Tritanopia (blue-blind)
#BB2E53
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #af327e;
/* rgb */ color: rgb(175, 50, 126);
/* oklch */ color: oklch(52.9% 0.178 347.5);
Tailwind
colors: {
  custom: {
    50: '#cb75a3',
    500: '#af327e',
    950: '#000000',
  },
}
SCSS
$custom: #af327e;
$custom-light: #cb75a3;
$custom-dark: #000000;
JSON
{
  "hex": "#af327e",
  "rgb": {
    "r": 175,
    "g": 50,
    "b": 126
  },
  "hsl": {
    "h": 323.52,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52879,
    "c": 0.17752,
    "h": 347.5
  },
  "luminance": 0.12902
}

Semantic roles & 50–950 ramp

primary
#AF327E
secondary
#79C496
accent
#DF8449
background
#FDF7FA
surface
#FAEDF3
border
#D3C8CD
text
#14090F
muted
#837B7F

Preview Lab

Preview with #AF327E

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

Preview Lab → · Contrast checker → · Palette generator →

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