#AF577E#AF577E

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

Color values

HEX#AF577E
RGBrgb(175, 87, 126)
HSLhsl(333, 35%, 51%)
HSVhsv(333, 50%, 69%)
CMYKcmyk(0%, 50.3%, 28%, 31.4%)
CIE-LABlab(48.81, 40.39, -5.25)
CIE-LCHlch(48.81, 40.73, 352.60°)
OKLaboklab(57.47% 0.1221 -0.0134)
OKLCHoklch(57.47% 0.123 353.8)
XYZxyz(24.8542, 17.4389, 21.7917)
Luminance0.1744 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF577E #57AF88
analogous
#AF57AA #AF577E #AF5C57
triadic
#AF577E #7EAF57 #577EAF
tetradic
#AF577E #AAAF57 #57AF88 #5C57AF
square
#AF577E #AAAF57 #57AF88 #5C57AF
split-complementary
#AF577E #57AF5C #57AAAF
monochromatic
#5F2D43 #884160 #AF577E #C3809E #D6AABE

Accessibility & contrast

On white

4.68
#AF577E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF577E
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF577E#FFFFFF#000000##FFFFFF
##AF577E1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#626A7F
Deuteranopia (green-blind)
#797A7C
Tritanopia (blue-blind)
#BA5365
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #af577e;
/* rgb */ color: rgb(175, 87, 126);
/* oklch */ color: oklch(57.5% 0.123 353.8);
Tailwind
colors: {
  custom: {
    50: '#c989a3',
    500: '#af577e',
    950: '#000000',
  },
}
SCSS
$custom: #af577e;
$custom-light: #c989a3;
$custom-dark: #000000;
JSON
{
  "hex": "#af577e",
  "rgb": {
    "r": 175,
    "g": 87,
    "b": 126
  },
  "hsl": {
    "h": 333.409,
    "s": 35.484,
    "l": 51.373
  },
  "oklch": {
    "l": 0.57469,
    "c": 0.12284,
    "h": 353.8
  },
  "luminance": 0.17437
}

Semantic roles & 50–950 ramp

primary
#AF577E
secondary
#9EC4B3
accent
#CC9A5C
background
#FCF8FA
surface
#F9F0F3
border
#D2CBCD
text
#130C0F
muted
#827D7F

Preview Lab

Preview with #AF577E

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

Preview Lab → · Contrast checker → · Palette generator →

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