#AF4978#AF4978

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

Color values

HEX#AF4978
RGBrgb(175, 73, 120)
HSLhsl(332, 41%, 49%)
HSVhsv(332, 58%, 69%)
CMYKcmyk(0%, 58.3%, 31.4%, 31.4%)
CIE-LABlab(45.96, 46.55, -5.86)
CIE-LCHlch(45.96, 46.92, 352.83°)
OKLaboklab(55.27% 0.1415 -0.0149)
OKLCHoklch(55.27% 0.142 354)
XYZxyz(23.4530, 15.2375, 19.4716)
Luminance0.1524 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4978 #49AF80
analogous
#AF49AB #AF4978 #AF4D49
triadic
#AF4978 #78AF49 #4978AF
tetradic
#AF4978 #ABAF49 #49AF80 #4D49AF
square
#AF4978 #ABAF49 #49AF80 #4D49AF
split-complementary
#AF4978 #49AF4D #49ABAF
monochromatic
#59253D #84375A #AF4978 #C47197 #D69CB7

Accessibility & contrast

On white

5.19
#AF4978 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#AF4978 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4978
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4978#FFFFFF#000000##FFFFFF
##AF49781.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#586179
Deuteranopia (green-blind)
#737476
Tritanopia (blue-blind)
#BB435B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af4978;
/* rgb */ color: rgb(175, 73, 120);
/* oklch */ color: oklch(55.3% 0.142 354.0);
Tailwind
colors: {
  custom: {
    50: '#ca809f',
    500: '#af4978',
    950: '#000000',
  },
}
SCSS
$custom: #af4978;
$custom-light: #ca809f;
$custom-dark: #000000;
JSON
{
  "hex": "#af4978",
  "rgb": {
    "r": 175,
    "g": 73,
    "b": 120
  },
  "hsl": {
    "h": 332.353,
    "s": 41.129,
    "l": 48.627
  },
  "oklch": {
    "l": 0.55273,
    "c": 0.1423,
    "h": 354
  },
  "luminance": 0.15235
}

Semantic roles & 50–950 ramp

primary
#AF4978
secondary
#91C2AC
accent
#D19957
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140B0E
muted
#827C7E

Preview Lab

Preview with #AF4978

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

Preview Lab → · Contrast checker → · Palette generator →

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