#AF4E84#AF4E84

#AF4E84 is a mid, vivid pink. Relative luminance 0.162; OKLCH L 56.4% C 0.141 H 348.0°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#AF4E84
RGBrgb(175, 78, 132)
HSLhsl(327, 38%, 50%)
HSVhsv(327, 55%, 69%)
CMYKcmyk(0%, 55.4%, 24.6%, 31.4%)
CIE-LABlab(47.28, 45.77, -11.15)
CIE-LCHlch(47.28, 47.11, 346.31°)
OKLaboklab(56.39% 0.1378 -0.0292)
OKLCHoklch(56.39% 0.141 348)
XYZxyz(24.5692, 16.2309, 23.6642)
Luminance0.1623 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4E84 #4EAF79
analogous
#AA4EAF #AF4E84 #AF4E54
triadic
#AF4E84 #84AF4E #4E84AF
tetradic
#AF4E84 #AFAA4E #4EAF79 #4E54AF
square
#AF4E84 #AFAA4E #4EAF79 #4E54AF
split-complementary
#AF4E84 #54AF4E #4EAFAA
monochromatic
#5A2844 #853B64 #AF4E84 #C378A1 #D6A2BF

Accessibility & contrast

On white

4.95
#AF4E84 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#AF4E84 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4E84
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4E84#FFFFFF#000000##FFFFFF
##AF4E841.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#586686
Deuteranopia (green-blind)
#737682
Tritanopia (blue-blind)
#BA4C63
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #af4e84;
/* rgb */ color: rgb(175, 78, 132);
/* oklch */ color: oklch(56.4% 0.141 348.0);
Tailwind
colors: {
  custom: {
    50: '#ca84a7',
    500: '#af4e84',
    950: '#000000',
  },
}
SCSS
$custom: #af4e84;
$custom-light: #ca84a7;
$custom-dark: #000000;
JSON
{
  "hex": "#af4e84",
  "rgb": {
    "r": 175,
    "g": 78,
    "b": 132
  },
  "hsl": {
    "h": 326.598,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.5639,
    "c": 0.14087,
    "h": 348
  },
  "luminance": 0.16229
}

Semantic roles & 50–950 ramp

primary
#AF4E84
secondary
#96C3AA
accent
#CE8D5A
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#140B0F
muted
#827C7F

Preview Lab

Preview with #AF4E84

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

Preview Lab → · Contrast checker → · Palette generator →

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