#AF3597#AF3597

#AF3597 is a mid, vivid pink. Relative luminance 0.139; OKLCH L 54.3% C 0.190 H 336.8°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#AF3597
RGBrgb(175, 53, 151)
HSLhsl(312, 54%, 45%)
HSVhsv(312, 70%, 69%)
CMYKcmyk(0%, 69.7%, 13.7%, 31.4%)
CIE-LABlab(44.08, 59.39, -27.50)
CIE-LCHlch(44.08, 65.45, 335.16°)
OKLaboklab(54.3% 0.1745 -0.0747)
OKLCHoklch(54.3% 0.19 336.8)
XYZxyz(24.5386, 13.8967, 30.6621)
Luminance0.1389 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3597 #35AF4D
analogous
#8A35AF #AF3597 #AF355A
triadic
#AF3597 #97AF35 #3597AF
tetradic
#AF3597 #AF8A35 #35AF4D #355AAF
square
#AF3597 #AF8A35 #35AF4D #355AAF
split-complementary
#AF3597 #5AAF35 #35AF8A
monochromatic
#511946 #80276E #AF3597 #CC56B4 #DA85C9

Accessibility & contrast

On white

5.56
#AF3597 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#AF3597 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3597
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3597#FFFFFF#000000##FFFFFF
##AF35971.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385C9A
Deuteranopia (green-blind)
#606F94
Tritanopia (blue-blind)
#B83C61
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #af3597;
/* rgb */ color: rgb(175, 53, 151);
/* oklch */ color: oklch(54.3% 0.190 336.8);
Tailwind
colors: {
  custom: {
    50: '#ca77b6',
    500: '#af3597',
    950: '#000000',
  },
}
SCSS
$custom: #af3597;
$custom-light: #ca77b6;
$custom-dark: #000000;
JSON
{
  "hex": "#af3597",
  "rgb": {
    "r": 175,
    "g": 53,
    "b": 151
  },
  "hsl": {
    "h": 311.803,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.54298,
    "c": 0.18986,
    "h": 336.8
  },
  "luminance": 0.13895
}

Semantic roles & 50–950 ramp

primary
#AF3597
secondary
#7CC48A
accent
#DD684B
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AF3597

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

Preview Lab → · Contrast checker → · Palette generator →

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