#AF3699#AF3699

#AF3699 is a mid, vivid pink. Relative luminance 0.141; OKLCH L 54.5% C 0.190 H 336.0°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#AF3699
RGBrgb(175, 54, 153)
HSLhsl(311, 53%, 45%)
HSVhsv(311, 69%, 69%)
CMYKcmyk(0%, 69.1%, 12.6%, 31.4%)
CIE-LABlab(44.31, 59.32, -28.35)
CIE-LCHlch(44.31, 65.75, 334.46°)
OKLaboklab(54.49% 0.1737 -0.0772)
OKLCHoklch(54.49% 0.19 336)
XYZxyz(24.7485, 14.0544, 31.5401)
Luminance0.1405 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3699 #36AF4C
analogous
#8836AF #AF3699 #AF365D
triadic
#AF3699 #99AF36 #3699AF
tetradic
#AF3699 #AF8836 #36AF4C #365DAF
square
#AF3699 #AF8836 #36AF4C #365DAF
split-complementary
#AF3699 #5DAF36 #36AF88
monochromatic
#511947 #802870 #AF3699 #CB57B6 #DA86CA

Accessibility & contrast

On white

5.51
#AF3699 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#AF3699 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3699
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3699#FFFFFF#000000##FFFFFF
##AF36991.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375D9C
Deuteranopia (green-blind)
#606F96
Tritanopia (blue-blind)
#B83E63
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af3699;
/* rgb */ color: rgb(175, 54, 153);
/* oklch */ color: oklch(54.5% 0.190 336.0);
Tailwind
colors: {
  custom: {
    50: '#ca77b7',
    500: '#af3699',
    950: '#000000',
  },
}
SCSS
$custom: #af3699;
$custom-light: #ca77b7;
$custom-dark: #000000;
JSON
{
  "hex": "#af3699",
  "rgb": {
    "r": 175,
    "g": 54,
    "b": 153
  },
  "hsl": {
    "h": 310.909,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.54493,
    "c": 0.19005,
    "h": 336
  },
  "luminance": 0.14052
}

Semantic roles & 50–950 ramp

primary
#AF3699
secondary
#7DC38A
accent
#DC664C
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AF3699

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

Preview Lab → · Contrast checker → · Palette generator →

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