#AF5099#AF5099

#AF5099 is a mid, vivid pink. Relative luminance 0.172; OKLCH L 57.5% C 0.152 H 337.1°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#AF5099
RGBrgb(175, 80, 153)
HSLhsl(314, 37%, 50%)
HSVhsv(314, 54%, 69%)
CMYKcmyk(0%, 54.3%, 12.6%, 31.4%)
CIE-LABlab(48.45, 48.00, -21.93)
CIE-LCHlch(48.45, 52.77, 335.45°)
OKLaboklab(57.53% 0.1402 -0.0592)
OKLCHoklch(57.53% 0.152 337.1)
XYZxyz(26.2979, 17.1531, 32.0566)
Luminance0.1715 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5099 #50AF66
analogous
#9650AF #AF5099 #AF5069
triadic
#AF5099 #99AF50 #5099AF
tetradic
#AF5099 #AF9650 #50AF66 #5069AF
square
#AF5099 #AF9650 #50AF66 #5069AF
split-complementary
#AF5099 #69AF50 #50AF96
monochromatic
#5B2A50 #853D74 #AF5099 #C27AB1 #D5A4CA

Accessibility & contrast

On white

4.74
#AF5099 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#AF5099 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF5099
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5099#FFFFFF#000000##FFFFFF
##AF50991.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526A9B
Deuteranopia (green-blind)
#6D7896
Tritanopia (blue-blind)
#B7546D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #af5099;
/* rgb */ color: rgb(175, 80, 153);
/* oklch */ color: oklch(57.5% 0.152 337.1);
Tailwind
colors: {
  custom: {
    50: '#c985b7',
    500: '#af5099',
    950: '#000000',
  },
}
SCSS
$custom: #af5099;
$custom-light: #c985b7;
$custom-dark: #000000;
JSON
{
  "hex": "#af5099",
  "rgb": {
    "r": 175,
    "g": 80,
    "b": 153
  },
  "hsl": {
    "h": 313.895,
    "s": 37.255,
    "l": 50
  },
  "oklch": {
    "l": 0.57529,
    "c": 0.1522,
    "h": 337.1
  },
  "luminance": 0.17151
}

Semantic roles & 50–950 ramp

primary
#AF5099
secondary
#98C3A2
accent
#CD755B
background
#FCF8FB
surface
#F9F0F6
border
#D2CBD0
text
#130B11
muted
#827C80

Preview Lab

Preview with #AF5099

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

Preview Lab → · Contrast checker → · Palette generator →

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