#AF558F#AF558F

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

Color values

HEX#AF558F
RGBrgb(175, 85, 143)
HSLhsl(321, 36%, 51%)
HSVhsv(321, 51%, 69%)
CMYKcmyk(0%, 51.4%, 18.3%, 31.4%)
CIE-LABlab(49.00, 43.92, -15.13)
CIE-LCHlch(49.00, 46.45, 340.99°)
OKLaboklab(57.81% 0.1304 -0.0402)
OKLCHoklch(57.81% 0.136 342.8)
XYZxyz(25.8861, 17.5961, 28.0143)
Luminance0.1759 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF558F #55AF75
analogous
#A255AF #AF558F #AF5562
triadic
#AF558F #8FAF55 #558FAF
tetradic
#AF558F #AFA255 #55AF75 #5562AF
square
#AF558F #AFA255 #55AF75 #5562AF
split-complementary
#AF558F #62AF55 #55AFA2
monochromatic
#5E2C4C #87406E #AF558F #C37FAA #D6A8C6

Accessibility & contrast

On white

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

On black

4.52
#AF558F on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AF558F#FFFFFF#000000##FFFFFF
##AF558F1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B6B91
Deuteranopia (green-blind)
#737A8D
Tritanopia (blue-blind)
#B8556B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #af558f;
/* rgb */ color: rgb(175, 85, 143);
/* oklch */ color: oklch(57.8% 0.136 342.8);
Tailwind
colors: {
  custom: {
    50: '#c988af',
    500: '#af558f',
    950: '#000000',
  },
}
SCSS
$custom: #af558f;
$custom-light: #c988af;
$custom-dark: #000000;
JSON
{
  "hex": "#af558f",
  "rgb": {
    "r": 175,
    "g": 85,
    "b": 143
  },
  "hsl": {
    "h": 321.333,
    "s": 36,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57808,
    "c": 0.13646,
    "h": 342.8
  },
  "luminance": 0.17594
}

Semantic roles & 50–950 ramp

primary
#AF558F
secondary
#9CC4AA
accent
#CC845C
background
#FCF8FA
surface
#F9F0F4
border
#D2CBCE
text
#130C10
muted
#827D7F

Preview Lab

Preview with #AF558F

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

Preview Lab → · Contrast checker → · Palette generator →

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