#AF4472#AF4472

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

Color values

HEX#AF4472
RGBrgb(175, 68, 114)
HSLhsl(334, 44%, 48%)
HSVhsv(334, 61%, 69%)
CMYKcmyk(0%, 61.1%, 34.9%, 31.4%)
CIE-LABlab(44.89, 48.13, -3.77)
CIE-LCHlch(44.89, 48.28, 355.52°)
OKLaboklab(54.42% 0.1468 -0.0093)
OKLCHoklch(54.42% 0.147 356.4)
XYZxyz(22.7848, 14.4655, 17.5085)
Luminance0.1446 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4472 #44AF81
analogous
#AF44A7 #AF4472 #AF4C44
triadic
#AF4472 #72AF44 #4472AF
tetradic
#AF4472 #A7AF44 #44AF81 #4C44AF
square
#AF4472 #A7AF44 #44AF81 #4C44AF
split-complementary
#AF4472 #44AF4C #44A7AF
monochromatic
#572239 #833355 #AF4472 #C56B92 #D797B2

Accessibility & contrast

On white

5.39
#AF4472 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF4472
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4472#FFFFFF#000000##FFFFFF
##AF44721.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555E73
Deuteranopia (green-blind)
#72726F
Tritanopia (blue-blind)
#BC3C56
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #af4472;
/* rgb */ color: rgb(175, 68, 114);
/* oklch */ color: oklch(54.4% 0.147 356.4);
Tailwind
colors: {
  custom: {
    50: '#cb7d9a',
    500: '#af4472',
    950: '#000000',
  },
}
SCSS
$custom: #af4472;
$custom-light: #cb7d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#af4472",
  "rgb": {
    "r": 175,
    "g": 68,
    "b": 114
  },
  "hsl": {
    "h": 334.206,
    "s": 44.033,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54417,
    "c": 0.14709,
    "h": 356.4
  },
  "luminance": 0.14463
}

Semantic roles & 50–950 ramp

primary
#AF4472
secondary
#8CC2AB
accent
#D49D54
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#140A0E
muted
#827C7E

Preview Lab

Preview with #AF4472

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

Preview Lab → · Contrast checker → · Palette generator →

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