#AF4D77#AF4D77

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

Color values

HEX#AF4D77
RGBrgb(175, 77, 119)
HSLhsl(334, 39%, 49%)
HSVhsv(334, 56%, 69%)
CMYKcmyk(0%, 56%, 32%, 31.4%)
CIE-LABlab(46.65, 44.49, -4.22)
CIE-LCHlch(46.65, 44.69, 354.59°)
OKLaboklab(55.78% 0.1352 -0.0105)
OKLCHoklch(55.78% 0.136 355.5)
XYZxyz(23.6639, 15.7559, 19.2441)
Luminance0.1575 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4D77 #4DAF85
analogous
#AF4DA8 #AF4D77 #AF544D
triadic
#AF4D77 #77AF4D #4D77AF
tetradic
#AF4D77 #A8AF4D #4DAF85 #544DAF
square
#AF4D77 #A8AF4D #4DAF85 #544DAF
split-complementary
#AF4D77 #4DAF54 #4DA8AF
monochromatic
#5A283D #853A5A #AF4D77 #C37697 #D6A1B7

Accessibility & contrast

On white

5.06
#AF4D77 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#AF4D77 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4D77
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4D77#FFFFFF#000000##FFFFFF
##AF4D771.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af4d77;
/* rgb */ color: rgb(175, 77, 119);
/* oklch */ color: oklch(55.8% 0.136 355.5);
Tailwind
colors: {
  custom: {
    50: '#ca839e',
    500: '#af4d77',
    950: '#000000',
  },
}
SCSS
$custom: #af4d77;
$custom-light: #ca839e;
$custom-dark: #000000;
JSON
{
  "hex": "#af4d77",
  "rgb": {
    "r": 175,
    "g": 77,
    "b": 119
  },
  "hsl": {
    "h": 334.286,
    "s": 38.889,
    "l": 49.412
  },
  "oklch": {
    "l": 0.55781,
    "c": 0.13564,
    "h": 355.5
  },
  "luminance": 0.15754
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF4D77

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

Preview Lab → · Contrast checker → · Palette generator →

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