#AF4D79#AF4D79

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

Color values

HEX#AF4D79
RGBrgb(175, 77, 121)
HSLhsl(333, 39%, 49%)
HSVhsv(333, 56%, 69%)
CMYKcmyk(0%, 56%, 30.9%, 31.4%)
CIE-LABlab(46.72, 44.75, -5.34)
CIE-LCHlch(46.72, 45.07, 353.20°)
OKLaboklab(55.85% 0.1359 -0.0135)
OKLCHoklch(55.85% 0.137 354.3)
XYZxyz(23.7853, 15.8045, 19.8834)
Luminance0.1580 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4D79 #4DAF83
analogous
#AF4DAA #AF4D79 #AF524D
triadic
#AF4D79 #79AF4D #4D79AF
tetradic
#AF4D79 #AAAF4D #4DAF83 #524DAF
square
#AF4D79 #AAAF4D #4DAF83 #524DAF
split-complementary
#AF4D79 #4DAF52 #4DAAAF
monochromatic
#5A283E #853A5C #AF4D79 #C37699 #D6A1B9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF4D79#FFFFFF#000000##FFFFFF
##AF4D791.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)
#5B647A
Deuteranopia (green-blind)
#757577
Tritanopia (blue-blind)
#BB475E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #af4d79;
/* rgb */ color: rgb(175, 77, 121);
/* oklch */ color: oklch(55.9% 0.137 354.3);
Tailwind
colors: {
  custom: {
    50: '#ca839f',
    500: '#af4d79',
    950: '#000000',
  },
}
SCSS
$custom: #af4d79;
$custom-light: #ca839f;
$custom-dark: #000000;
JSON
{
  "hex": "#af4d79",
  "rgb": {
    "r": 175,
    "g": 77,
    "b": 121
  },
  "hsl": {
    "h": 333.061,
    "s": 38.889,
    "l": 49.412
  },
  "oklch": {
    "l": 0.5585,
    "c": 0.13656,
    "h": 354.3
  },
  "luminance": 0.15802
}

Semantic roles & 50–950 ramp

primary
#AF4D79
secondary
#95C3AE
accent
#CF9A59
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140B0E
muted
#827C7E

Preview Lab

Preview with #AF4D79

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

Preview Lab → · Contrast checker → · Palette generator →

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