#AF4E96#AF4E96

#AF4E96 is a mid, vivid pink. Relative luminance 0.168; OKLCH L 57.1% C 0.153 H 338.4°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#AF4E96
RGBrgb(175, 78, 150)
HSLhsl(315, 38%, 50%)
HSVhsv(315, 55%, 69%)
CMYKcmyk(0%, 55.4%, 14.3%, 31.4%)
CIE-LABlab(47.96, 48.49, -20.89)
CIE-LCHlch(47.96, 52.79, 336.69°)
OKLaboklab(57.13% 0.1424 -0.0562)
OKLCHoklch(57.13% 0.153 338.4)
XYZxyz(25.9089, 16.7667, 30.7200)
Luminance0.1676 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4E96 #4EAF67
analogous
#984EAF #AF4E96 #AF4E66
triadic
#AF4E96 #96AF4E #4E96AF
tetradic
#AF4E96 #AF984E #4EAF67 #4E66AF
square
#AF4E96 #AF984E #4EAF67 #4E66AF
split-complementary
#AF4E96 #66AF4E #4EAF98
monochromatic
#5A284D #853B72 #AF4E96 #C378AF #D6A2C8

Accessibility & contrast

On white

4.82
#AF4E96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#AF4E96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4E96
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4E96#FFFFFF#000000##FFFFFF
##AF4E961.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#516898
Deuteranopia (green-blind)
#6D7793
Tritanopia (blue-blind)
#B8516B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #af4e96;
/* rgb */ color: rgb(175, 78, 150);
/* oklch */ color: oklch(57.1% 0.153 338.4);
Tailwind
colors: {
  custom: {
    50: '#c984b5',
    500: '#af4e96',
    950: '#000000',
  },
}
SCSS
$custom: #af4e96;
$custom-light: #c984b5;
$custom-dark: #000000;
JSON
{
  "hex": "#af4e96",
  "rgb": {
    "r": 175,
    "g": 78,
    "b": 150
  },
  "hsl": {
    "h": 315.464,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57127,
    "c": 0.15313,
    "h": 338.4
  },
  "luminance": 0.16765
}

Semantic roles & 50–950 ramp

primary
#AF4E96
secondary
#96C3A2
accent
#CE785A
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#130B11
muted
#827C80

Preview Lab

Preview with #AF4E96

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

Preview Lab → · Contrast checker → · Palette generator →

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