#AF4E83#AF4E83

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

Color values

HEX#AF4E83
RGBrgb(175, 78, 131)
HSLhsl(327, 38%, 50%)
HSVhsv(327, 55%, 69%)
CMYKcmyk(0%, 55.4%, 25.1%, 31.4%)
CIE-LABlab(47.24, 45.63, -10.60)
CIE-LCHlch(47.24, 46.84, 346.92°)
OKLaboklab(56.35% 0.1375 -0.0277)
OKLCHoklch(56.35% 0.14 348.6)
XYZxyz(24.5011, 16.2036, 23.3056)
Luminance0.1620 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4E83 #4EAF7A
analogous
#AA4EAF #AF4E83 #AF4E53
triadic
#AF4E83 #83AF4E #4E83AF
tetradic
#AF4E83 #AFAA4E #4EAF7A #4E53AF
square
#AF4E83 #AFAA4E #4EAF7A #4E53AF
split-complementary
#AF4E83 #53AF4E #4EAFAA
monochromatic
#5A2844 #853B63 #AF4E83 #C378A1 #D6A2BE

Accessibility & contrast

On white

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

On black

4.24
#AF4E83 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AF4E83#FFFFFF#000000##FFFFFF
##AF4E831.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596685
Deuteranopia (green-blind)
#737681
Tritanopia (blue-blind)
#BA4B63
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #af4e83;
/* rgb */ color: rgb(175, 78, 131);
/* oklch */ color: oklch(56.4% 0.140 348.6);
Tailwind
colors: {
  custom: {
    50: '#ca84a7',
    500: '#af4e83',
    950: '#000000',
  },
}
SCSS
$custom: #af4e83;
$custom-light: #ca84a7;
$custom-dark: #000000;
JSON
{
  "hex": "#af4e83",
  "rgb": {
    "r": 175,
    "g": 78,
    "b": 131
  },
  "hsl": {
    "h": 327.216,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.56352,
    "c": 0.14028,
    "h": 348.6
  },
  "luminance": 0.16201
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF4E83

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

Preview Lab → · Contrast checker → · Palette generator →

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