#AF5086#AF5086

#AF5086 is a mid, vivid pink. Relative luminance 0.166; OKLCH L 56.7% C 0.139 H 347.2°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#AF5086
RGBrgb(175, 80, 134)
HSLhsl(326, 37%, 50%)
HSVhsv(326, 54%, 69%)
CMYKcmyk(0%, 54.3%, 23.4%, 31.4%)
CIE-LABlab(47.72, 45.07, -11.69)
CIE-LCHlch(47.72, 46.56, 345.47°)
OKLaboklab(56.74% 0.1354 -0.0307)
OKLCHoklch(56.74% 0.139 347.2)
XYZxyz(24.8517, 16.5747, 24.4400)
Luminance0.1657 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5086 #50AF79
analogous
#A950AF #AF5086 #AF5056
triadic
#AF5086 #86AF50 #5086AF
tetradic
#AF5086 #AFA950 #50AF79 #5056AF
square
#AF5086 #AFA950 #50AF79 #5056AF
split-complementary
#AF5086 #56AF50 #50AFA9
monochromatic
#5B2A46 #853D66 #AF5086 #C27AA3 #D5A4C0

Accessibility & contrast

On white

4.87
#AF5086 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#AF5086 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF5086
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5086#FFFFFF#000000##FFFFFF
##AF50861.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596788
Deuteranopia (green-blind)
#737784
Tritanopia (blue-blind)
#BA4E65
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #af5086;
/* rgb */ color: rgb(175, 80, 134);
/* oklch */ color: oklch(56.7% 0.139 347.2);
Tailwind
colors: {
  custom: {
    50: '#c985a9',
    500: '#af5086',
    950: '#000000',
  },
}
SCSS
$custom: #af5086;
$custom-light: #c985a9;
$custom-dark: #000000;
JSON
{
  "hex": "#af5086",
  "rgb": {
    "r": 175,
    "g": 80,
    "b": 134
  },
  "hsl": {
    "h": 325.895,
    "s": 37.255,
    "l": 50
  },
  "oklch": {
    "l": 0.56743,
    "c": 0.13884,
    "h": 347.2
  },
  "luminance": 0.16573
}

Semantic roles & 50–950 ramp

primary
#AF5086
secondary
#98C3AA
accent
#CD8C5B
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#140B0F
muted
#827C7F

Preview Lab

Preview with #AF5086

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

Preview Lab → · Contrast checker → · Palette generator →

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