#AF577F#AF577F

#AF577F is a mid, vivid pink. Relative luminance 0.175; OKLCH L 57.5% C 0.123 H 353.1°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#AF577F
RGBrgb(175, 87, 127)
HSLhsl(333, 35%, 51%)
HSVhsv(333, 50%, 69%)
CMYKcmyk(0%, 50.3%, 27.4%, 31.4%)
CIE-LABlab(48.84, 40.53, -5.80)
CIE-LCHlch(48.84, 40.94, 351.85°)
OKLaboklab(57.5% 0.1225 -0.0148)
OKLCHoklch(57.5% 0.123 353.1)
XYZxyz(24.9190, 17.4648, 22.1332)
Luminance0.1746 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF577F #57AF87
analogous
#AF57AB #AF577F #AF5B57
triadic
#AF577F #7FAF57 #577FAF
tetradic
#AF577F #ABAF57 #57AF87 #5B57AF
square
#AF577F #ABAF57 #57AF87 #5B57AF
split-complementary
#AF577F #57AF5B #57ABAF
monochromatic
#5F2D44 #884161 #AF577F #C3809F #D6AABE

Accessibility & contrast

On white

4.67
#AF577F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#AF577F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF577F
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF577F#FFFFFF#000000##FFFFFF
##AF577F1.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#626A80
Deuteranopia (green-blind)
#797A7D
Tritanopia (blue-blind)
#BA5366
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #af577f;
/* rgb */ color: rgb(175, 87, 127);
/* oklch */ color: oklch(57.5% 0.123 353.1);
Tailwind
colors: {
  custom: {
    50: '#c989a4',
    500: '#af577f',
    950: '#000000',
  },
}
SCSS
$custom: #af577f;
$custom-light: #c989a4;
$custom-dark: #000000;
JSON
{
  "hex": "#af577f",
  "rgb": {
    "r": 175,
    "g": 87,
    "b": 127
  },
  "hsl": {
    "h": 332.727,
    "s": 35.484,
    "l": 51.373
  },
  "oklch": {
    "l": 0.57504,
    "c": 0.12335,
    "h": 353.1
  },
  "luminance": 0.17463
}

Semantic roles & 50–950 ramp

primary
#AF577F
secondary
#9EC4B3
accent
#CC995C
background
#FCF8FA
surface
#F9F0F4
border
#D2CBCE
text
#130C0F
muted
#827D7F

Preview Lab

Preview with #AF577F

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

Preview Lab → · Contrast checker → · Palette generator →

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