#AF577C#AF577C

#AF577C is a mid, vivid pink. Relative luminance 0.174; OKLCH L 57.4% C 0.122 H 355.1°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#AF577C
RGBrgb(175, 87, 124)
HSLhsl(335, 35%, 51%)
HSVhsv(335, 50%, 69%)
CMYKcmyk(0%, 50.3%, 29.1%, 31.4%)
CIE-LABlab(48.74, 40.11, -4.14)
CIE-LCHlch(48.74, 40.33, 354.11°)
OKLaboklab(57.4% 0.1214 -0.0104)
OKLCHoklch(57.4% 0.122 355.1)
XYZxyz(24.7264, 17.3878, 21.1188)
Luminance0.1739 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF577C #57AF8A
analogous
#AF57A8 #AF577C #AF5E57
triadic
#AF577C #7CAF57 #577CAF
tetradic
#AF577C #A8AF57 #57AF8A #5E57AF
square
#AF577C #A8AF57 #57AF8A #5E57AF
split-complementary
#AF577C #57AF5E #57A8AF
monochromatic
#5F2D42 #88415F #AF577C #C3809C #D6AABD

Accessibility & contrast

On white

4.69
#AF577C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#AF577C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF577C
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF577C#FFFFFF#000000##FFFFFF
##AF577C1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#636A7D
Deuteranopia (green-blind)
#7A7A7A
Tritanopia (blue-blind)
#BB5265
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #af577c;
/* rgb */ color: rgb(175, 87, 124);
/* oklch */ color: oklch(57.4% 0.122 355.1);
Tailwind
colors: {
  custom: {
    50: '#c989a1',
    500: '#af577c',
    950: '#000000',
  },
}
SCSS
$custom: #af577c;
$custom-light: #c989a1;
$custom-dark: #000000;
JSON
{
  "hex": "#af577c",
  "rgb": {
    "r": 175,
    "g": 87,
    "b": 124
  },
  "hsl": {
    "h": 334.773,
    "s": 35.484,
    "l": 51.373
  },
  "oklch": {
    "l": 0.57401,
    "c": 0.12189,
    "h": 355.1
  },
  "luminance": 0.17386
}

Semantic roles & 50–950 ramp

primary
#AF577C
secondary
#9EC4B4
accent
#CC9D5C
background
#FCF8F9
surface
#F9F0F2
border
#D2CBCC
text
#130C0F
muted
#827D7E

Preview Lab

Preview with #AF577C

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

Preview Lab → · Contrast checker → · Palette generator →

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