#AF4571#AF4571

#AF4571 is a mid, vivid pink. Relative luminance 0.146; OKLCH L 54.5% C 0.145 H 357.2°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#AF4571
RGBrgb(175, 69, 113)
HSLhsl(335, 43%, 48%)
HSVhsv(335, 61%, 69%)
CMYKcmyk(0%, 60.6%, 35.4%, 31.4%)
CIE-LABlab(45.03, 47.55, -2.95)
CIE-LCHlch(45.03, 47.64, 356.45°)
OKLaboklab(54.51% 0.145 -0.0071)
OKLCHoklch(54.51% 0.145 357.2)
XYZxyz(22.7892, 14.5649, 17.2307)
Luminance0.1456 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4571 #45AF83
analogous
#AF45A6 #AF4571 #AF4E45
triadic
#AF4571 #71AF45 #4571AF
tetradic
#AF4571 #A6AF45 #45AF83 #4E45AF
square
#AF4571 #A6AF45 #45AF83 #4E45AF
split-complementary
#AF4571 #45AF4E #45A6AF
monochromatic
#572238 #833455 #AF4571 #C56C91 #D698B2

Accessibility & contrast

On white

5.37
#AF4571 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#AF4571 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4571
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4571#FFFFFF#000000##FFFFFF
##AF45711.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#565E72
Deuteranopia (green-blind)
#73726F
Tritanopia (blue-blind)
#BC3D56
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af4571;
/* rgb */ color: rgb(175, 69, 113);
/* oklch */ color: oklch(54.5% 0.145 357.2);
Tailwind
colors: {
  custom: {
    50: '#ca7e99',
    500: '#af4571',
    950: '#000000',
  },
}
SCSS
$custom: #af4571;
$custom-light: #ca7e99;
$custom-dark: #000000;
JSON
{
  "hex": "#af4571",
  "rgb": {
    "r": 175,
    "g": 69,
    "b": 113
  },
  "hsl": {
    "h": 335.094,
    "s": 43.443,
    "l": 47.843
  },
  "oklch": {
    "l": 0.5451,
    "c": 0.14522,
    "h": 357.2
  },
  "luminance": 0.14562
}

Semantic roles & 50–950 ramp

primary
#AF4571
secondary
#8DC2AC
accent
#D39F55
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#140A0E
muted
#827C7E

Preview Lab

Preview with #AF4571

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

Preview Lab → · Contrast checker → · Palette generator →

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