#AF4F72#AF4F72

#AF4F72 is a mid, vivid pink. Relative luminance 0.159; OKLCH L 55.9% C 0.130 H 359.3°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#AF4F72
RGBrgb(175, 79, 114)
HSLhsl(338, 38%, 50%)
HSVhsv(338, 55%, 69%)
CMYKcmyk(0%, 54.9%, 34.9%, 31.4%)
CIE-LABlab(46.87, 42.87, -0.86)
CIE-LCHlch(46.87, 42.88, 358.86°)
OKLaboklab(55.9% 0.1305 -0.0017)
OKLCHoklch(55.9% 0.13 359.3)
XYZxyz(23.5136, 15.9232, 17.7515)
Luminance0.1592 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4F72 #4FAF8C
analogous
#AF4FA2 #AF4F72 #AF5C4F
triadic
#AF4F72 #72AF4F #4F72AF
tetradic
#AF4F72 #A2AF4F #4FAF8C #5C4FAF
square
#AF4F72 #A2AF4F #4FAF8C #5C4FAF
split-complementary
#AF4F72 #4FAF5C #4FA2AF
monochromatic
#5B293B #853C57 #AF4F72 #C27994 #D5A3B5

Accessibility & contrast

On white

5.02
#AF4F72 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#AF4F72 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4F72
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4F72#FFFFFF#000000##FFFFFF
##AF4F721.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E6473
Deuteranopia (green-blind)
#787670
Tritanopia (blue-blind)
#BC485C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #af4f72;
/* rgb */ color: rgb(175, 79, 114);
/* oklch */ color: oklch(55.9% 0.130 359.3);
Tailwind
colors: {
  custom: {
    50: '#ca849a',
    500: '#af4f72',
    950: '#000000',
  },
}
SCSS
$custom: #af4f72;
$custom-light: #ca849a;
$custom-dark: #000000;
JSON
{
  "hex": "#af4f72",
  "rgb": {
    "r": 175,
    "g": 79,
    "b": 114
  },
  "hsl": {
    "h": 338.125,
    "s": 37.795,
    "l": 49.804
  },
  "oklch": {
    "l": 0.55895,
    "c": 0.13047,
    "h": 359.3
  },
  "luminance": 0.15921
}

Semantic roles & 50–950 ramp

primary
#AF4F72
secondary
#97C3B3
accent
#CEA45A
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140B0E
muted
#827C7E

Preview Lab

Preview with #AF4F72

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

Preview Lab → · Contrast checker → · Palette generator →

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