#AF4471#AF4471

#AF4471 is a mid, vivid pink. Relative luminance 0.144; OKLCH L 54.4% C 0.147 H 356.9°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#AF4471
RGBrgb(175, 68, 113)
HSLhsl(335, 44%, 48%)
HSVhsv(335, 61%, 69%)
CMYKcmyk(0%, 61.1%, 35.4%, 31.4%)
CIE-LABlab(44.86, 48.01, -3.20)
CIE-LCHlch(44.86, 48.12, 356.18°)
OKLaboklab(54.38% 0.1465 -0.0078)
OKLCHoklch(54.38% 0.147 356.9)
XYZxyz(22.7282, 14.4429, 17.2104)
Luminance0.1444 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4471 #44AF82
analogous
#AF44A7 #AF4471 #AF4C44
triadic
#AF4471 #71AF44 #4471AF
tetradic
#AF4471 #A7AF44 #44AF82 #4C44AF
square
#AF4471 #A7AF44 #44AF82 #4C44AF
split-complementary
#AF4471 #44AF4C #44A7AF
monochromatic
#572238 #833355 #AF4471 #C56B91 #D797B2

Accessibility & contrast

On white

5.40
#AF4471 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#AF4471 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4471
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4471#FFFFFF#000000##FFFFFF
##AF44711.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#565E72
Deuteranopia (green-blind)
#72726E
Tritanopia (blue-blind)
#BC3C56
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #af4471;
/* rgb */ color: rgb(175, 68, 113);
/* oklch */ color: oklch(54.4% 0.147 356.9);
Tailwind
colors: {
  custom: {
    50: '#cb7d99',
    500: '#af4471',
    950: '#000000',
  },
}
SCSS
$custom: #af4471;
$custom-light: #cb7d99;
$custom-dark: #000000;
JSON
{
  "hex": "#af4471",
  "rgb": {
    "r": 175,
    "g": 68,
    "b": 113
  },
  "hsl": {
    "h": 334.766,
    "s": 44.033,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54383,
    "c": 0.14668,
    "h": 356.9
  },
  "luminance": 0.1444
}

Semantic roles & 50–950 ramp

primary
#AF4471
secondary
#8CC2AC
accent
#D49E54
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#140A0E
muted
#827C7E

Preview Lab

Preview with #AF4471

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

Preview Lab → · Contrast checker → · Palette generator →

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