#AF506D#AF506D

#AF506D is a mid, vivid pink. Relative luminance 0.160; OKLCH L 55.9% C 0.127 H 2.9°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#AF506D
RGBrgb(175, 80, 109)
HSLhsl(342, 37%, 50%)
HSVhsv(342, 54%, 69%)
CMYKcmyk(0%, 54.3%, 37.7%, 31.4%)
CIE-LABlab(46.92, 41.77, 2.25)
CIE-LCHlch(46.92, 41.83, 3.08°)
OKLaboklab(55.88% 0.1271 0.0064)
OKLCHoklch(55.88% 0.127 2.9)
XYZxyz(23.3094, 15.9578, 16.3176)
Luminance0.1595 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF506D #50AF92
analogous
#AF509D #AF506D #AF6250
triadic
#AF506D #6DAF50 #506DAF
tetradic
#AF506D #9DAF50 #50AF92 #6250AF
square
#AF506D #9DAF50 #50AF92 #6250AF
split-complementary
#AF506D #50AF62 #509DAF
monochromatic
#5B2A39 #853D53 #AF506D #C27A90 #D5A4B3

Accessibility & contrast

On white

5.01
#AF506D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#AF506D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF506D
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF506D#FFFFFF#000000##FFFFFF
##AF506D1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61646E
Deuteranopia (green-blind)
#79766B
Tritanopia (blue-blind)
#BC475B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #af506d;
/* rgb */ color: rgb(175, 80, 109);
/* oklch */ color: oklch(55.9% 0.127 2.9);
Tailwind
colors: {
  custom: {
    50: '#ca8496',
    500: '#af506d',
    950: '#000000',
  },
}
SCSS
$custom: #af506d;
$custom-light: #ca8496;
$custom-dark: #000000;
JSON
{
  "hex": "#af506d",
  "rgb": {
    "r": 175,
    "g": 80,
    "b": 109
  },
  "hsl": {
    "h": 341.684,
    "s": 37.255,
    "l": 50
  },
  "oklch": {
    "l": 0.55881,
    "c": 0.12726,
    "h": 2.9
  },
  "luminance": 0.15955
}

Semantic roles & 50–950 ramp

primary
#AF506D
secondary
#98C3B6
accent
#CDAA5B
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140B0D
muted
#827C7E

Preview Lab

Preview with #AF506D

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

Preview Lab → · Contrast checker → · Palette generator →

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