#AF5779#AF5779

#AF5779 is a mid, vivid pink. Relative luminance 0.173; OKLCH L 57.3% C 0.121 H 357.2°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#AF5779
RGBrgb(175, 87, 121)
HSLhsl(337, 35%, 51%)
HSVhsv(337, 50%, 69%)
CMYKcmyk(0%, 50.3%, 30.9%, 31.4%)
CIE-LABlab(48.65, 39.71, -2.48)
CIE-LCHlch(48.65, 39.78, 356.43°)
OKLaboklab(57.3% 0.1204 -0.006)
OKLCHoklch(57.3% 0.121 357.2)
XYZxyz(24.5396, 17.3130, 20.1348)
Luminance0.1731 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5779 #57AF8D
analogous
#AF57A5 #AF5779 #AF6157
triadic
#AF5779 #79AF57 #5779AF
tetradic
#AF5779 #A5AF57 #57AF8D #6157AF
square
#AF5779 #A5AF57 #57AF8D #6157AF
split-complementary
#AF5779 #57AF61 #57A5AF
monochromatic
#5F2D40 #88415C #AF5779 #C3809A #D6AABB

Accessibility & contrast

On white

4.71
#AF5779 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#AF5779 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF5779
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5779#FFFFFF#000000##FFFFFF
##AF57791.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#646A7A
Deuteranopia (green-blind)
#7A7A77
Tritanopia (blue-blind)
#BB5163
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #af5779;
/* rgb */ color: rgb(175, 87, 121);
/* oklch */ color: oklch(57.3% 0.121 357.2);
Tailwind
colors: {
  custom: {
    50: '#c9899f',
    500: '#af5779',
    950: '#000000',
  },
}
SCSS
$custom: #af5779;
$custom-light: #c9899f;
$custom-dark: #000000;
JSON
{
  "hex": "#af5779",
  "rgb": {
    "r": 175,
    "g": 87,
    "b": 121
  },
  "hsl": {
    "h": 336.818,
    "s": 35.484,
    "l": 51.373
  },
  "oklch": {
    "l": 0.573,
    "c": 0.12055,
    "h": 357.2
  },
  "luminance": 0.17311
}

Semantic roles & 50–950 ramp

primary
#AF5779
secondary
#9EC4B5
accent
#CCA15C
background
#FCF8F9
surface
#F9F0F2
border
#D2CBCC
text
#140C0E
muted
#827D7E

Preview Lab

Preview with #AF5779

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

Preview Lab → · Contrast checker → · Palette generator →

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