#AF4E81#AF4E81

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

Color values

HEX#AF4E81
RGBrgb(175, 78, 129)
HSLhsl(328, 38%, 50%)
HSVhsv(328, 55%, 69%)
CMYKcmyk(0%, 55.4%, 26.3%, 31.4%)
CIE-LABlab(47.17, 45.34, -9.50)
CIE-LCHlch(47.17, 46.33, 348.17°)
OKLaboklab(56.28% 0.1369 -0.0247)
OKLCHoklch(56.28% 0.139 349.8)
XYZxyz(24.3669, 16.1499, 22.5986)
Luminance0.1615 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4E81 #4EAF7C
analogous
#AD4EAF #AF4E81 #AF4E50
triadic
#AF4E81 #81AF4E #4E81AF
tetradic
#AF4E81 #AFAD4E #4EAF7C #4E50AF
square
#AF4E81 #AFAD4E #4EAF7C #4E50AF
split-complementary
#AF4E81 #50AF4E #4EAFAD
monochromatic
#5A2843 #853B62 #AF4E81 #C3789F #D6A2BD

Accessibility & contrast

On white

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

On black

4.23
#AF4E81 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AF4E81#FFFFFF#000000##FFFFFF
##AF4E811.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596583
Deuteranopia (green-blind)
#73767F
Tritanopia (blue-blind)
#BA4B62
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #af4e81;
/* rgb */ color: rgb(175, 78, 129);
/* oklch */ color: oklch(56.3% 0.139 349.8);
Tailwind
colors: {
  custom: {
    50: '#ca84a5',
    500: '#af4e81',
    950: '#000000',
  },
}
SCSS
$custom: #af4e81;
$custom-light: #ca84a5;
$custom-dark: #000000;
JSON
{
  "hex": "#af4e81",
  "rgb": {
    "r": 175,
    "g": 78,
    "b": 129
  },
  "hsl": {
    "h": 328.454,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.56276,
    "c": 0.13913,
    "h": 349.8
  },
  "luminance": 0.16148
}

Semantic roles & 50–950 ramp

primary
#AF4E81
secondary
#96C3AB
accent
#CE915A
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#140B0F
muted
#827C7F

Preview Lab

Preview with #AF4E81

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

Preview Lab → · Contrast checker → · Palette generator →

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