#AF3591#AF3591

#AF3591 is a mid, vivid pink. Relative luminance 0.137; OKLCH L 54.0% C 0.186 H 339.3°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#AF3591
RGBrgb(175, 53, 145)
HSLhsl(315, 54%, 45%)
HSVhsv(315, 70%, 69%)
CMYKcmyk(0%, 69.7%, 17.1%, 31.4%)
CIE-LABlab(43.81, 58.51, -24.31)
CIE-LCHlch(43.81, 63.36, 337.44°)
OKLaboklab(54.01% 0.1737 -0.0657)
OKLCHoklch(54.01% 0.186 339.3)
XYZxyz(24.0637, 13.7067, 28.1609)
Luminance0.1370 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3591 #35AF53
analogous
#9035AF #AF3591 #AF3554
triadic
#AF3591 #91AF35 #3591AF
tetradic
#AF3591 #AF9035 #35AF53 #3554AF
square
#AF3591 #AF9035 #35AF53 #3554AF
split-complementary
#AF3591 #54AF35 #35AF90
monochromatic
#511943 #80276A #AF3591 #CC56AF #DA85C5

Accessibility & contrast

On white

5.61
#AF3591 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF3591
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3591#FFFFFF#000000##FFFFFF
##AF35911.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5B94
Deuteranopia (green-blind)
#636E8E
Tritanopia (blue-blind)
#B9395E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #af3591;
/* rgb */ color: rgb(175, 53, 145);
/* oklch */ color: oklch(54.0% 0.186 339.3);
Tailwind
colors: {
  custom: {
    50: '#ca76b1',
    500: '#af3591',
    950: '#000000',
  },
}
SCSS
$custom: #af3591;
$custom-light: #ca76b1;
$custom-dark: #000000;
JSON
{
  "hex": "#af3591",
  "rgb": {
    "r": 175,
    "g": 53,
    "b": 145
  },
  "hsl": {
    "h": 314.754,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.54008,
    "c": 0.18568,
    "h": 339.3
  },
  "luminance": 0.13704
}

Semantic roles & 50–950 ramp

primary
#AF3591
secondary
#7CC48E
accent
#DD6F4B
background
#FCF7FA
surface
#F9EEF5
border
#D2C9CF
text
#140910
muted
#827B7F

Preview Lab

Preview with #AF3591

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

Preview Lab → · Contrast checker → · Palette generator →

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