#AF558D#AF558D

#AF558D is a mid, vivid pink. Relative luminance 0.175; OKLCH L 57.7% C 0.135 H 344.0°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#AF558D
RGBrgb(175, 85, 141)
HSLhsl(323, 36%, 51%)
HSVhsv(323, 51%, 69%)
CMYKcmyk(0%, 51.4%, 19.4%, 31.4%)
CIE-LABlab(48.93, 43.61, -14.05)
CIE-LCHlch(48.93, 45.82, 342.14°)
OKLaboklab(57.73% 0.1298 -0.0373)
OKLCHoklch(57.73% 0.135 344)
XYZxyz(25.7360, 17.5361, 27.2235)
Luminance0.1753 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF558D #55AF77
analogous
#A455AF #AF558D #AF5560
triadic
#AF558D #8DAF55 #558DAF
tetradic
#AF558D #AFA455 #55AF77 #5560AF
square
#AF558D #AFA455 #55AF77 #5560AF
split-complementary
#AF558D #60AF55 #55AFA4
monochromatic
#5E2C4B #87406C #AF558D #C37FA9 #D6A8C5

Accessibility & contrast

On white

4.66
#AF558D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#AF558D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AF558D
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF558D#FFFFFF#000000##FFFFFF
##AF558D1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C6B8F
Deuteranopia (green-blind)
#747A8B
Tritanopia (blue-blind)
#B9556B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #af558d;
/* rgb */ color: rgb(175, 85, 141);
/* oklch */ color: oklch(57.7% 0.135 344.0);
Tailwind
colors: {
  custom: {
    50: '#c988ae',
    500: '#af558d',
    950: '#000000',
  },
}
SCSS
$custom: #af558d;
$custom-light: #c988ae;
$custom-dark: #000000;
JSON
{
  "hex": "#af558d",
  "rgb": {
    "r": 175,
    "g": 85,
    "b": 141
  },
  "hsl": {
    "h": 322.667,
    "s": 36,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57729,
    "c": 0.13508,
    "h": 344
  },
  "luminance": 0.17534
}

Semantic roles & 50–950 ramp

primary
#AF558D
secondary
#9CC4AB
accent
#CC865C
background
#FCF8FA
surface
#F9F0F4
border
#D2CBCE
text
#130C10
muted
#827D7F

Preview Lab

Preview with #AF558D

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

Preview Lab → · Contrast checker → · Palette generator →

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