#AF3571#AF3571

#AF3571 is a mid, vivid pink. Relative luminance 0.129; OKLCH L 52.7% C 0.167 H 354.2°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#AF3571
RGBrgb(175, 53, 113)
HSLhsl(330, 54%, 45%)
HSVhsv(330, 70%, 69%)
CMYKcmyk(0%, 69.7%, 35.4%, 31.4%)
CIE-LABlab(42.54, 54.34, -6.64)
CIE-LCHlch(42.54, 54.75, 353.03°)
OKLaboklab(52.67% 0.1663 -0.0169)
OKLCHoklch(52.67% 0.167 354.2)
XYZxyz(21.9342, 12.8550, 16.9457)
Luminance0.1285 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3571 #35AF73
analogous
#AF35AE #AF3571 #AF3635
triadic
#AF3571 #71AF35 #3571AF
tetradic
#AF3571 #AEAF35 #35AF73 #3635AF
square
#AF3571 #AEAF35 #35AF73 #3635AF
split-complementary
#AF3571 #35AF36 #35AEAF
monochromatic
#511934 #802753 #AF3571 #CC5690 #DA85AF

Accessibility & contrast

On white

5.88
#AF3571 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF3571
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3571#FFFFFF#000000##FFFFFF
##AF35711.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5673
Deuteranopia (green-blind)
#6C6D6E
Tritanopia (blue-blind)
#BD2B4E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #af3571;
/* rgb */ color: rgb(175, 53, 113);
/* oklch */ color: oklch(52.7% 0.167 354.2);
Tailwind
colors: {
  custom: {
    50: '#cb7699',
    500: '#af3571',
    950: '#000000',
  },
}
SCSS
$custom: #af3571;
$custom-light: #cb7699;
$custom-dark: #000000;
JSON
{
  "hex": "#af3571",
  "rgb": {
    "r": 175,
    "g": 53,
    "b": 113
  },
  "hsl": {
    "h": 330.492,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52668,
    "c": 0.16718,
    "h": 354.2
  },
  "luminance": 0.12852
}

Semantic roles & 50–950 ramp

primary
#AF3571
secondary
#7CC4A0
accent
#DD954B
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #AF3571

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

Preview Lab → · Contrast checker → · Palette generator →

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