#AF326D#AF326D

#AF326D is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.2% C 0.169 H 355.8°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#AF326D
RGBrgb(175, 50, 109)
HSLhsl(332, 56%, 44%)
HSVhsv(332, 71%, 69%)
CMYKcmyk(0%, 71.4%, 37.7%, 31.4%)
CIE-LABlab(42.00, 55.02, -4.96)
CIE-LCHlch(42.00, 55.25, 354.85°)
OKLaboklab(52.23% 0.1687 -0.0124)
OKLCHoklch(52.23% 0.169 355.8)
XYZxyz(21.5815, 12.5019, 15.7416)
Luminance0.1250 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF326D #32AF74
analogous
#AF32AC #AF326D #AF3532
triadic
#AF326D #6DAF32 #326DAF
tetradic
#AF326D #ACAF32 #32AF74 #3532AF
square
#AF326D #ACAF32 #32AF74 #3532AF
split-complementary
#AF326D #32AF35 #32ACAF
monochromatic
#501732 #7F244F #AF326D #CD518C #DB81AB

Accessibility & contrast

On white

6.00
#AF326D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#AF326D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF326D
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF326D#FFFFFF#000000##FFFFFF
##AF326D1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49546F
Deuteranopia (green-blind)
#6C6C6A
Tritanopia (blue-blind)
#BD254B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #af326d;
/* rgb */ color: rgb(175, 50, 109);
/* oklch */ color: oklch(52.2% 0.169 355.8);
Tailwind
colors: {
  custom: {
    50: '#cb7496',
    500: '#af326d',
    950: '#000000',
  },
}
SCSS
$custom: #af326d;
$custom-light: #cb7496;
$custom-dark: #000000;
JSON
{
  "hex": "#af326d",
  "rgb": {
    "r": 175,
    "g": 50,
    "b": 109
  },
  "hsl": {
    "h": 331.68,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52226,
    "c": 0.16913,
    "h": 355.8
  },
  "luminance": 0.12499
}

Semantic roles & 50–950 ramp

primary
#AF326D
secondary
#79C4A1
accent
#DF9849
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090D
muted
#837B7E

Preview Lab

Preview with #AF326D

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

Preview Lab → · Contrast checker → · Palette generator →

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