#AF519E#AF519E

#AF519E is a mid, vivid pink. Relative luminance 0.175; OKLCH L 57.9% C 0.155 H 334.8°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#AF519E
RGBrgb(175, 81, 158)
HSLhsl(311, 37%, 50%)
HSVhsv(311, 54%, 69%)
CMYKcmyk(0%, 53.7%, 9.7%, 31.4%)
CIE-LABlab(48.85, 48.33, -24.28)
CIE-LCHlch(48.85, 54.09, 333.32°)
OKLaboklab(57.89% 0.1398 -0.0659)
OKLCHoklch(57.89% 0.155 334.8)
XYZxyz(26.7933, 17.4693, 34.3018)
Luminance0.1747 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF519E #51AF62
analogous
#9151AF #AF519E #AF516F
triadic
#AF519E #9EAF51 #519EAF
tetradic
#AF519E #AF9151 #51AF62 #516FAF
square
#AF519E #AF9151 #51AF62 #516FAF
split-complementary
#AF519E #6FAF51 #51AF91
monochromatic
#5C2A53 #853D78 #AF519E #C27BB5 #D6A5CD

Accessibility & contrast

On white

4.67
#AF519E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#AF519E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF519E
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF519E#FFFFFF#000000##FFFFFF
##AF519E1.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#516BA1
Deuteranopia (green-blind)
#6C799B
Tritanopia (blue-blind)
#B75670
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #af519e;
/* rgb */ color: rgb(175, 81, 158);
/* oklch */ color: oklch(57.9% 0.155 334.8);
Tailwind
colors: {
  custom: {
    50: '#c986bb',
    500: '#af519e',
    950: '#000000',
  },
}
SCSS
$custom: #af519e;
$custom-light: #c986bb;
$custom-dark: #000000;
JSON
{
  "hex": "#af519e",
  "rgb": {
    "r": 175,
    "g": 81,
    "b": 158
  },
  "hsl": {
    "h": 310.851,
    "s": 37.008,
    "l": 50.196
  },
  "oklch": {
    "l": 0.57889,
    "c": 0.15456,
    "h": 334.8
  },
  "luminance": 0.17467
}

Semantic roles & 50–950 ramp

primary
#AF519E
secondary
#99C3A0
accent
#CD6F5B
background
#FCF8FB
surface
#F9F0F6
border
#D2CBD0
text
#130B11
muted
#827C80

Preview Lab

Preview with #AF519E

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

Preview Lab → · Contrast checker → · Palette generator →

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