#AF4572#AF4572

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

Color values

HEX#AF4572
RGBrgb(175, 69, 114)
HSLhsl(335, 43%, 48%)
HSVhsv(335, 61%, 69%)
CMYKcmyk(0%, 60.6%, 34.9%, 31.4%)
CIE-LABlab(45.06, 47.67, -3.52)
CIE-LCHlch(45.06, 47.80, 355.78°)
OKLaboklab(54.54% 0.1454 -0.0086)
OKLCHoklch(54.54% 0.146 356.6)
XYZxyz(22.8458, 14.5875, 17.5289)
Luminance0.1459 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4572 #45AF82
analogous
#AF45A7 #AF4572 #AF4D45
triadic
#AF4572 #72AF45 #4572AF
tetradic
#AF4572 #A7AF45 #45AF82 #4D45AF
square
#AF4572 #A7AF45 #45AF82 #4D45AF
split-complementary
#AF4572 #45AF4D #45A7AF
monochromatic
#572239 #833455 #AF4572 #C56C92 #D698B2

Accessibility & contrast

On white

5.36
#AF4572 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF4572
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4572#FFFFFF#000000##FFFFFF
##AF45721.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af4572;
/* rgb */ color: rgb(175, 69, 114);
/* oklch */ color: oklch(54.5% 0.146 356.6);
Tailwind
colors: {
  custom: {
    50: '#ca7e9a',
    500: '#af4572',
    950: '#000000',
  },
}
SCSS
$custom: #af4572;
$custom-light: #ca7e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#af4572",
  "rgb": {
    "r": 175,
    "g": 69,
    "b": 114
  },
  "hsl": {
    "h": 334.528,
    "s": 43.443,
    "l": 47.843
  },
  "oklch": {
    "l": 0.54544,
    "c": 0.14563,
    "h": 356.6
  },
  "luminance": 0.14585
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF4572

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

Preview Lab → · Contrast checker → · Palette generator →

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