#AF4E99#AF4E99

#AF4E99 is a mid, vivid pink. Relative luminance 0.169; OKLCH L 57.3% C 0.155 H 337.0°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#AF4E99
RGBrgb(175, 78, 153)
HSLhsl(314, 38%, 50%)
HSVhsv(314, 55%, 69%)
CMYKcmyk(0%, 55.4%, 12.6%, 31.4%)
CIE-LABlab(48.09, 48.97, -22.49)
CIE-LCHlch(48.09, 53.88, 335.34°)
OKLaboklab(57.26% 0.1431 -0.0607)
OKLCHoklch(57.26% 0.155 337)
XYZxyz(26.1536, 16.8646, 32.0085)
Luminance0.1686 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4E99 #4EAF64
analogous
#954EAF #AF4E99 #AF4E69
triadic
#AF4E99 #99AF4E #4E99AF
tetradic
#AF4E99 #AF954E #4EAF64 #4E69AF
square
#AF4E99 #AF954E #4EAF64 #4E69AF
split-complementary
#AF4E99 #69AF4E #4EAF95
monochromatic
#5A284F #853B74 #AF4E99 #C378B2 #D6A2CA

Accessibility & contrast

On white

4.80
#AF4E99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#AF4E99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4E99
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4E99#FFFFFF#000000##FFFFFF
##AF4E991.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50699B
Deuteranopia (green-blind)
#6C7896
Tritanopia (blue-blind)
#B7526D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #af4e99;
/* rgb */ color: rgb(175, 78, 153);
/* oklch */ color: oklch(57.3% 0.155 337.0);
Tailwind
colors: {
  custom: {
    50: '#c984b7',
    500: '#af4e99',
    950: '#000000',
  },
}
SCSS
$custom: #af4e99;
$custom-light: #c984b7;
$custom-dark: #000000;
JSON
{
  "hex": "#af4e99",
  "rgb": {
    "r": 175,
    "g": 78,
    "b": 153
  },
  "hsl": {
    "h": 313.608,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.5726,
    "c": 0.15543,
    "h": 337
  },
  "luminance": 0.16863
}

Semantic roles & 50–950 ramp

primary
#AF4E99
secondary
#96C3A0
accent
#CE745A
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#130B11
muted
#827C80

Preview Lab

Preview with #AF4E99

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

Preview Lab → · Contrast checker → · Palette generator →

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