#AF549F#AF549F

#AF549F is a mid, vivid pink. Relative luminance 0.180; OKLCH L 58.3% C 0.150 H 334.4°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#AF549F
RGBrgb(175, 84, 159)
HSLhsl(311, 36%, 51%)
HSVhsv(311, 52%, 69%)
CMYKcmyk(0%, 52%, 9.1%, 31.4%)
CIE-LABlab(49.45, 47.02, -23.95)
CIE-LCHlch(49.45, 52.77, 333.01°)
OKLaboklab(58.35% 0.1357 -0.0649)
OKLCHoklch(58.35% 0.15 334.4)
XYZxyz(27.1076, 17.9596, 34.8330)
Luminance0.1796 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF549F #54AF64
analogous
#9154AF #AF549F #AF5471
triadic
#AF549F #9FAF54 #549FAF
tetradic
#AF549F #AF9154 #54AF64 #5471AF
square
#AF549F #AF9154 #54AF64 #5471AF
split-complementary
#AF549F #71AF54 #54AF91
monochromatic
#5D2C54 #873F7A #AF549F #C37EB6 #D6A7CE

Accessibility & contrast

On white

4.57
#AF549F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#AF549F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF549F
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF549F#FFFFFF#000000##000000
##AF549F1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#536DA1
Deuteranopia (green-blind)
#6E7A9C
Tritanopia (blue-blind)
#B65972
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #af549f;
/* rgb */ color: rgb(175, 84, 159);
/* oklch */ color: oklch(58.3% 0.150 334.4);
Tailwind
colors: {
  custom: {
    50: '#c988bb',
    500: '#af549f',
    950: '#000000',
  },
}
SCSS
$custom: #af549f;
$custom-light: #c988bb;
$custom-dark: #000000;
JSON
{
  "hex": "#af549f",
  "rgb": {
    "r": 175,
    "g": 84,
    "b": 159
  },
  "hsl": {
    "h": 310.549,
    "s": 36.255,
    "l": 50.784
  },
  "oklch": {
    "l": 0.58348,
    "c": 0.15045,
    "h": 334.4
  },
  "luminance": 0.17958
}

Semantic roles & 50–950 ramp

primary
#AF549F
secondary
#9BC4A2
accent
#CC6F5C
background
#FCF8FB
surface
#F9F0F6
border
#D2CBD0
text
#130C12
muted
#827D81

Preview Lab

Preview with #AF549F

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

Preview Lab → · Contrast checker → · Palette generator →

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