#AF5077#AF5077

#AF5077 is a mid, vivid pink. Relative luminance 0.162; OKLCH L 56.2% C 0.131 H 356.3°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#AF5077
RGBrgb(175, 80, 119)
HSLhsl(335, 37%, 50%)
HSVhsv(335, 54%, 69%)
CMYKcmyk(0%, 54.3%, 32%, 31.4%)
CIE-LABlab(47.22, 43.01, -3.38)
CIE-LCHlch(47.22, 43.14, 355.50°)
OKLaboklab(56.2% 0.1307 -0.0083)
OKLCHoklch(56.2% 0.131 356.3)
XYZxyz(23.8787, 16.1855, 19.3157)
Luminance0.1618 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5077 #50AF88
analogous
#AF50A7 #AF5077 #AF5850
triadic
#AF5077 #77AF50 #5077AF
tetradic
#AF5077 #A7AF50 #50AF88 #5850AF
square
#AF5077 #A7AF50 #50AF88 #5850AF
split-complementary
#AF5077 #50AF58 #50A7AF
monochromatic
#5B2A3E #853D5A #AF5077 #C27A98 #D5A4B8

Accessibility & contrast

On white

4.96
#AF5077 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#AF5077 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF5077
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5077#FFFFFF#000000##FFFFFF
##AF50771.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E6578
Deuteranopia (green-blind)
#777675
Tritanopia (blue-blind)
#BB4A5F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #af5077;
/* rgb */ color: rgb(175, 80, 119);
/* oklch */ color: oklch(56.2% 0.131 356.3);
Tailwind
colors: {
  custom: {
    50: '#ca859e',
    500: '#af5077',
    950: '#000000',
  },
}
SCSS
$custom: #af5077;
$custom-light: #ca859e;
$custom-dark: #000000;
JSON
{
  "hex": "#af5077",
  "rgb": {
    "r": 175,
    "g": 80,
    "b": 119
  },
  "hsl": {
    "h": 335.368,
    "s": 37.255,
    "l": 50
  },
  "oklch": {
    "l": 0.56203,
    "c": 0.13093,
    "h": 356.3
  },
  "luminance": 0.16183
}

Semantic roles & 50–950 ramp

primary
#AF5077
secondary
#98C3B1
accent
#CD9E5B
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140B0E
muted
#827C7E

Preview Lab

Preview with #AF5077

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

Preview Lab → · Contrast checker → · Palette generator →

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