#AF506A#AF506A

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

Color values

HEX#AF506A
RGBrgb(175, 80, 106)
HSLhsl(344, 37%, 50%)
HSVhsv(344, 54%, 69%)
CMYKcmyk(0%, 54.3%, 39.4%, 31.4%)
CIE-LABlab(46.84, 41.41, 3.95)
CIE-LCHlch(46.84, 41.60, 5.45°)
OKLaboklab(55.79% 0.126 0.0107)
OKLCHoklch(55.79% 0.126 4.9)
XYZxyz(23.1507, 15.8943, 15.4816)
Luminance0.1589 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF506A #50AF95
analogous
#AF5099 #AF506A #AF6650
triadic
#AF506A #6AAF50 #506AAF
tetradic
#AF506A #99AF50 #50AF95 #6650AF
square
#AF506A #99AF50 #50AF95 #6650AF
split-complementary
#AF506A #50AF66 #5099AF
monochromatic
#5B2A37 #853D51 #AF506A #C27A8E #D5A4B2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF506A#FFFFFF#000000##FFFFFF
##AF506A1.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)
#61646B
Deuteranopia (green-blind)
#7A7668
Tritanopia (blue-blind)
#BD475A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #af506a;
/* rgb */ color: rgb(175, 80, 106);
/* oklch */ color: oklch(55.8% 0.126 4.9);
Tailwind
colors: {
  custom: {
    50: '#ca8494',
    500: '#af506a',
    950: '#000000',
  },
}
SCSS
$custom: #af506a;
$custom-light: #ca8494;
$custom-dark: #000000;
JSON
{
  "hex": "#af506a",
  "rgb": {
    "r": 175,
    "g": 80,
    "b": 106
  },
  "hsl": {
    "h": 343.579,
    "s": 37.255,
    "l": 50
  },
  "oklch": {
    "l": 0.55791,
    "c": 0.12643,
    "h": 4.9
  },
  "luminance": 0.15892
}

Semantic roles & 50–950 ramp

primary
#AF506A
secondary
#98C3B7
accent
#CDAE5B
background
#FCF8F9
surface
#F9EFF1
border
#D2CACB
text
#140B0D
muted
#827C7E

Preview Lab

Preview with #AF506A

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

Preview Lab → · Contrast checker → · Palette generator →

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