#AF3396#AF3396

#AF3396 is a mid, vivid pink. Relative luminance 0.137; OKLCH L 54.1% C 0.192 H 337.2°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#AF3396
RGBrgb(175, 51, 150)
HSLhsl(312, 55%, 44%)
HSVhsv(312, 71%, 69%)
CMYKcmyk(0%, 70.9%, 14.3%, 31.4%)
CIE-LABlab(43.78, 59.97, -27.37)
CIE-LCHlch(43.78, 65.92, 335.47°)
OKLaboklab(54.06% 0.1766 -0.0744)
OKLCHoklch(54.06% 0.192 337.2)
XYZxyz(24.3685, 13.6858, 30.2065)
Luminance0.1368 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3396 #33AF4C
analogous
#8A33AF #AF3396 #AF3358
triadic
#AF3396 #96AF33 #3396AF
tetradic
#AF3396 #AF8A33 #33AF4C #3358AF
square
#AF3396 #AF8A33 #33AF4C #3358AF
split-complementary
#AF3396 #58AF33 #33AF8A
monochromatic
#501745 #80256D #AF3396 #CD52B4 #DB82C9

Accessibility & contrast

On white

5.62
#AF3396 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#AF3396 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3396
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3396#FFFFFF#000000##FFFFFF
##AF33961.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375B99
Deuteranopia (green-blind)
#606E93
Tritanopia (blue-blind)
#B83A60
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #af3396;
/* rgb */ color: rgb(175, 51, 150);
/* oklch */ color: oklch(54.1% 0.192 337.2);
Tailwind
colors: {
  custom: {
    50: '#ca76b5',
    500: '#af3396',
    950: '#000000',
  },
}
SCSS
$custom: #af3396;
$custom-light: #ca76b5;
$custom-dark: #000000;
JSON
{
  "hex": "#af3396",
  "rgb": {
    "r": 175,
    "g": 51,
    "b": 150
  },
  "hsl": {
    "h": 312.097,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.54061,
    "c": 0.19159,
    "h": 337.2
  },
  "luminance": 0.13684
}

Semantic roles & 50–950 ramp

primary
#AF3396
secondary
#7AC489
accent
#DE684A
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AF3396

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

Preview Lab → · Contrast checker → · Palette generator →

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