#AF5686#AF5686

#AF5686 is a mid, vivid pink. Relative luminance 0.175; OKLCH L 57.6% C 0.129 H 348.4°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#AF5686
RGBrgb(175, 86, 134)
HSLhsl(328, 36%, 51%)
HSVhsv(328, 51%, 69%)
CMYKcmyk(0%, 50.9%, 23.4%, 31.4%)
CIE-LABlab(48.88, 42.05, -9.95)
CIE-LCHlch(48.88, 43.21, 346.69°)
OKLaboklab(57.61% 0.1263 -0.026)
OKLCHoklch(57.61% 0.129 348.4)
XYZxyz(25.3108, 17.4929, 24.5930)
Luminance0.1749 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5686 #56AF7F
analogous
#AB56AF #AF5686 #AF5659
triadic
#AF5686 #86AF56 #5686AF
tetradic
#AF5686 #AFAB56 #56AF7F #5659AF
square
#AF5686 #AFAB56 #56AF7F #5659AF
split-complementary
#AF5686 #59AF56 #56AFAB
monochromatic
#5E2D47 #884067 #AF5686 #C380A4 #D6A9C1

Accessibility & contrast

On white

4.67
#AF5686 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#AF5686 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AF5686
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5686#FFFFFF#000000##FFFFFF
##AF56861.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F6B88
Deuteranopia (green-blind)
#777A84
Tritanopia (blue-blind)
#BA5468
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #af5686;
/* rgb */ color: rgb(175, 86, 134);
/* oklch */ color: oklch(57.6% 0.129 348.4);
Tailwind
colors: {
  custom: {
    50: '#c989a9',
    500: '#af5686',
    950: '#000000',
  },
}
SCSS
$custom: #af5686;
$custom-light: #c989a9;
$custom-dark: #000000;
JSON
{
  "hex": "#af5686",
  "rgb": {
    "r": 175,
    "g": 86,
    "b": 134
  },
  "hsl": {
    "h": 327.64,
    "s": 35.743,
    "l": 51.176
  },
  "oklch": {
    "l": 0.57607,
    "c": 0.12891,
    "h": 348.4
  },
  "luminance": 0.17491
}

Semantic roles & 50–950 ramp

primary
#AF5686
secondary
#9DC4AF
accent
#CC905C
background
#FCF8FA
surface
#F9F0F4
border
#D2CBCE
text
#130C0F
muted
#827D7F

Preview Lab

Preview with #AF5686

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

Preview Lab → · Contrast checker → · Palette generator →

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