#AF5480#AF5480

#AF5480 is a mid, vivid pink. Relative luminance 0.170; OKLCH L 57.1% C 0.129 H 351.7°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#AF5480
RGBrgb(175, 84, 128)
HSLhsl(331, 36%, 51%)
HSVhsv(331, 52%, 69%)
CMYKcmyk(0%, 52%, 26.9%, 31.4%)
CIE-LABlab(48.28, 42.21, -7.24)
CIE-LCHlch(48.28, 42.82, 350.27°)
OKLaboklab(57.09% 0.1275 -0.0187)
OKLCHoklch(57.09% 0.129 351.7)
XYZxyz(24.7467, 17.0153, 22.3988)
Luminance0.1701 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5480 #54AF83
analogous
#AF54AD #AF5480 #AF5554
triadic
#AF5480 #80AF54 #5480AF
tetradic
#AF5480 #ADAF54 #54AF83 #5554AF
square
#AF5480 #ADAF54 #54AF83 #5554AF
split-complementary
#AF5480 #54AF55 #54ADAF
monochromatic
#5D2C43 #873F62 #AF5480 #C37E9F #D6A7BE

Accessibility & contrast

On white

4.77
#AF5480 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#AF5480 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF5480
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5480#FFFFFF#000000##FFFFFF
##AF54801.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F6981
Deuteranopia (green-blind)
#77797E
Tritanopia (blue-blind)
#BA5065
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #af5480;
/* rgb */ color: rgb(175, 84, 128);
/* oklch */ color: oklch(57.1% 0.129 351.7);
Tailwind
colors: {
  custom: {
    50: '#c987a4',
    500: '#af5480',
    950: '#000000',
  },
}
SCSS
$custom: #af5480;
$custom-light: #c987a4;
$custom-dark: #000000;
JSON
{
  "hex": "#af5480",
  "rgb": {
    "r": 175,
    "g": 84,
    "b": 128
  },
  "hsl": {
    "h": 330.989,
    "s": 36.255,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57094,
    "c": 0.12882,
    "h": 351.7
  },
  "luminance": 0.17013
}

Semantic roles & 50–950 ramp

primary
#AF5480
secondary
#9BC4B0
accent
#CC965C
background
#FCF8FA
surface
#F9F0F4
border
#D2CBCE
text
#130B0F
muted
#827C7F

Preview Lab

Preview with #AF5480

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

Preview Lab → · Contrast checker → · Palette generator →

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