#AF577A#AF577A

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

Color values

HEX#AF577A
RGBrgb(175, 87, 122)
HSLhsl(336, 35%, 51%)
HSVhsv(336, 50%, 69%)
CMYKcmyk(0%, 50.3%, 30.3%, 31.4%)
CIE-LABlab(48.68, 39.84, -3.03)
CIE-LCHlch(48.68, 39.96, 355.65°)
OKLaboklab(57.33% 0.1208 -0.0075)
OKLCHoklch(57.33% 0.121 356.5)
XYZxyz(24.6012, 17.3377, 20.4594)
Luminance0.1734 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF577A #57AF8C
analogous
#AF57A6 #AF577A #AF6057
triadic
#AF577A #7AAF57 #577AAF
tetradic
#AF577A #A6AF57 #57AF8C #6057AF
square
#AF577A #A6AF57 #57AF8C #6057AF
split-complementary
#AF577A #57AF60 #57A6AF
monochromatic
#5F2D41 #88415D #AF577A #C3809B #D6AABC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF577A#FFFFFF#000000##FFFFFF
##AF577A1.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)
#636A7B
Deuteranopia (green-blind)
#7A7A78
Tritanopia (blue-blind)
#BB5264
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #af577a;
/* rgb */ color: rgb(175, 87, 122);
/* oklch */ color: oklch(57.3% 0.121 356.5);
Tailwind
colors: {
  custom: {
    50: '#c989a0',
    500: '#af577a',
    950: '#000000',
  },
}
SCSS
$custom: #af577a;
$custom-light: #c989a0;
$custom-dark: #000000;
JSON
{
  "hex": "#af577a",
  "rgb": {
    "r": 175,
    "g": 87,
    "b": 122
  },
  "hsl": {
    "h": 336.136,
    "s": 35.484,
    "l": 51.373
  },
  "oklch": {
    "l": 0.57333,
    "c": 0.12098,
    "h": 356.5
  },
  "luminance": 0.17335
}

Semantic roles & 50–950 ramp

primary
#AF577A
secondary
#9EC4B5
accent
#CC9F5C
background
#FCF8F9
surface
#F9F0F2
border
#D2CBCC
text
#130C0E
muted
#827D7E

Preview Lab

Preview with #AF577A

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

Preview Lab → · Contrast checker → · Palette generator →

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