#AF5076#AF5076

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

Color values

HEX#AF5076
RGBrgb(175, 80, 118)
HSLhsl(336, 37%, 50%)
HSVhsv(336, 54%, 69%)
CMYKcmyk(0%, 54.3%, 32.6%, 31.4%)
CIE-LABlab(47.19, 42.88, -2.82)
CIE-LCHlch(47.19, 42.97, 356.23°)
OKLaboklab(56.17% 0.1303 -0.0069)
OKLCHoklch(56.17% 0.13 357)
XYZxyz(23.8190, 16.1616, 19.0011)
Luminance0.1616 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5076 #50AF89
analogous
#AF50A6 #AF5076 #AF5950
triadic
#AF5076 #76AF50 #5076AF
tetradic
#AF5076 #A6AF50 #50AF89 #5950AF
square
#AF5076 #A6AF50 #50AF89 #5950AF
split-complementary
#AF5076 #50AF59 #50A6AF
monochromatic
#5B2A3D #853D5A #AF5076 #C27A97 #D5A4B8

Accessibility & contrast

On white

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

On black

4.23
#AF5076 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AF5076#FFFFFF#000000##FFFFFF
##AF50761.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E6577
Deuteranopia (green-blind)
#777674
Tritanopia (blue-blind)
#BB4A5E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #af5076;
/* rgb */ color: rgb(175, 80, 118);
/* oklch */ color: oklch(56.2% 0.130 357.0);
Tailwind
colors: {
  custom: {
    50: '#ca859d',
    500: '#af5076',
    950: '#000000',
  },
}
SCSS
$custom: #af5076;
$custom-light: #ca859d;
$custom-dark: #000000;
JSON
{
  "hex": "#af5076",
  "rgb": {
    "r": 175,
    "g": 80,
    "b": 118
  },
  "hsl": {
    "h": 336,
    "s": 37.255,
    "l": 50
  },
  "oklch": {
    "l": 0.56169,
    "c": 0.13049,
    "h": 357
  },
  "luminance": 0.16159
}

Semantic roles & 50–950 ramp

primary
#AF5076
secondary
#98C3B2
accent
#CD9F5B
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140B0E
muted
#827C7E

Preview Lab

Preview with #AF5076

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

Preview Lab → · Contrast checker → · Palette generator →

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