#AF577B#AF577B

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

Color values

HEX#AF577B
RGBrgb(175, 87, 123)
HSLhsl(335, 35%, 51%)
HSVhsv(335, 50%, 69%)
CMYKcmyk(0%, 50.3%, 29.7%, 31.4%)
CIE-LABlab(48.71, 39.98, -3.59)
CIE-LCHlch(48.71, 40.14, 354.87°)
OKLaboklab(57.37% 0.1211 -0.0089)
OKLCHoklch(57.37% 0.121 355.8)
XYZxyz(24.6635, 17.3626, 20.7874)
Luminance0.1736 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF577B #57AF8B
analogous
#AF57A7 #AF577B #AF5F57
triadic
#AF577B #7BAF57 #577BAF
tetradic
#AF577B #A7AF57 #57AF8B #5F57AF
square
#AF577B #A7AF57 #57AF8B #5F57AF
split-complementary
#AF577B #57AF5F #57A7AF
monochromatic
#5F2D41 #88415E #AF577B #C3809C #D6AABC

Accessibility & contrast

On white

4.70
#AF577B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#AF577B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF577B
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF577B#FFFFFF#000000##FFFFFF
##AF577B1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#636A7C
Deuteranopia (green-blind)
#7A7A79
Tritanopia (blue-blind)
#BB5264
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #af577b;
/* rgb */ color: rgb(175, 87, 123);
/* oklch */ color: oklch(57.4% 0.121 355.8);
Tailwind
colors: {
  custom: {
    50: '#c989a1',
    500: '#af577b',
    950: '#000000',
  },
}
SCSS
$custom: #af577b;
$custom-light: #c989a1;
$custom-dark: #000000;
JSON
{
  "hex": "#af577b",
  "rgb": {
    "r": 175,
    "g": 87,
    "b": 123
  },
  "hsl": {
    "h": 335.455,
    "s": 35.484,
    "l": 51.373
  },
  "oklch": {
    "l": 0.57367,
    "c": 0.12142,
    "h": 355.8
  },
  "luminance": 0.1736
}

Semantic roles & 50–950 ramp

primary
#AF577B
secondary
#9EC4B4
accent
#CC9E5C
background
#FCF8F9
surface
#F9F0F2
border
#D2CBCC
text
#130C0E
muted
#827D7E

Preview Lab

Preview with #AF577B

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

Preview Lab → · Contrast checker → · Palette generator →

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