#AF4E80#AF4E80

#AF4E80 is a mid, vivid pink. Relative luminance 0.161; OKLCH L 56.2% C 0.139 H 350.3°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#AF4E80
RGBrgb(175, 78, 128)
HSLhsl(329, 38%, 50%)
HSVhsv(329, 55%, 69%)
CMYKcmyk(0%, 55.4%, 26.9%, 31.4%)
CIE-LABlab(47.14, 45.21, -8.95)
CIE-LCHlch(47.14, 46.08, 348.80°)
OKLaboklab(56.24% 0.1366 -0.0232)
OKLCHoklch(56.24% 0.139 350.3)
XYZxyz(24.3008, 16.1235, 22.2502)
Luminance0.1612 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4E80 #4EAF7D
analogous
#AE4EAF #AF4E80 #AF4E50
triadic
#AF4E80 #80AF4E #4E80AF
tetradic
#AF4E80 #AFAE4E #4EAF7D #4E50AF
square
#AF4E80 #AFAE4E #4EAF7D #4E50AF
split-complementary
#AF4E80 #50AF4E #4EAFAE
monochromatic
#5A2842 #853B61 #AF4E80 #C3789E #D6A2BC

Accessibility & contrast

On white

4.97
#AF4E80 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#AF4E80 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4E80
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4E80#FFFFFF#000000##FFFFFF
##AF4E801.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6582
Deuteranopia (green-blind)
#74767E
Tritanopia (blue-blind)
#BA4A61
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #af4e80;
/* rgb */ color: rgb(175, 78, 128);
/* oklch */ color: oklch(56.2% 0.139 350.3);
Tailwind
colors: {
  custom: {
    50: '#ca84a4',
    500: '#af4e80',
    950: '#000000',
  },
}
SCSS
$custom: #af4e80;
$custom-light: #ca84a4;
$custom-dark: #000000;
JSON
{
  "hex": "#af4e80",
  "rgb": {
    "r": 175,
    "g": 78,
    "b": 128
  },
  "hsl": {
    "h": 329.072,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.56239,
    "c": 0.13857,
    "h": 350.3
  },
  "luminance": 0.16121
}

Semantic roles & 50–950 ramp

primary
#AF4E80
secondary
#96C3AC
accent
#CE925A
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#140B0F
muted
#827C7F

Preview Lab

Preview with #AF4E80

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

Preview Lab → · Contrast checker → · Palette generator →

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