#AF519D#AF519D

#AF519D is a mid, vivid pink. Relative luminance 0.174; OKLCH L 57.8% C 0.154 H 335.3°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#AF519D
RGBrgb(175, 81, 157)
HSLhsl(311, 37%, 50%)
HSVhsv(311, 54%, 69%)
CMYKcmyk(0%, 53.7%, 10.3%, 31.4%)
CIE-LABlab(48.80, 48.17, -23.76)
CIE-LCHlch(48.80, 53.71, 333.75°)
OKLaboklab(57.84% 0.1396 -0.0644)
OKLCHoklch(57.84% 0.154 335.3)
XYZxyz(26.7075, 17.4350, 33.8504)
Luminance0.1743 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF519D #51AF63
analogous
#9251AF #AF519D #AF516E
triadic
#AF519D #9DAF51 #519DAF
tetradic
#AF519D #AF9251 #51AF63 #516EAF
square
#AF519D #AF9251 #51AF63 #516EAF
split-complementary
#AF519D #6EAF51 #51AF92
monochromatic
#5C2A52 #853D78 #AF519D #C27BB5 #D6A5CC

Accessibility & contrast

On white

4.68
#AF519D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF519D
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF519D#FFFFFF#000000##FFFFFF
##AF519D1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af519d;
/* rgb */ color: rgb(175, 81, 157);
/* oklch */ color: oklch(57.8% 0.154 335.3);
Tailwind
colors: {
  custom: {
    50: '#c986ba',
    500: '#af519d',
    950: '#000000',
  },
}
SCSS
$custom: #af519d;
$custom-light: #c986ba;
$custom-dark: #000000;
JSON
{
  "hex": "#af519d",
  "rgb": {
    "r": 175,
    "g": 81,
    "b": 157
  },
  "hsl": {
    "h": 311.489,
    "s": 37.008,
    "l": 50.196
  },
  "oklch": {
    "l": 0.57843,
    "c": 0.15374,
    "h": 335.3
  },
  "luminance": 0.17433
}

Semantic roles & 50–950 ramp

primary
#AF519D
secondary
#99C3A1
accent
#CD715B
background
#FCF8FB
surface
#F9F0F6
border
#D2CBD0
text
#130B11
muted
#827C80

Preview Lab

Preview with #AF519D

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

Preview Lab → · Contrast checker → · Palette generator →

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