#AF519A#AF519A

#AF519A is a mid, vivid pink. Relative luminance 0.173; OKLCH L 57.7% C 0.151 H 336.7°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#AF519A
RGBrgb(175, 81, 154)
HSLhsl(313, 37%, 50%)
HSVhsv(313, 54%, 69%)
CMYKcmyk(0%, 53.7%, 12%, 31.4%)
CIE-LABlab(48.68, 47.67, -22.17)
CIE-LCHlch(48.68, 52.58, 335.06°)
OKLaboklab(57.71% 0.139 -0.0599)
OKLCHoklch(57.71% 0.151 336.7)
XYZxyz(26.4546, 17.3338, 32.5180)
Luminance0.1733 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF519A #51AF66
analogous
#9551AF #AF519A #AF516B
triadic
#AF519A #9AAF51 #519AAF
tetradic
#AF519A #AF9551 #51AF66 #516BAF
square
#AF519A #AF9551 #51AF66 #516BAF
split-complementary
#AF519A #6BAF51 #51AF95
monochromatic
#5C2A50 #853D75 #AF519A #C27BB2 #D6A5CB

Accessibility & contrast

On white

4.70
#AF519A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#AF519A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF519A
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF519A#FFFFFF#000000##FFFFFF
##AF519A1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536B9C
Deuteranopia (green-blind)
#6E7997
Tritanopia (blue-blind)
#B7556E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #af519a;
/* rgb */ color: rgb(175, 81, 154);
/* oklch */ color: oklch(57.7% 0.151 336.7);
Tailwind
colors: {
  custom: {
    50: '#c986b8',
    500: '#af519a',
    950: '#000000',
  },
}
SCSS
$custom: #af519a;
$custom-light: #c986b8;
$custom-dark: #000000;
JSON
{
  "hex": "#af519a",
  "rgb": {
    "r": 175,
    "g": 81,
    "b": 154
  },
  "hsl": {
    "h": 313.404,
    "s": 37.008,
    "l": 50.196
  },
  "oklch": {
    "l": 0.57709,
    "c": 0.15134,
    "h": 336.7
  },
  "luminance": 0.17332
}

Semantic roles & 50–950 ramp

primary
#AF519A
secondary
#99C3A2
accent
#CD745B
background
#FCF8FB
surface
#F9F0F6
border
#D2CBD0
text
#130B11
muted
#827C80

Preview Lab

Preview with #AF519A

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

Preview Lab → · Contrast checker → · Palette generator →

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