#AF557D#AF557D

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

Color values

HEX#AF557D
RGBrgb(175, 85, 125)
HSLhsl(333, 36%, 51%)
HSVhsv(333, 51%, 69%)
CMYKcmyk(0%, 51.4%, 28.6%, 31.4%)
CIE-LABlab(48.38, 41.28, -5.29)
CIE-LCHlch(48.38, 41.62, 352.70°)
OKLaboklab(57.14% 0.1249 -0.0134)
OKLCHoklch(57.14% 0.126 353.9)
XYZxyz(24.6303, 17.0938, 21.4003)
Luminance0.1709 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF557D #55AF87
analogous
#AF55AA #AF557D #AF5A55
triadic
#AF557D #7DAF55 #557DAF
tetradic
#AF557D #AAAF55 #55AF87 #5A55AF
square
#AF557D #AAAF55 #55AF87 #5A55AF
split-complementary
#AF557D #55AF5A #55AAAF
monochromatic
#5E2C42 #87405F #AF557D #C37F9D #D6A8BD

Accessibility & contrast

On white

4.75
#AF557D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#AF557D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF557D
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF557D#FFFFFF#000000##FFFFFF
##AF557D1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61697E
Deuteranopia (green-blind)
#78797B
Tritanopia (blue-blind)
#BB5064
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #af557d;
/* rgb */ color: rgb(175, 85, 125);
/* oklch */ color: oklch(57.1% 0.126 353.9);
Tailwind
colors: {
  custom: {
    50: '#c988a2',
    500: '#af557d',
    950: '#000000',
  },
}
SCSS
$custom: #af557d;
$custom-light: #c988a2;
$custom-dark: #000000;
JSON
{
  "hex": "#af557d",
  "rgb": {
    "r": 175,
    "g": 85,
    "b": 125
  },
  "hsl": {
    "h": 333.333,
    "s": 36,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57135,
    "c": 0.12564,
    "h": 353.9
  },
  "luminance": 0.17092
}

Semantic roles & 50–950 ramp

primary
#AF557D
secondary
#9CC4B2
accent
#CC9A5C
background
#FCF8F9
surface
#F9F0F2
border
#D2CBCC
text
#130C0F
muted
#827D7E

Preview Lab

Preview with #AF557D

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

Preview Lab → · Contrast checker → · Palette generator →

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