#AF3486#AF3486

#AF3486 is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.4% C 0.180 H 344.0°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#AF3486
RGBrgb(175, 52, 134)
HSLhsl(320, 54%, 45%)
HSVhsv(320, 70%, 69%)
CMYKcmyk(0%, 70.3%, 23.4%, 31.4%)
CIE-LABlab(43.20, 57.35, -18.56)
CIE-LCHlch(43.20, 60.28, 342.07°)
OKLaboklab(53.41% 0.1728 -0.0495)
OKLCHoklch(53.41% 0.18 344)
XYZxyz(23.2111, 13.2935, 23.8931)
Luminance0.1329 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3486 #34AF5D
analogous
#9B34AF #AF3486 #AF3449
triadic
#AF3486 #86AF34 #3486AF
tetradic
#AF3486 #AF9B34 #34AF5D #3449AF
square
#AF3486 #AF9B34 #34AF5D #3449AF
split-complementary
#AF3486 #49AF34 #34AF9B
monochromatic
#51183E #802662 #AF3486 #CC54A4 #DA83BD

Accessibility & contrast

On white

5.74
#AF3486 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#AF3486 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3486
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3486#FFFFFF#000000##FFFFFF
##AF34861.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415988
Deuteranopia (green-blind)
#666E83
Tritanopia (blue-blind)
#BA3358
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #af3486;
/* rgb */ color: rgb(175, 52, 134);
/* oklch */ color: oklch(53.4% 0.180 344.0);
Tailwind
colors: {
  custom: {
    50: '#cb76a9',
    500: '#af3486',
    950: '#000000',
  },
}
SCSS
$custom: #af3486;
$custom-light: #cb76a9;
$custom-dark: #000000;
JSON
{
  "hex": "#af3486",
  "rgb": {
    "r": 175,
    "g": 52,
    "b": 134
  },
  "hsl": {
    "h": 320,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53411,
    "c": 0.17978,
    "h": 344
  },
  "luminance": 0.13291
}

Semantic roles & 50–950 ramp

primary
#AF3486
secondary
#7BC493
accent
#DE7B4A
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AF3486

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

Preview Lab → · Contrast checker → · Palette generator →

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