#AF3687#AF3687

#AF3687 is a mid, vivid pink. Relative luminance 0.135; OKLCH L 53.7% C 0.178 H 343.7°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#AF3687
RGBrgb(175, 54, 135)
HSLhsl(320, 53%, 45%)
HSVhsv(320, 69%, 69%)
CMYKcmyk(0%, 69.1%, 22.9%, 31.4%)
CIE-LABlab(43.51, 56.73, -18.69)
CIE-LCHlch(43.51, 59.73, 341.76°)
OKLaboklab(53.65% 0.1707 -0.0499)
OKLCHoklch(53.65% 0.178 343.7)
XYZxyz(23.3724, 13.5039, 24.2926)
Luminance0.1350 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3687 #36AF5E
analogous
#9B36AF #AF3687 #AF364A
triadic
#AF3687 #87AF36 #3687AF
tetradic
#AF3687 #AF9B36 #36AF5E #364AAF
square
#AF3687 #AF9B36 #36AF5E #364AAF
split-complementary
#AF3687 #4AAF36 #36AF9B
monochromatic
#51193F #802863 #AF3687 #CB57A5 #DA86BE

Accessibility & contrast

On white

5.68
#AF3687 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#AF3687 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3687
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3687#FFFFFF#000000##FFFFFF
##AF36871.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425A89
Deuteranopia (green-blind)
#666E84
Tritanopia (blue-blind)
#BA365A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #af3687;
/* rgb */ color: rgb(175, 54, 135);
/* oklch */ color: oklch(53.7% 0.178 343.7);
Tailwind
colors: {
  custom: {
    50: '#cb77aa',
    500: '#af3687',
    950: '#000000',
  },
}
SCSS
$custom: #af3687;
$custom-light: #cb77aa;
$custom-dark: #000000;
JSON
{
  "hex": "#af3687",
  "rgb": {
    "r": 175,
    "g": 54,
    "b": 135
  },
  "hsl": {
    "h": 319.835,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53651,
    "c": 0.17787,
    "h": 343.7
  },
  "luminance": 0.13502
}

Semantic roles & 50–950 ramp

primary
#AF3687
secondary
#7DC395
accent
#DC7B4C
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AF3687

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

Preview Lab → · Contrast checker → · Palette generator →

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