#AF4780#AF4780

#AF4780 is a mid, vivid pink. Relative luminance 0.152; OKLCH L 55.3% C 0.150 H 349.1°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#AF4780
RGBrgb(175, 71, 128)
HSLhsl(327, 42%, 48%)
HSVhsv(327, 59%, 69%)
CMYKcmyk(0%, 59.4%, 26.9%, 31.4%)
CIE-LABlab(45.88, 48.55, -10.83)
CIE-LCHlch(45.88, 49.74, 347.42°)
OKLaboklab(55.31% 0.1469 -0.0283)
OKLCHoklch(55.31% 0.15 349.1)
XYZxyz(23.8296, 15.1812, 22.0932)
Luminance0.1518 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4780 #47AF76
analogous
#AA47AF #AF4780 #AF474C
triadic
#AF4780 #80AF47 #4780AF
tetradic
#AF4780 #AFAA47 #47AF76 #474CAF
square
#AF4780 #AFAA47 #47AF76 #474CAF
split-complementary
#AF4780 #4CAF47 #47AFAA
monochromatic
#582440 #833560 #AF4780 #C46F9E #D69ABB

Accessibility & contrast

On white

5.20
#AF4780 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#AF4780 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4780
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4780#FFFFFF#000000##FFFFFF
##AF47801.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536182
Deuteranopia (green-blind)
#70737D
Tritanopia (blue-blind)
#BB435E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af4780;
/* rgb */ color: rgb(175, 71, 128);
/* oklch */ color: oklch(55.3% 0.150 349.1);
Tailwind
colors: {
  custom: {
    50: '#ca7fa4',
    500: '#af4780',
    950: '#000000',
  },
}
SCSS
$custom: #af4780;
$custom-light: #ca7fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#af4780",
  "rgb": {
    "r": 175,
    "g": 71,
    "b": 128
  },
  "hsl": {
    "h": 327.115,
    "s": 42.276,
    "l": 48.235
  },
  "oklch": {
    "l": 0.55306,
    "c": 0.14955,
    "h": 349.1
  },
  "luminance": 0.15179
}

Semantic roles & 50–950 ramp

primary
#AF4780
secondary
#8FC2A6
accent
#D28E56
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#140A0F
muted
#827C7F

Preview Lab

Preview with #AF4780

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

Preview Lab → · Contrast checker → · Palette generator →

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