#AF3386#AF3386

#AF3386 is a mid, vivid pink. Relative luminance 0.132; OKLCH L 53.3% C 0.181 H 343.9°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#AF3386
RGBrgb(175, 51, 134)
HSLhsl(320, 55%, 44%)
HSVhsv(320, 71%, 69%)
CMYKcmyk(0%, 70.9%, 23.4%, 31.4%)
CIE-LABlab(43.07, 57.71, -18.76)
CIE-LCHlch(43.07, 60.69, 341.99°)
OKLaboklab(53.32% 0.174 -0.05)
OKLCHoklch(53.32% 0.181 343.9)
XYZxyz(23.1669, 13.2052, 23.8784)
Luminance0.1320 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3386 #33AF5C
analogous
#9A33AF #AF3386 #AF3348
triadic
#AF3386 #86AF33 #3386AF
tetradic
#AF3386 #AF9A33 #33AF5C #3348AF
square
#AF3386 #AF9A33 #33AF5C #3348AF
split-complementary
#AF3386 #48AF33 #33AF9A
monochromatic
#50173D #802562 #AF3386 #CD52A4 #DB82BD

Accessibility & contrast

On white

5.77
#AF3386 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#AF3386 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3386
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3386#FFFFFF#000000##FFFFFF
##AF33861.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405988
Deuteranopia (green-blind)
#666D83
Tritanopia (blue-blind)
#BA3258
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #af3386;
/* rgb */ color: rgb(175, 51, 134);
/* oklch */ color: oklch(53.3% 0.181 343.9);
Tailwind
colors: {
  custom: {
    50: '#cb75a9',
    500: '#af3386',
    950: '#000000',
  },
}
SCSS
$custom: #af3386;
$custom-light: #cb75a9;
$custom-dark: #000000;
JSON
{
  "hex": "#af3386",
  "rgb": {
    "r": 175,
    "g": 51,
    "b": 134
  },
  "hsl": {
    "h": 319.839,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53315,
    "c": 0.18102,
    "h": 343.9
  },
  "luminance": 0.13203
}

Semantic roles & 50–950 ramp

primary
#AF3386
secondary
#7AC492
accent
#DE7B4A
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AF3386

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

Preview Lab → · Contrast checker → · Palette generator →

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