#AF5684#AF5684

#AF5684 is a mid, vivid pink. Relative luminance 0.174; OKLCH L 57.5% C 0.128 H 349.6°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#AF5684
RGBrgb(175, 86, 132)
HSLhsl(329, 36%, 51%)
HSVhsv(329, 51%, 69%)
CMYKcmyk(0%, 50.9%, 24.6%, 31.4%)
CIE-LABlab(48.81, 41.76, -8.85)
CIE-LCHlch(48.81, 42.68, 348.03°)
OKLaboklab(57.53% 0.1256 -0.023)
OKLCHoklch(57.53% 0.128 349.6)
XYZxyz(25.1726, 17.4376, 23.8653)
Luminance0.1744 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5684 #56AF81
analogous
#AD56AF #AF5684 #AF5657
triadic
#AF5684 #84AF56 #5684AF
tetradic
#AF5684 #AFAD56 #56AF81 #5657AF
square
#AF5684 #AFAD56 #56AF81 #5657AF
split-complementary
#AF5684 #57AF56 #56AFAD
monochromatic
#5E2D46 #884065 #AF5684 #C380A2 #D6A9C0

Accessibility & contrast

On white

4.68
#AF5684 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#AF5684 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF5684
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5684#FFFFFF#000000##FFFFFF
##AF56841.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#606A86
Deuteranopia (green-blind)
#777A82
Tritanopia (blue-blind)
#BA5367
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #af5684;
/* rgb */ color: rgb(175, 86, 132);
/* oklch */ color: oklch(57.5% 0.128 349.6);
Tailwind
colors: {
  custom: {
    50: '#c989a7',
    500: '#af5684',
    950: '#000000',
  },
}
SCSS
$custom: #af5684;
$custom-light: #c989a7;
$custom-dark: #000000;
JSON
{
  "hex": "#af5684",
  "rgb": {
    "r": 175,
    "g": 86,
    "b": 132
  },
  "hsl": {
    "h": 328.989,
    "s": 35.743,
    "l": 51.176
  },
  "oklch": {
    "l": 0.57533,
    "c": 0.12773,
    "h": 349.6
  },
  "luminance": 0.17435
}

Semantic roles & 50–950 ramp

primary
#AF5684
secondary
#9DC4B0
accent
#CC925C
background
#FCF8FA
surface
#F9F0F4
border
#D2CBCE
text
#130C0F
muted
#827D7F

Preview Lab

Preview with #AF5684

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

Preview Lab → · Contrast checker → · Palette generator →

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