#AF4F84#AF4F84

#AF4F84 is a mid, vivid pink. Relative luminance 0.164; OKLCH L 56.5% C 0.139 H 348.2°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#AF4F84
RGBrgb(175, 79, 132)
HSLhsl(327, 38%, 50%)
HSVhsv(327, 55%, 69%)
CMYKcmyk(0%, 54.9%, 24.6%, 31.4%)
CIE-LABlab(47.46, 45.28, -10.87)
CIE-LCHlch(47.46, 46.56, 346.50°)
OKLaboklab(56.53% 0.1363 -0.0285)
OKLCHoklch(56.53% 0.139 348.2)
XYZxyz(24.6408, 16.3740, 23.6881)
Luminance0.1637 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4F84 #4FAF7A
analogous
#AA4FAF #AF4F84 #AF4F54
triadic
#AF4F84 #84AF4F #4F84AF
tetradic
#AF4F84 #AFAA4F #4FAF7A #4F54AF
square
#AF4F84 #AFAA4F #4FAF7A #4F54AF
split-complementary
#AF4F84 #54AF4F #4FAFAA
monochromatic
#5B2944 #853C64 #AF4F84 #C279A1 #D5A3BF

Accessibility & contrast

On white

4.91
#AF4F84 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#AF4F84 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4F84
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4F84#FFFFFF#000000##FFFFFF
##AF4F841.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596686
Deuteranopia (green-blind)
#737782
Tritanopia (blue-blind)
#BA4C64
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #af4f84;
/* rgb */ color: rgb(175, 79, 132);
/* oklch */ color: oklch(56.5% 0.139 348.2);
Tailwind
colors: {
  custom: {
    50: '#c984a7',
    500: '#af4f84',
    950: '#000000',
  },
}
SCSS
$custom: #af4f84;
$custom-light: #c984a7;
$custom-dark: #000000;
JSON
{
  "hex": "#af4f84",
  "rgb": {
    "r": 175,
    "g": 79,
    "b": 132
  },
  "hsl": {
    "h": 326.875,
    "s": 37.795,
    "l": 49.804
  },
  "oklch": {
    "l": 0.56528,
    "c": 0.13926,
    "h": 348.2
  },
  "luminance": 0.16372
}

Semantic roles & 50–950 ramp

primary
#AF4F84
secondary
#97C3AB
accent
#CE8E5A
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#140B0F
muted
#827C7F

Preview Lab

Preview with #AF4F84

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

Preview Lab → · Contrast checker → · Palette generator →

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