#AF4980#AF4980

#AF4980 is a mid, vivid pink. Relative luminance 0.154; OKLCH L 55.6% C 0.146 H 349.4°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#AF4980
RGBrgb(175, 73, 128)
HSLhsl(328, 41%, 49%)
HSVhsv(328, 58%, 69%)
CMYKcmyk(0%, 58.3%, 26.9%, 31.4%)
CIE-LABlab(46.23, 47.61, -10.31)
CIE-LCHlch(46.23, 48.72, 347.79°)
OKLaboklab(55.57% 0.144 -0.0269)
OKLCHoklch(55.57% 0.146 349.4)
XYZxyz(23.9589, 15.4398, 22.1363)
Luminance0.1544 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4980 #49AF78
analogous
#AB49AF #AF4980 #AF494D
triadic
#AF4980 #80AF49 #4980AF
tetradic
#AF4980 #AFAB49 #49AF78 #494DAF
square
#AF4980 #AFAB49 #49AF78 #494DAF
split-complementary
#AF4980 #4DAF49 #49AFAB
monochromatic
#592541 #843760 #AF4980 #C4719E #D69CBB

Accessibility & contrast

On white

5.14
#AF4980 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#AF4980 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4980
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4980#FFFFFF#000000##FFFFFF
##AF49801.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#556282
Deuteranopia (green-blind)
#71747E
Tritanopia (blue-blind)
#BB455F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af4980;
/* rgb */ color: rgb(175, 73, 128);
/* oklch */ color: oklch(55.6% 0.146 349.4);
Tailwind
colors: {
  custom: {
    50: '#ca81a4',
    500: '#af4980',
    950: '#000000',
  },
}
SCSS
$custom: #af4980;
$custom-light: #ca81a4;
$custom-dark: #000000;
JSON
{
  "hex": "#af4980",
  "rgb": {
    "r": 175,
    "g": 73,
    "b": 128
  },
  "hsl": {
    "h": 327.647,
    "s": 41.129,
    "l": 48.627
  },
  "oklch": {
    "l": 0.55566,
    "c": 0.14646,
    "h": 349.4
  },
  "luminance": 0.15438
}

Semantic roles & 50–950 ramp

primary
#AF4980
secondary
#91C2A8
accent
#D18F57
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#140B0F
muted
#827C7F

Preview Lab

Preview with #AF4980

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

Preview Lab → · Contrast checker → · Palette generator →

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