#AF5087#AF5087

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

Color values

HEX#AF5087
RGBrgb(175, 80, 135)
HSLhsl(325, 37%, 50%)
HSVhsv(325, 54%, 69%)
CMYKcmyk(0%, 54.3%, 22.9%, 31.4%)
CIE-LABlab(47.76, 45.22, -12.23)
CIE-LCHlch(47.76, 46.84, 344.86°)
OKLaboklab(56.78% 0.1357 -0.0322)
OKLCHoklch(56.78% 0.139 346.6)
XYZxyz(24.9217, 16.6027, 24.8091)
Luminance0.1660 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5087 #50AF78
analogous
#A750AF #AF5087 #AF5058
triadic
#AF5087 #87AF50 #5087AF
tetradic
#AF5087 #AFA750 #50AF78 #5058AF
square
#AF5087 #AFA750 #50AF78 #5058AF
split-complementary
#AF5087 #58AF50 #50AFA7
monochromatic
#5B2A46 #853D67 #AF5087 #C27AA4 #D5A4C1

Accessibility & contrast

On white

4.86
#AF5087 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#AF5087 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF5087
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5087#FFFFFF#000000##FFFFFF
##AF50871.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af5087;
/* rgb */ color: rgb(175, 80, 135);
/* oklch */ color: oklch(56.8% 0.139 346.6);
Tailwind
colors: {
  custom: {
    50: '#c985aa',
    500: '#af5087',
    950: '#000000',
  },
}
SCSS
$custom: #af5087;
$custom-light: #c985aa;
$custom-dark: #000000;
JSON
{
  "hex": "#af5087",
  "rgb": {
    "r": 175,
    "g": 80,
    "b": 135
  },
  "hsl": {
    "h": 325.263,
    "s": 37.255,
    "l": 50
  },
  "oklch": {
    "l": 0.56782,
    "c": 0.13945,
    "h": 346.6
  },
  "luminance": 0.16601
}

Semantic roles & 50–950 ramp

primary
#AF5087
secondary
#98C3AA
accent
#CD8B5B
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#130B10
muted
#827C7F

Preview Lab

Preview with #AF5087

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

Preview Lab → · Contrast checker → · Palette generator →

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