#AF3986#AF3986

#AF3986 is a mid, vivid pink. Relative luminance 0.138; OKLCH L 53.9% C 0.173 H 344.4°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#AF3986
RGBrgb(175, 57, 134)
HSLhsl(321, 51%, 45%)
HSVhsv(321, 67%, 69%)
CMYKcmyk(0%, 67.4%, 23.4%, 31.4%)
CIE-LABlab(43.89, 55.42, -17.50)
CIE-LCHlch(43.89, 58.12, 342.47°)
OKLaboklab(53.92% 0.1669 -0.0466)
OKLCHoklch(53.92% 0.173 344.4)
XYZxyz(23.4462, 13.7638, 23.9715)
Luminance0.1376 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3986 #39AF62
analogous
#9D39AF #AF3986 #AF394B
triadic
#AF3986 #86AF39 #3986AF
tetradic
#AF3986 #AF9D39 #39AF62 #394BAF
square
#AF3986 #AF9D39 #39AF62 #394BAF
split-complementary
#AF3986 #4BAF39 #39AF9D
monochromatic
#531B3F #812A63 #AF3986 #CA5BA3 #D98ABD

Accessibility & contrast

On white

5.60
#AF3986 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#AF3986 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3986
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3986#FFFFFF#000000##FFFFFF
##AF39861.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455B88
Deuteranopia (green-blind)
#686F83
Tritanopia (blue-blind)
#BA385A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #af3986;
/* rgb */ color: rgb(175, 57, 134);
/* oklch */ color: oklch(53.9% 0.173 344.4);
Tailwind
colors: {
  custom: {
    50: '#ca78a9',
    500: '#af3986',
    950: '#000000',
  },
}
SCSS
$custom: #af3986;
$custom-light: #ca78a9;
$custom-dark: #000000;
JSON
{
  "hex": "#af3986",
  "rgb": {
    "r": 175,
    "g": 57,
    "b": 134
  },
  "hsl": {
    "h": 320.847,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53915,
    "c": 0.17332,
    "h": 344.4
  },
  "luminance": 0.13761
}

Semantic roles & 50–950 ramp

primary
#AF3986
secondary
#81C398
accent
#DA7E4D
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AF3986

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

Preview Lab → · Contrast checker → · Palette generator →

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