#AF5591#AF5591

#AF5591 is a mid, vivid pink. Relative luminance 0.177; OKLCH L 57.9% C 0.138 H 341.7°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#AF5591
RGBrgb(175, 85, 145)
HSLhsl(320, 36%, 51%)
HSVhsv(320, 51%, 69%)
CMYKcmyk(0%, 51.4%, 17.1%, 31.4%)
CIE-LABlab(49.08, 44.23, -16.21)
CIE-LCHlch(49.08, 47.11, 339.87°)
OKLaboklab(57.89% 0.1309 -0.0432)
OKLCHoklch(57.89% 0.138 341.7)
XYZxyz(26.0390, 17.6573, 28.8193)
Luminance0.1766 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5591 #55AF73
analogous
#A055AF #AF5591 #AF5564
triadic
#AF5591 #91AF55 #5591AF
tetradic
#AF5591 #AFA055 #55AF73 #5564AF
square
#AF5591 #AFA055 #55AF73 #5564AF
split-complementary
#AF5591 #64AF55 #55AFA0
monochromatic
#5E2C4D #87406F #AF5591 #C37FAC #D6A8C7

Accessibility & contrast

On white

4.63
#AF5591 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#AF5591 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AF5591
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5591#FFFFFF#000000##FFFFFF
##AF55911.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6C93
Deuteranopia (green-blind)
#737A8F
Tritanopia (blue-blind)
#B8566C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #af5591;
/* rgb */ color: rgb(175, 85, 145);
/* oklch */ color: oklch(57.9% 0.138 341.7);
Tailwind
colors: {
  custom: {
    50: '#c988b1',
    500: '#af5591',
    950: '#000000',
  },
}
SCSS
$custom: #af5591;
$custom-light: #c988b1;
$custom-dark: #000000;
JSON
{
  "hex": "#af5591",
  "rgb": {
    "r": 175,
    "g": 85,
    "b": 145
  },
  "hsl": {
    "h": 320,
    "s": 36,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57889,
    "c": 0.13789,
    "h": 341.7
  },
  "luminance": 0.17655
}

Semantic roles & 50–950 ramp

primary
#AF5591
secondary
#9CC4A9
accent
#CC815C
background
#FCF8FA
surface
#F9F0F5
border
#D2CBCF
text
#130C10
muted
#827D7F

Preview Lab

Preview with #AF5591

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

Preview Lab → · Contrast checker → · Palette generator →

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