#AF3697#AF3697

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

Color values

HEX#AF3697
RGBrgb(175, 54, 151)
HSLhsl(312, 53%, 45%)
HSVhsv(312, 69%, 69%)
CMYKcmyk(0%, 69.1%, 13.7%, 31.4%)
CIE-LABlab(44.22, 59.02, -27.29)
CIE-LCHlch(44.22, 65.02, 335.18°)
OKLaboklab(54.39% 0.1734 -0.0742)
OKLCHoklch(54.39% 0.189 336.8)
XYZxyz(24.5847, 13.9888, 30.6775)
Luminance0.1399 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3697 #36AF4E
analogous
#8B36AF #AF3697 #AF365A
triadic
#AF3697 #97AF36 #3697AF
tetradic
#AF3697 #AF8B36 #36AF4E #365AAF
square
#AF3697 #AF8B36 #36AF4E #365AAF
split-complementary
#AF3697 #5AAF36 #36AF8B
monochromatic
#511946 #80286F #AF3697 #CB57B4 #DA86C9

Accessibility & contrast

On white

5.53
#AF3697 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF3697
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3697#FFFFFF#000000##FFFFFF
##AF36971.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395D9A
Deuteranopia (green-blind)
#616F94
Tritanopia (blue-blind)
#B83D62
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af3697;
/* rgb */ color: rgb(175, 54, 151);
/* oklch */ color: oklch(54.4% 0.189 336.8);
Tailwind
colors: {
  custom: {
    50: '#ca77b6',
    500: '#af3697',
    950: '#000000',
  },
}
SCSS
$custom: #af3697;
$custom-light: #ca77b6;
$custom-dark: #000000;
JSON
{
  "hex": "#af3697",
  "rgb": {
    "r": 175,
    "g": 54,
    "b": 151
  },
  "hsl": {
    "h": 311.901,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.54394,
    "c": 0.18861,
    "h": 336.8
  },
  "luminance": 0.13987
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF3697

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

Preview Lab → · Contrast checker → · Palette generator →

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