#AF519C#AF519C

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

Color values

HEX#AF519C
RGBrgb(175, 81, 156)
HSLhsl(312, 37%, 50%)
HSVhsv(312, 54%, 69%)
CMYKcmyk(0%, 53.7%, 10.9%, 31.4%)
CIE-LABlab(48.76, 48.00, -23.23)
CIE-LCHlch(48.76, 53.33, 334.18°)
OKLaboklab(57.8% 0.1394 -0.0629)
OKLCHoklch(57.8% 0.153 335.7)
XYZxyz(26.6225, 17.4010, 33.4026)
Luminance0.1740 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF519C #51AF64
analogous
#9351AF #AF519C #AF516D
triadic
#AF519C #9CAF51 #519CAF
tetradic
#AF519C #AF9351 #51AF64 #516DAF
square
#AF519C #AF9351 #51AF64 #516DAF
split-complementary
#AF519C #6DAF51 #51AF93
monochromatic
#5C2A52 #853D77 #AF519C #C27BB4 #D6A5CC

Accessibility & contrast

On white

4.69
#AF519C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#AF519C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF519C
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF519C#FFFFFF#000000##FFFFFF
##AF519C1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526B9E
Deuteranopia (green-blind)
#6D7999
Tritanopia (blue-blind)
#B7566F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #af519c;
/* rgb */ color: rgb(175, 81, 156);
/* oklch */ color: oklch(57.8% 0.153 335.7);
Tailwind
colors: {
  custom: {
    50: '#c986b9',
    500: '#af519c',
    950: '#000000',
  },
}
SCSS
$custom: #af519c;
$custom-light: #c986b9;
$custom-dark: #000000;
JSON
{
  "hex": "#af519c",
  "rgb": {
    "r": 175,
    "g": 81,
    "b": 156
  },
  "hsl": {
    "h": 312.128,
    "s": 37.008,
    "l": 50.196
  },
  "oklch": {
    "l": 0.57798,
    "c": 0.15294,
    "h": 335.7
  },
  "luminance": 0.17399
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF519C

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

Preview Lab → · Contrast checker → · Palette generator →

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