#AF4573#AF4573

#AF4573 is a mid, vivid pink. Relative luminance 0.146; OKLCH L 54.6% C 0.146 H 356.0°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#AF4573
RGBrgb(175, 69, 115)
HSLhsl(334, 43%, 48%)
HSVhsv(334, 61%, 69%)
CMYKcmyk(0%, 60.6%, 34.3%, 31.4%)
CIE-LABlab(45.10, 47.79, -4.08)
CIE-LCHlch(45.10, 47.97, 355.12°)
OKLaboklab(54.58% 0.1457 -0.0101)
OKLCHoklch(54.58% 0.146 356)
XYZxyz(22.9030, 14.6104, 17.8303)
Luminance0.1461 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4573 #45AF81
analogous
#AF45A8 #AF4573 #AF4C45
triadic
#AF4573 #73AF45 #4573AF
tetradic
#AF4573 #A8AF45 #45AF81 #4C45AF
square
#AF4573 #A8AF45 #45AF81 #4C45AF
split-complementary
#AF4573 #45AF4C #45A8AF
monochromatic
#572239 #833456 #AF4573 #C56C93 #D698B3

Accessibility & contrast

On white

5.35
#AF4573 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#AF4573 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4573
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4573#FFFFFF#000000##FFFFFF
##AF45731.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#565E74
Deuteranopia (green-blind)
#727271
Tritanopia (blue-blind)
#BC3D57
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af4573;
/* rgb */ color: rgb(175, 69, 115);
/* oklch */ color: oklch(54.6% 0.146 356.0);
Tailwind
colors: {
  custom: {
    50: '#ca7e9b',
    500: '#af4573',
    950: '#000000',
  },
}
SCSS
$custom: #af4573;
$custom-light: #ca7e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#af4573",
  "rgb": {
    "r": 175,
    "g": 69,
    "b": 115
  },
  "hsl": {
    "h": 333.962,
    "s": 43.443,
    "l": 47.843
  },
  "oklch": {
    "l": 0.54578,
    "c": 0.14605,
    "h": 356
  },
  "luminance": 0.14608
}

Semantic roles & 50–950 ramp

primary
#AF4573
secondary
#8DC2AB
accent
#D39C55
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#140A0E
muted
#827C7E

Preview Lab

Preview with #AF4573

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

Preview Lab → · Contrast checker → · Palette generator →

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