#AF4D78#AF4D78

#AF4D78 is a mid, vivid pink. Relative luminance 0.158; OKLCH L 55.8% C 0.136 H 354.9°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#AF4D78
RGBrgb(175, 77, 120)
HSLhsl(334, 39%, 49%)
HSVhsv(334, 56%, 69%)
CMYKcmyk(0%, 56%, 31.4%, 31.4%)
CIE-LABlab(46.68, 44.62, -4.78)
CIE-LCHlch(46.68, 44.88, 353.89°)
OKLaboklab(55.82% 0.1356 -0.012)
OKLCHoklch(55.82% 0.136 354.9)
XYZxyz(23.7243, 15.7801, 19.5621)
Luminance0.1578 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4D78 #4DAF84
analogous
#AF4DA9 #AF4D78 #AF534D
triadic
#AF4D78 #78AF4D #4D78AF
tetradic
#AF4D78 #A9AF4D #4DAF84 #534DAF
square
#AF4D78 #A9AF4D #4DAF84 #534DAF
split-complementary
#AF4D78 #4DAF53 #4DA9AF
monochromatic
#5A283E #853A5B #AF4D78 #C37698 #D6A1B8

Accessibility & contrast

On white

5.05
#AF4D78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#AF4D78 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4D78
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4D78#FFFFFF#000000##FFFFFF
##AF4D781.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B6379
Deuteranopia (green-blind)
#757576
Tritanopia (blue-blind)
#BB475D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #af4d78;
/* rgb */ color: rgb(175, 77, 120);
/* oklch */ color: oklch(55.8% 0.136 354.9);
Tailwind
colors: {
  custom: {
    50: '#ca839e',
    500: '#af4d78',
    950: '#000000',
  },
}
SCSS
$custom: #af4d78;
$custom-light: #ca839e;
$custom-dark: #000000;
JSON
{
  "hex": "#af4d78",
  "rgb": {
    "r": 175,
    "g": 77,
    "b": 120
  },
  "hsl": {
    "h": 333.673,
    "s": 38.889,
    "l": 49.412
  },
  "oklch": {
    "l": 0.55815,
    "c": 0.13609,
    "h": 354.9
  },
  "luminance": 0.15778
}

Semantic roles & 50–950 ramp

primary
#AF4D78
secondary
#95C3AF
accent
#CF9B59
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140B0E
muted
#827C7E

Preview Lab

Preview with #AF4D78

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

Preview Lab → · Contrast checker → · Palette generator →

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