#AF557C#AF557C

#AF557C is a mid, vivid pink. Relative luminance 0.171; OKLCH L 57.1% C 0.125 H 354.5°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#AF557C
RGBrgb(175, 85, 124)
HSLhsl(334, 36%, 51%)
HSVhsv(334, 51%, 69%)
CMYKcmyk(0%, 51.4%, 29.1%, 31.4%)
CIE-LABlab(48.35, 41.14, -4.73)
CIE-LCHlch(48.35, 41.41, 353.44°)
OKLaboklab(57.1% 0.1246 -0.012)
OKLCHoklch(57.1% 0.125 354.5)
XYZxyz(24.5667, 17.0684, 21.0656)
Luminance0.1707 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF557C #55AF88
analogous
#AF55A9 #AF557C #AF5B55
triadic
#AF557C #7CAF55 #557CAF
tetradic
#AF557C #A9AF55 #55AF88 #5B55AF
square
#AF557C #A9AF55 #55AF88 #5B55AF
split-complementary
#AF557C #55AF5B #55A9AF
monochromatic
#5E2C41 #87405F #AF557C #C37F9C #D6A8BC

Accessibility & contrast

On white

4.76
#AF557C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#AF557C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF557C
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF557C#FFFFFF#000000##FFFFFF
##AF557C1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61697D
Deuteranopia (green-blind)
#79797A
Tritanopia (blue-blind)
#BB5063
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #af557c;
/* rgb */ color: rgb(175, 85, 124);
/* oklch */ color: oklch(57.1% 0.125 354.5);
Tailwind
colors: {
  custom: {
    50: '#c988a1',
    500: '#af557c',
    950: '#000000',
  },
}
SCSS
$custom: #af557c;
$custom-light: #c988a1;
$custom-dark: #000000;
JSON
{
  "hex": "#af557c",
  "rgb": {
    "r": 175,
    "g": 85,
    "b": 124
  },
  "hsl": {
    "h": 334,
    "s": 36,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57101,
    "c": 0.12515,
    "h": 354.5
  },
  "luminance": 0.17066
}

Semantic roles & 50–950 ramp

primary
#AF557C
secondary
#9CC4B3
accent
#CC9B5C
background
#FCF8F9
surface
#F9F0F2
border
#D2CBCC
text
#140C0F
muted
#827D7E

Preview Lab

Preview with #AF557C

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

Preview Lab → · Contrast checker → · Palette generator →

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