#AF549B#AF549B

#AF549B is a mid, vivid pink. Relative luminance 0.178; OKLCH L 58.2% C 0.147 H 336.4°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#AF549B
RGBrgb(175, 84, 155)
HSLhsl(313, 36%, 51%)
HSVhsv(313, 52%, 69%)
CMYKcmyk(0%, 52%, 11.4%, 31.4%)
CIE-LABlab(49.28, 46.35, -21.84)
CIE-LCHlch(49.28, 51.24, 334.77°)
OKLaboklab(58.17% 0.1349 -0.059)
OKLCHoklch(58.17% 0.147 336.4)
XYZxyz(26.7661, 17.8230, 33.0344)
Luminance0.1782 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF549B #54AF68
analogous
#9554AF #AF549B #AF546D
triadic
#AF549B #9BAF54 #549BAF
tetradic
#AF549B #AF9554 #54AF68 #546DAF
square
#AF549B #AF9554 #54AF68 #546DAF
split-complementary
#AF549B #6DAF54 #54AF95
monochromatic
#5D2C52 #873F77 #AF549B #C37EB3 #D6A7CC

Accessibility & contrast

On white

4.60
#AF549B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#AF549B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AF549B
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF549B#FFFFFF#000000##FFFFFF
##AF549B1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#556C9D
Deuteranopia (green-blind)
#6F7A99
Tritanopia (blue-blind)
#B75870
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #af549b;
/* rgb */ color: rgb(175, 84, 155);
/* oklch */ color: oklch(58.2% 0.147 336.4);
Tailwind
colors: {
  custom: {
    50: '#c988b8',
    500: '#af549b',
    950: '#000000',
  },
}
SCSS
$custom: #af549b;
$custom-light: #c988b8;
$custom-dark: #000000;
JSON
{
  "hex": "#af549b",
  "rgb": {
    "r": 175,
    "g": 84,
    "b": 155
  },
  "hsl": {
    "h": 313.187,
    "s": 36.255,
    "l": 50.784
  },
  "oklch": {
    "l": 0.5817,
    "c": 0.14718,
    "h": 336.4
  },
  "luminance": 0.17821
}

Semantic roles & 50–950 ramp

primary
#AF549B
secondary
#9BC4A4
accent
#CC745C
background
#FCF8FB
surface
#F9F0F6
border
#D2CBD0
text
#130C11
muted
#827D80

Preview Lab

Preview with #AF549B

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

Preview Lab → · Contrast checker → · Palette generator →

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