#AF558E#AF558E

#AF558E is a mid, vivid pink. Relative luminance 0.176; OKLCH L 57.8% C 0.136 H 343.4°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#AF558E
RGBrgb(175, 85, 142)
HSLhsl(322, 36%, 51%)
HSVhsv(322, 51%, 69%)
CMYKcmyk(0%, 51.4%, 18.9%, 31.4%)
CIE-LABlab(48.97, 43.76, -14.59)
CIE-LCHlch(48.97, 46.13, 341.56°)
OKLaboklab(57.77% 0.1301 -0.0388)
OKLCHoklch(57.77% 0.136 343.4)
XYZxyz(25.8107, 17.5660, 27.6171)
Luminance0.1756 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF558E #55AF76
analogous
#A355AF #AF558E #AF5561
triadic
#AF558E #8EAF55 #558EAF
tetradic
#AF558E #AFA355 #55AF76 #5561AF
square
#AF558E #AFA355 #55AF76 #5561AF
split-complementary
#AF558E #61AF55 #55AFA3
monochromatic
#5E2C4B #87406D #AF558E #C37FAA #D6A8C5

Accessibility & contrast

On white

4.65
#AF558E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF558E
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF558E#FFFFFF#000000##FFFFFF
##AF558E1.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af558e;
/* rgb */ color: rgb(175, 85, 142);
/* oklch */ color: oklch(57.8% 0.136 343.4);
Tailwind
colors: {
  custom: {
    50: '#c988af',
    500: '#af558e',
    950: '#000000',
  },
}
SCSS
$custom: #af558e;
$custom-light: #c988af;
$custom-dark: #000000;
JSON
{
  "hex": "#af558e",
  "rgb": {
    "r": 175,
    "g": 85,
    "b": 142
  },
  "hsl": {
    "h": 322,
    "s": 36,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57768,
    "c": 0.13576,
    "h": 343.4
  },
  "luminance": 0.17564
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF558E

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

Preview Lab → · Contrast checker → · Palette generator →

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