#AF549A#AF549A

#AF549A is a mid, vivid pink. Relative luminance 0.178; OKLCH L 58.1% C 0.146 H 336.9°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#AF549A
RGBrgb(175, 84, 154)
HSLhsl(314, 36%, 51%)
HSVhsv(314, 52%, 69%)
CMYKcmyk(0%, 52%, 12%, 31.4%)
CIE-LABlab(49.24, 46.18, -21.31)
CIE-LCHlch(49.24, 50.86, 335.23°)
OKLaboklab(58.13% 0.1346 -0.0575)
OKLCHoklch(58.13% 0.146 336.9)
XYZxyz(26.6824, 17.7896, 32.5940)
Luminance0.1779 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF549A #54AF69
analogous
#9654AF #AF549A #AF546C
triadic
#AF549A #9AAF54 #549AAF
tetradic
#AF549A #AF9654 #54AF69 #546CAF
square
#AF549A #AF9654 #54AF69 #546CAF
split-complementary
#AF549A #6CAF54 #54AF96
monochromatic
#5D2C52 #873F76 #AF549A #C37EB3 #D6A7CB

Accessibility & contrast

On white

4.61
#AF549A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF549A
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF549A#FFFFFF#000000##FFFFFF
##AF549A1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#566C9C
Deuteranopia (green-blind)
#6F7A98
Tritanopia (blue-blind)
#B75870
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #af549a;
/* rgb */ color: rgb(175, 84, 154);
/* oklch */ color: oklch(58.1% 0.146 336.9);
Tailwind
colors: {
  custom: {
    50: '#c988b8',
    500: '#af549a',
    950: '#000000',
  },
}
SCSS
$custom: #af549a;
$custom-light: #c988b8;
$custom-dark: #000000;
JSON
{
  "hex": "#af549a",
  "rgb": {
    "r": 175,
    "g": 84,
    "b": 154
  },
  "hsl": {
    "h": 313.846,
    "s": 36.255,
    "l": 50.784
  },
  "oklch": {
    "l": 0.58126,
    "c": 0.14639,
    "h": 336.9
  },
  "luminance": 0.17788
}

Semantic roles & 50–950 ramp

primary
#AF549A
secondary
#9BC4A5
accent
#CC765C
background
#FCF8FB
surface
#F9F0F6
border
#D2CBD0
text
#130C11
muted
#827D80

Preview Lab

Preview with #AF549A

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

Preview Lab → · Contrast checker → · Palette generator →

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