#AF3698#AF3698

#AF3698 is a mid, vivid pink. Relative luminance 0.140; OKLCH L 54.4% C 0.189 H 336.4°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#AF3698
RGBrgb(175, 54, 152)
HSLhsl(311, 53%, 45%)
HSVhsv(311, 69%, 69%)
CMYKcmyk(0%, 69.1%, 13.1%, 31.4%)
CIE-LABlab(44.26, 59.17, -27.82)
CIE-LCHlch(44.26, 65.38, 334.82°)
OKLaboklab(54.44% 0.1736 -0.0757)
OKLCHoklch(54.44% 0.189 336.4)
XYZxyz(24.6662, 14.0215, 31.1070)
Luminance0.1402 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3698 #36AF4D
analogous
#8A36AF #AF3698 #AF365C
triadic
#AF3698 #98AF36 #3698AF
tetradic
#AF3698 #AF8A36 #36AF4D #365CAF
square
#AF3698 #AF8A36 #36AF4D #365CAF
split-complementary
#AF3698 #5CAF36 #36AF8A
monochromatic
#511947 #80286F #AF3698 #CB57B5 #DA86CA

Accessibility & contrast

On white

5.52
#AF3698 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#AF3698 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3698
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3698#FFFFFF#000000##FFFFFF
##AF36981.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385D9B
Deuteranopia (green-blind)
#606F95
Tritanopia (blue-blind)
#B83D62
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af3698;
/* rgb */ color: rgb(175, 54, 152);
/* oklch */ color: oklch(54.4% 0.189 336.4);
Tailwind
colors: {
  custom: {
    50: '#ca77b6',
    500: '#af3698',
    950: '#000000',
  },
}
SCSS
$custom: #af3698;
$custom-light: #ca77b6;
$custom-dark: #000000;
JSON
{
  "hex": "#af3698",
  "rgb": {
    "r": 175,
    "g": 54,
    "b": 152
  },
  "hsl": {
    "h": 311.405,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.54443,
    "c": 0.18933,
    "h": 336.4
  },
  "luminance": 0.14019
}

Semantic roles & 50–950 ramp

primary
#AF3698
secondary
#7DC38B
accent
#DC674C
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AF3698

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

Preview Lab → · Contrast checker → · Palette generator →

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