#AF5380#AF5380

#AF5380 is a mid, vivid pink. Relative luminance 0.169; OKLCH L 56.9% C 0.130 H 351.4°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#AF5380
RGBrgb(175, 83, 128)
HSLhsl(331, 37%, 51%)
HSVhsv(331, 53%, 69%)
CMYKcmyk(0%, 52.6%, 26.9%, 31.4%)
CIE-LABlab(48.08, 42.71, -7.53)
CIE-LCHlch(48.08, 43.37, 350.00°)
OKLaboklab(56.95% 0.129 -0.0194)
OKLCHoklch(56.95% 0.13 351.4)
XYZxyz(24.6696, 16.8612, 22.3732)
Luminance0.1686 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5380 #53AF82
analogous
#AF53AE #AF5380 #AF5453
triadic
#AF5380 #80AF53 #5380AF
tetradic
#AF5380 #AEAF53 #53AF82 #5453AF
square
#AF5380 #AEAF53 #53AF82 #5453AF
split-complementary
#AF5380 #53AF54 #53AEAF
monochromatic
#5D2B43 #863E62 #AF5380 #C27D9F #D6A7BE

Accessibility & contrast

On white

4.80
#AF5380 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#AF5380 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF5380
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5380#FFFFFF#000000##FFFFFF
##AF53801.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E6881
Deuteranopia (green-blind)
#76787E
Tritanopia (blue-blind)
#BA4F64
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #af5380;
/* rgb */ color: rgb(175, 83, 128);
/* oklch */ color: oklch(56.9% 0.130 351.4);
Tailwind
colors: {
  custom: {
    50: '#c987a4',
    500: '#af5380',
    950: '#000000',
  },
}
SCSS
$custom: #af5380;
$custom-light: #c987a4;
$custom-dark: #000000;
JSON
{
  "hex": "#af5380",
  "rgb": {
    "r": 175,
    "g": 83,
    "b": 128
  },
  "hsl": {
    "h": 330.652,
    "s": 36.508,
    "l": 50.588
  },
  "oklch": {
    "l": 0.56948,
    "c": 0.13047,
    "h": 351.4
  },
  "luminance": 0.16859
}

Semantic roles & 50–950 ramp

primary
#AF5380
secondary
#9AC3AF
accent
#CD955B
background
#FCF8FA
surface
#F9F0F4
border
#D2CBCE
text
#140B0F
muted
#827C7F

Preview Lab

Preview with #AF5380

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

Preview Lab → · Contrast checker → · Palette generator →

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