#AF4579#AF4579

#AF4579 is a mid, vivid pink. Relative luminance 0.148; OKLCH L 54.8% C 0.149 H 352.6°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#AF4579
RGBrgb(175, 69, 121)
HSLhsl(331, 43%, 48%)
HSVhsv(331, 61%, 69%)
CMYKcmyk(0%, 60.6%, 30.9%, 31.4%)
CIE-LABlab(45.29, 48.55, -7.45)
CIE-LCHlch(45.29, 49.12, 351.27°)
OKLaboklab(54.79% 0.1476 -0.0191)
OKLCHoklch(54.79% 0.149 352.6)
XYZxyz(23.2596, 14.7530, 19.7081)
Luminance0.1475 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4579 #45AF7B
analogous
#AF45AE #AF4579 #AF4645
triadic
#AF4579 #79AF45 #4579AF
tetradic
#AF4579 #AEAF45 #45AF7B #4645AF
square
#AF4579 #AEAF45 #45AF7B #4645AF
split-complementary
#AF4579 #45AF46 #45AEAF
monochromatic
#57223C #83345B #AF4579 #C56C98 #D698B7

Accessibility & contrast

On white

5.32
#AF4579 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#AF4579 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4579
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4579#FFFFFF#000000##FFFFFF
##AF45791.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545F7B
Deuteranopia (green-blind)
#717276
Tritanopia (blue-blind)
#BB3F5A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af4579;
/* rgb */ color: rgb(175, 69, 121);
/* oklch */ color: oklch(54.8% 0.149 352.6);
Tailwind
colors: {
  custom: {
    50: '#ca7e9f',
    500: '#af4579',
    950: '#000000',
  },
}
SCSS
$custom: #af4579;
$custom-light: #ca7e9f;
$custom-dark: #000000;
JSON
{
  "hex": "#af4579",
  "rgb": {
    "r": 175,
    "g": 69,
    "b": 121
  },
  "hsl": {
    "h": 330.566,
    "s": 43.443,
    "l": 47.843
  },
  "oklch": {
    "l": 0.54791,
    "c": 0.14885,
    "h": 352.6
  },
  "luminance": 0.14751
}

Semantic roles & 50–950 ramp

primary
#AF4579
secondary
#8DC2A8
accent
#D39555
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#140A0E
muted
#827C7E

Preview Lab

Preview with #AF4579

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

Preview Lab → · Contrast checker → · Palette generator →

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