#AF579D#AF579D

#AF579D is a mid, vivid pink. Relative luminance 0.184; OKLCH L 58.7% C 0.144 H 335.6°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#AF579D
RGBrgb(175, 87, 157)
HSLhsl(312, 35%, 51%)
HSVhsv(312, 50%, 69%)
CMYKcmyk(0%, 50.3%, 10.3%, 31.4%)
CIE-LABlab(49.94, 45.17, -22.01)
CIE-LCHlch(49.94, 50.25, 334.02°)
OKLaboklab(58.68% 0.1309 -0.0595)
OKLCHoklch(58.68% 0.144 335.6)
XYZxyz(27.1733, 18.3665, 34.0056)
Luminance0.1837 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF579D #57AF69
analogous
#9557AF #AF579D #AF5771
triadic
#AF579D #9DAF57 #579DAF
tetradic
#AF579D #AF9557 #57AF69 #5771AF
square
#AF579D #AF9557 #57AF69 #5771AF
split-complementary
#AF579D #71AF57 #57AF95
monochromatic
#5F2D54 #884179 #AF579D #C380B5 #D6AACD

Accessibility & contrast

On white

4.49
#AF579D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#AF579D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF579D
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF579D#FFFFFF#000000##000000
##AF579D1.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#586F9F
Deuteranopia (green-blind)
#707C9B
Tritanopia (blue-blind)
#B65B73
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #af579d;
/* rgb */ color: rgb(175, 87, 157);
/* oklch */ color: oklch(58.7% 0.144 335.6);
Tailwind
colors: {
  custom: {
    50: '#c98aba',
    500: '#af579d',
    950: '#000000',
  },
}
SCSS
$custom: #af579d;
$custom-light: #c98aba;
$custom-dark: #000000;
JSON
{
  "hex": "#af579d",
  "rgb": {
    "r": 175,
    "g": 87,
    "b": 157
  },
  "hsl": {
    "h": 312.273,
    "s": 35.484,
    "l": 51.373
  },
  "oklch": {
    "l": 0.58685,
    "c": 0.14377,
    "h": 335.6
  },
  "luminance": 0.18365
}

Semantic roles & 50–950 ramp

primary
#AF579D
secondary
#9EC4A5
accent
#CC735C
background
#FCF8FB
surface
#F9F0F6
border
#D2CBD0
text
#130C11
muted
#827D80

Preview Lab

Preview with #AF579D

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

Preview Lab → · Contrast checker → · Palette generator →

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