#AF326F#AF326F

#AF326F is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.3% C 0.170 H 354.8°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#AF326F
RGBrgb(175, 50, 111)
HSLhsl(331, 56%, 44%)
HSVhsv(331, 71%, 69%)
CMYKcmyk(0%, 71.4%, 36.6%, 31.4%)
CIE-LABlab(42.07, 55.25, -6.11)
CIE-LCHlch(42.07, 55.58, 353.69°)
OKLaboklab(52.3% 0.1693 -0.0154)
OKLCHoklch(52.3% 0.17 354.8)
XYZxyz(21.6904, 12.5454, 16.3151)
Luminance0.1254 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF326F #32AF72
analogous
#AF32AE #AF326F #AF3332
triadic
#AF326F #6FAF32 #326FAF
tetradic
#AF326F #AEAF32 #32AF72 #3332AF
square
#AF326F #AEAF32 #32AF72 #3332AF
split-complementary
#AF326F #32AF33 #32AEAF
monochromatic
#501733 #7F2451 #AF326F #CD518E #DB81AD

Accessibility & contrast

On white

5.99
#AF326F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#AF326F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF326F
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF326F#FFFFFF#000000##FFFFFF
##AF326F1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495571
Deuteranopia (green-blind)
#6C6C6C
Tritanopia (blue-blind)
#BD264C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #af326f;
/* rgb */ color: rgb(175, 50, 111);
/* oklch */ color: oklch(52.3% 0.170 354.8);
Tailwind
colors: {
  custom: {
    50: '#cb7498',
    500: '#af326f',
    950: '#000000',
  },
}
SCSS
$custom: #af326f;
$custom-light: #cb7498;
$custom-dark: #000000;
JSON
{
  "hex": "#af326f",
  "rgb": {
    "r": 175,
    "g": 50,
    "b": 111
  },
  "hsl": {
    "h": 330.72,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52298,
    "c": 0.16999,
    "h": 354.8
  },
  "luminance": 0.12543
}

Semantic roles & 50–950 ramp

primary
#AF326F
secondary
#79C49F
accent
#DF9649
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090D
muted
#837B7E

Preview Lab

Preview with #AF326F

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

Preview Lab → · Contrast checker → · Palette generator →

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