#AF4E77#AF4E77

#AF4E77 is a mid, vivid pink. Relative luminance 0.159; OKLCH L 55.9% C 0.134 H 355.8°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#AF4E77
RGBrgb(175, 78, 119)
HSLhsl(335, 38%, 50%)
HSVhsv(335, 55%, 69%)
CMYKcmyk(0%, 55.4%, 32%, 31.4%)
CIE-LABlab(46.84, 44.00, -3.94)
CIE-LCHlch(46.84, 44.18, 354.88°)
OKLaboklab(55.92% 0.1337 -0.0098)
OKLCHoklch(55.92% 0.134 355.8)
XYZxyz(23.7344, 15.8969, 19.2676)
Luminance0.1590 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4E77 #4EAF86
analogous
#AF4EA8 #AF4E77 #AF554E
triadic
#AF4E77 #77AF4E #4E77AF
tetradic
#AF4E77 #A8AF4E #4EAF86 #554EAF
square
#AF4E77 #A8AF4E #4EAF86 #554EAF
split-complementary
#AF4E77 #4EAF55 #4EA8AF
monochromatic
#5A283D #853B5A #AF4E77 #C37897 #D6A2B8

Accessibility & contrast

On white

5.03
#AF4E77 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#AF4E77 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4E77
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4E77#FFFFFF#000000##FFFFFF
##AF4E771.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af4e77;
/* rgb */ color: rgb(175, 78, 119);
/* oklch */ color: oklch(55.9% 0.134 355.8);
Tailwind
colors: {
  custom: {
    50: '#ca839e',
    500: '#af4e77',
    950: '#000000',
  },
}
SCSS
$custom: #af4e77;
$custom-light: #ca839e;
$custom-dark: #000000;
JSON
{
  "hex": "#af4e77",
  "rgb": {
    "r": 175,
    "g": 78,
    "b": 119
  },
  "hsl": {
    "h": 334.639,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.5592,
    "c": 0.13408,
    "h": 355.8
  },
  "luminance": 0.15895
}

Semantic roles & 50–950 ramp

primary
#AF4E77
secondary
#96C3B0
accent
#CE9D5A
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140B0E
muted
#827C7E

Preview Lab

Preview with #AF4E77

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

Preview Lab → · Contrast checker → · Palette generator →

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