#AF5089#AF5089

#AF5089 is a mid, vivid pink. Relative luminance 0.167; OKLCH L 56.9% C 0.141 H 345.5°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#AF5089
RGBrgb(175, 80, 137)
HSLhsl(324, 37%, 50%)
HSVhsv(324, 54%, 69%)
CMYKcmyk(0%, 54.3%, 21.7%, 31.4%)
CIE-LABlab(47.83, 45.51, -13.32)
CIE-LCHlch(47.83, 47.42, 343.68°)
OKLaboklab(56.86% 0.1363 -0.0352)
OKLCHoklch(56.86% 0.141 345.5)
XYZxyz(25.0639, 16.6595, 25.5576)
Luminance0.1666 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5089 #50AF76
analogous
#A650AF #AF5089 #AF5059
triadic
#AF5089 #89AF50 #5089AF
tetradic
#AF5089 #AFA650 #50AF76 #5059AF
square
#AF5089 #AFA650 #50AF76 #5059AF
split-complementary
#AF5089 #59AF50 #50AFA6
monochromatic
#5B2A47 #853D68 #AF5089 #C27AA5 #D5A4C2

Accessibility & contrast

On white

4.85
#AF5089 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#AF5089 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF5089
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5089#FFFFFF#000000##FFFFFF
##AF50891.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#58678B
Deuteranopia (green-blind)
#727787
Tritanopia (blue-blind)
#B94F66
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #af5089;
/* rgb */ color: rgb(175, 80, 137);
/* oklch */ color: oklch(56.9% 0.141 345.5);
Tailwind
colors: {
  custom: {
    50: '#c985ab',
    500: '#af5089',
    950: '#000000',
  },
}
SCSS
$custom: #af5089;
$custom-light: #c985ab;
$custom-dark: #000000;
JSON
{
  "hex": "#af5089",
  "rgb": {
    "r": 175,
    "g": 80,
    "b": 137
  },
  "hsl": {
    "h": 324,
    "s": 37.255,
    "l": 50
  },
  "oklch": {
    "l": 0.5686,
    "c": 0.14073,
    "h": 345.5
  },
  "luminance": 0.16657
}

Semantic roles & 50–950 ramp

primary
#AF5089
secondary
#98C3A9
accent
#CD885B
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#130B10
muted
#827C7F

Preview Lab

Preview with #AF5089

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

Preview Lab → · Contrast checker → · Palette generator →

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