#AF549D#AF549D

#AF549D is a mid, vivid pink. Relative luminance 0.179; OKLCH L 58.3% C 0.149 H 335.4°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#AF549D
RGBrgb(175, 84, 157)
HSLhsl(312, 36%, 51%)
HSVhsv(312, 52%, 69%)
CMYKcmyk(0%, 52%, 10.3%, 31.4%)
CIE-LABlab(49.36, 46.68, -22.89)
CIE-LCHlch(49.36, 51.99, 333.88°)
OKLaboklab(58.26% 0.1353 -0.0619)
OKLCHoklch(58.26% 0.149 335.4)
XYZxyz(26.9354, 17.8908, 33.9263)
Luminance0.1789 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF549D #54AF66
analogous
#9354AF #AF549D #AF546F
triadic
#AF549D #9DAF54 #549DAF
tetradic
#AF549D #AF9354 #54AF66 #546FAF
square
#AF549D #AF9354 #54AF66 #546FAF
split-complementary
#AF549D #6FAF54 #54AF93
monochromatic
#5D2C53 #873F79 #AF549D #C37EB5 #D6A7CD

Accessibility & contrast

On white

4.59
#AF549D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#AF549D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AF549D
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF549D#FFFFFF#000000##FFFFFF
##AF549D1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546D9F
Deuteranopia (green-blind)
#6E7A9A
Tritanopia (blue-blind)
#B75871
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #af549d;
/* rgb */ color: rgb(175, 84, 157);
/* oklch */ color: oklch(58.3% 0.149 335.4);
Tailwind
colors: {
  custom: {
    50: '#c988ba',
    500: '#af549d',
    950: '#000000',
  },
}
SCSS
$custom: #af549d;
$custom-light: #c988ba;
$custom-dark: #000000;
JSON
{
  "hex": "#af549d",
  "rgb": {
    "r": 175,
    "g": 84,
    "b": 157
  },
  "hsl": {
    "h": 311.868,
    "s": 36.255,
    "l": 50.784
  },
  "oklch": {
    "l": 0.58258,
    "c": 0.1488,
    "h": 335.4
  },
  "luminance": 0.17889
}

Semantic roles & 50–950 ramp

primary
#AF549D
secondary
#9BC4A3
accent
#CC725C
background
#FCF8FB
surface
#F9F0F6
border
#D2CBD0
text
#130C11
muted
#827D80

Preview Lab

Preview with #AF549D

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

Preview Lab → · Contrast checker → · Palette generator →

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