#AF557E#AF557E

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

Color values

HEX#AF557E
RGBrgb(175, 85, 126)
HSLhsl(333, 36%, 51%)
HSVhsv(333, 51%, 69%)
CMYKcmyk(0%, 51.4%, 28%, 31.4%)
CIE-LABlab(48.41, 41.42, -5.84)
CIE-LCHlch(48.41, 41.83, 351.97°)
OKLaboklab(57.17% 0.1253 -0.0149)
OKLCHoklch(57.17% 0.126 353.2)
XYZxyz(24.6945, 17.1195, 21.7384)
Luminance0.1712 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF557E #55AF86
analogous
#AF55AB #AF557E #AF5955
triadic
#AF557E #7EAF55 #557EAF
tetradic
#AF557E #ABAF55 #55AF86 #5955AF
square
#AF557E #ABAF55 #55AF86 #5955AF
split-complementary
#AF557E #55AF59 #55ABAF
monochromatic
#5E2C43 #874060 #AF557E #C37F9E #D6A8BD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF557E#FFFFFF#000000##FFFFFF
##AF557E1.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)
#60697F
Deuteranopia (green-blind)
#78797C
Tritanopia (blue-blind)
#BA5164
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #af557e;
/* rgb */ color: rgb(175, 85, 126);
/* oklch */ color: oklch(57.2% 0.126 353.2);
Tailwind
colors: {
  custom: {
    50: '#c988a3',
    500: '#af557e',
    950: '#000000',
  },
}
SCSS
$custom: #af557e;
$custom-light: #c988a3;
$custom-dark: #000000;
JSON
{
  "hex": "#af557e",
  "rgb": {
    "r": 175,
    "g": 85,
    "b": 126
  },
  "hsl": {
    "h": 332.667,
    "s": 36,
    "l": 50.98
  },
  "oklch": {
    "l": 0.5717,
    "c": 0.12614,
    "h": 353.2
  },
  "luminance": 0.17117
}

Semantic roles & 50–950 ramp

primary
#AF557E
secondary
#9CC4B2
accent
#CC995C
background
#FCF8FA
surface
#F9F0F3
border
#D2CBCD
text
#130C0F
muted
#827D7F

Preview Lab

Preview with #AF557E

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

Preview Lab → · Contrast checker → · Palette generator →

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