#AF577D#AF577D

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

Color values

HEX#AF577D
RGBrgb(175, 87, 125)
HSLhsl(334, 35%, 51%)
HSVhsv(334, 50%, 69%)
CMYKcmyk(0%, 50.3%, 28.6%, 31.4%)
CIE-LABlab(48.78, 40.25, -4.70)
CIE-LCHlch(48.78, 40.52, 353.35°)
OKLaboklab(57.44% 0.1218 -0.0119)
OKLCHoklch(57.44% 0.122 354.4)
XYZxyz(24.7900, 17.4132, 21.4535)
Luminance0.1741 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF577D #57AF89
analogous
#AF57A9 #AF577D #AF5D57
triadic
#AF577D #7DAF57 #577DAF
tetradic
#AF577D #A9AF57 #57AF89 #5D57AF
square
#AF577D #A9AF57 #57AF89 #5D57AF
split-complementary
#AF577D #57AF5D #57A9AF
monochromatic
#5F2D42 #884160 #AF577D #C3809D #D6AABD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF577D#FFFFFF#000000##FFFFFF
##AF577D1.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)
#636A7E
Deuteranopia (green-blind)
#797A7B
Tritanopia (blue-blind)
#BB5265
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #af577d;
/* rgb */ color: rgb(175, 87, 125);
/* oklch */ color: oklch(57.4% 0.122 354.4);
Tailwind
colors: {
  custom: {
    50: '#c989a2',
    500: '#af577d',
    950: '#000000',
  },
}
SCSS
$custom: #af577d;
$custom-light: #c989a2;
$custom-dark: #000000;
JSON
{
  "hex": "#af577d",
  "rgb": {
    "r": 175,
    "g": 87,
    "b": 125
  },
  "hsl": {
    "h": 334.091,
    "s": 35.484,
    "l": 51.373
  },
  "oklch": {
    "l": 0.57435,
    "c": 0.12236,
    "h": 354.4
  },
  "luminance": 0.17411
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF577D

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

Preview Lab → · Contrast checker → · Palette generator →

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