#AF3579#AF3579

#AF3579 is a mid, vivid pink. Relative luminance 0.130; OKLCH L 53.0% C 0.171 H 350.2°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#AF3579
RGBrgb(175, 53, 121)
HSLhsl(327, 54%, 45%)
HSVhsv(327, 70%, 69%)
CMYKcmyk(0%, 69.7%, 30.9%, 31.4%)
CIE-LABlab(42.83, 55.30, -11.16)
CIE-LCHlch(42.83, 56.41, 348.59°)
OKLaboklab(52.97% 0.1686 -0.0291)
OKLCHoklch(52.97% 0.171 350.2)
XYZxyz(22.4046, 13.0431, 19.4231)
Luminance0.1304 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3579 #35AF6B
analogous
#A835AF #AF3579 #AF353C
triadic
#AF3579 #79AF35 #3579AF
tetradic
#AF3579 #AFA835 #35AF6B #353CAF
square
#AF3579 #AFA835 #35AF6B #353CAF
split-complementary
#AF3579 #3CAF35 #35AFA8
monochromatic
#511938 #802759 #AF3579 #CC5697 #DA85B4

Accessibility & contrast

On white

5.82
#AF3579 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#AF3579 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3579
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3579#FFFFFF#000000##FFFFFF
##AF35791.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47577B
Deuteranopia (green-blind)
#6A6D76
Tritanopia (blue-blind)
#BC2E52
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #af3579;
/* rgb */ color: rgb(175, 53, 121);
/* oklch */ color: oklch(53.0% 0.171 350.2);
Tailwind
colors: {
  custom: {
    50: '#cb769f',
    500: '#af3579',
    950: '#000000',
  },
}
SCSS
$custom: #af3579;
$custom-light: #cb769f;
$custom-dark: #000000;
JSON
{
  "hex": "#af3579",
  "rgb": {
    "r": 175,
    "g": 53,
    "b": 121
  },
  "hsl": {
    "h": 326.557,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52971,
    "c": 0.17109,
    "h": 350.2
  },
  "luminance": 0.13041
}

Semantic roles & 50–950 ramp

primary
#AF3579
secondary
#7CC49C
accent
#DD8C4B
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #AF3579

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

Preview Lab → · Contrast checker → · Palette generator →

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