#AF4E79#AF4E79

#AF4E79 is a mid, vivid pink. Relative luminance 0.159; OKLCH L 56.0% C 0.135 H 354.6°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#AF4E79
RGBrgb(175, 78, 121)
HSLhsl(333, 38%, 50%)
HSVhsv(333, 55%, 69%)
CMYKcmyk(0%, 55.4%, 30.9%, 31.4%)
CIE-LABlab(46.90, 44.26, -5.06)
CIE-LCHlch(46.90, 44.55, 353.48°)
OKLaboklab(55.99% 0.1344 -0.0128)
OKLCHoklch(55.99% 0.135 354.6)
XYZxyz(23.8558, 15.9455, 19.9069)
Luminance0.1594 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4E79 #4EAF84
analogous
#AF4EAA #AF4E79 #AF544E
triadic
#AF4E79 #79AF4E #4E79AF
tetradic
#AF4E79 #AAAF4E #4EAF84 #544EAF
square
#AF4E79 #AAAF4E #4EAF84 #544EAF
split-complementary
#AF4E79 #4EAF54 #4EAAAF
monochromatic
#5A283E #853B5C #AF4E79 #C37899 #D6A2B9

Accessibility & contrast

On white

5.01
#AF4E79 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#AF4E79 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4E79
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4E79#FFFFFF#000000##FFFFFF
##AF4E791.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C647A
Deuteranopia (green-blind)
#757677
Tritanopia (blue-blind)
#BB485E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #af4e79;
/* rgb */ color: rgb(175, 78, 121);
/* oklch */ color: oklch(56.0% 0.135 354.6);
Tailwind
colors: {
  custom: {
    50: '#ca839f',
    500: '#af4e79',
    950: '#000000',
  },
}
SCSS
$custom: #af4e79;
$custom-light: #ca839f;
$custom-dark: #000000;
JSON
{
  "hex": "#af4e79",
  "rgb": {
    "r": 175,
    "g": 78,
    "b": 121
  },
  "hsl": {
    "h": 333.402,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.55989,
    "c": 0.13499,
    "h": 354.6
  },
  "luminance": 0.15943
}

Semantic roles & 50–950 ramp

primary
#AF4E79
secondary
#96C3AF
accent
#CE9B5A
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140B0E
muted
#827C7E

Preview Lab

Preview with #AF4E79

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

Preview Lab → · Contrast checker → · Palette generator →

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