#AF549E#AF549E

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

Color values

HEX#AF549E
RGBrgb(175, 84, 158)
HSLhsl(311, 36%, 51%)
HSVhsv(311, 52%, 69%)
CMYKcmyk(0%, 52%, 9.7%, 31.4%)
CIE-LABlab(49.41, 46.85, -23.42)
CIE-LCHlch(49.41, 52.38, 333.44°)
OKLaboklab(58.3% 0.1355 -0.0634)
OKLCHoklch(58.3% 0.15 334.9)
XYZxyz(27.0211, 17.9251, 34.3778)
Luminance0.1792 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF549E #54AF65
analogous
#9254AF #AF549E #AF5470
triadic
#AF549E #9EAF54 #549EAF
tetradic
#AF549E #AF9254 #54AF65 #5470AF
square
#AF549E #AF9254 #54AF65 #5470AF
split-complementary
#AF549E #70AF54 #54AF92
monochromatic
#5D2C54 #873F79 #AF549E #C37EB6 #D6A7CD

Accessibility & contrast

On white

4.58
#AF549E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#000000 on #AF549E
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF549E#FFFFFF#000000##000000
##AF549E1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#546DA0
Deuteranopia (green-blind)
#6E7A9B
Tritanopia (blue-blind)
#B65972
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #af549e;
/* rgb */ color: rgb(175, 84, 158);
/* oklch */ color: oklch(58.3% 0.150 334.9);
Tailwind
colors: {
  custom: {
    50: '#c988bb',
    500: '#af549e',
    950: '#000000',
  },
}
SCSS
$custom: #af549e;
$custom-light: #c988bb;
$custom-dark: #000000;
JSON
{
  "hex": "#af549e",
  "rgb": {
    "r": 175,
    "g": 84,
    "b": 158
  },
  "hsl": {
    "h": 311.209,
    "s": 36.255,
    "l": 50.784
  },
  "oklch": {
    "l": 0.58303,
    "c": 0.14962,
    "h": 334.9
  },
  "luminance": 0.17923
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF549E

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

Preview Lab → · Contrast checker → · Palette generator →

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