#AF5571#AF5571

#AF5571 is a mid, vivid pink. Relative luminance 0.168; OKLCH L 56.7% C 0.121 H 2.0°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#AF5571
RGBrgb(175, 85, 113)
HSLhsl(341, 36%, 51%)
HSVhsv(341, 51%, 69%)
CMYKcmyk(0%, 51.4%, 35.4%, 31.4%)
CIE-LABlab(48.01, 39.71, 1.41)
CIE-LCHlch(48.01, 39.73, 2.04°)
OKLaboklab(56.74% 0.1207 0.0042)
OKLCHoklch(56.74% 0.121 2)
XYZxyz(23.9095, 16.8055, 17.6042)
Luminance0.1680 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5571 #55AF93
analogous
#AF559E #AF5571 #AF6655
triadic
#AF5571 #71AF55 #5571AF
tetradic
#AF5571 #9EAF55 #55AF93 #6655AF
square
#AF5571 #9EAF55 #55AF93 #6655AF
split-complementary
#AF5571 #55AF66 #559EAF
monochromatic
#5E2C3B #874056 #AF5571 #C37F94 #D6A8B7

Accessibility & contrast

On white

4.82
#AF5571 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#AF5571 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF5571
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5571#FFFFFF#000000##FFFFFF
##AF55711.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#646772
Deuteranopia (green-blind)
#7B786F
Tritanopia (blue-blind)
#BC4E5F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #af5571;
/* rgb */ color: rgb(175, 85, 113);
/* oklch */ color: oklch(56.7% 0.121 2.0);
Tailwind
colors: {
  custom: {
    50: '#ca8899',
    500: '#af5571',
    950: '#000000',
  },
}
SCSS
$custom: #af5571;
$custom-light: #ca8899;
$custom-dark: #000000;
JSON
{
  "hex": "#af5571",
  "rgb": {
    "r": 175,
    "g": 85,
    "b": 113
  },
  "hsl": {
    "h": 341.333,
    "s": 36,
    "l": 50.98
  },
  "oklch": {
    "l": 0.56742,
    "c": 0.12077,
    "h": 2
  },
  "luminance": 0.16803
}

Semantic roles & 50–950 ramp

primary
#AF5571
secondary
#9CC4B7
accent
#CCA95C
background
#FCF8F9
surface
#F9F0F2
border
#D2CBCC
text
#140B0E
muted
#827C7E

Preview Lab

Preview with #AF5571

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

Preview Lab → · Contrast checker → · Palette generator →

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