#AF558B#AF558B

#AF558B is a mid, vivid pink. Relative luminance 0.175; OKLCH L 57.6% C 0.134 H 345.1°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#AF558B
RGBrgb(175, 85, 139)
HSLhsl(324, 36%, 51%)
HSVhsv(324, 51%, 69%)
CMYKcmyk(0%, 51.4%, 20.6%, 31.4%)
CIE-LABlab(48.86, 43.30, -12.97)
CIE-LCHlch(48.86, 45.20, 343.33°)
OKLaboklab(57.65% 0.1293 -0.0343)
OKLCHoklch(57.65% 0.134 345.1)
XYZxyz(25.5885, 17.4771, 26.4468)
Luminance0.1747 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF558B #55AF79
analogous
#A655AF #AF558B #AF555E
triadic
#AF558B #8BAF55 #558BAF
tetradic
#AF558B #AFA655 #55AF79 #555EAF
square
#AF558B #AFA655 #55AF79 #555EAF
split-complementary
#AF558B #5EAF55 #55AFA6
monochromatic
#5E2C4A #87406B #AF558B #C37FA7 #D6A8C4

Accessibility & contrast

On white

4.67
#AF558B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#AF558B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AF558B
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF558B#FFFFFF#000000##FFFFFF
##AF558B1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C6B8D
Deuteranopia (green-blind)
#757A89
Tritanopia (blue-blind)
#B9546A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #af558b;
/* rgb */ color: rgb(175, 85, 139);
/* oklch */ color: oklch(57.6% 0.134 345.1);
Tailwind
colors: {
  custom: {
    50: '#c988ad',
    500: '#af558b',
    950: '#000000',
  },
}
SCSS
$custom: #af558b;
$custom-light: #c988ad;
$custom-dark: #000000;
JSON
{
  "hex": "#af558b",
  "rgb": {
    "r": 175,
    "g": 85,
    "b": 139
  },
  "hsl": {
    "h": 324,
    "s": 36,
    "l": 50.98
  },
  "oklch": {
    "l": 0.5765,
    "c": 0.13374,
    "h": 345.1
  },
  "luminance": 0.17475
}

Semantic roles & 50–950 ramp

primary
#AF558B
secondary
#9CC4AC
accent
#CC895C
background
#FCF8FA
surface
#F9F0F4
border
#D2CBCE
text
#130C10
muted
#827D7F

Preview Lab

Preview with #AF558B

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

Preview Lab → · Contrast checker → · Palette generator →

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