#AF516D#AF516D

#AF516D is a mid, vivid pink. Relative luminance 0.161; OKLCH L 56.0% C 0.126 H 3.2°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#AF516D
RGBrgb(175, 81, 109)
HSLhsl(342, 37%, 50%)
HSVhsv(342, 54%, 69%)
CMYKcmyk(0%, 53.7%, 37.7%, 31.4%)
CIE-LABlab(47.11, 41.26, 2.53)
CIE-LCHlch(47.11, 41.34, 3.51°)
OKLaboklab(56.03% 0.1255 0.0071)
OKLCHoklch(56.03% 0.126 3.2)
XYZxyz(23.3832, 16.1053, 16.3422)
Luminance0.1610 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF516D #51AF93
analogous
#AF519C #AF516D #AF6451
triadic
#AF516D #6DAF51 #516DAF
tetradic
#AF516D #9CAF51 #51AF93 #6451AF
square
#AF516D #9CAF51 #51AF93 #6451AF
split-complementary
#AF516D #51AF64 #519CAF
monochromatic
#5C2A39 #853D53 #AF516D #C27B90 #D6A5B3

Accessibility & contrast

On white

4.98
#AF516D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#AF516D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF516D
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF516D#FFFFFF#000000##FFFFFF
##AF516D1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61656E
Deuteranopia (green-blind)
#7A766B
Tritanopia (blue-blind)
#BC485B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #af516d;
/* rgb */ color: rgb(175, 81, 109);
/* oklch */ color: oklch(56.0% 0.126 3.2);
Tailwind
colors: {
  custom: {
    50: '#ca8596',
    500: '#af516d',
    950: '#000000',
  },
}
SCSS
$custom: #af516d;
$custom-light: #ca8596;
$custom-dark: #000000;
JSON
{
  "hex": "#af516d",
  "rgb": {
    "r": 175,
    "g": 81,
    "b": 109
  },
  "hsl": {
    "h": 342.128,
    "s": 37.008,
    "l": 50.196
  },
  "oklch": {
    "l": 0.56027,
    "c": 0.12574,
    "h": 3.2
  },
  "luminance": 0.16103
}

Semantic roles & 50–950 ramp

primary
#AF516D
secondary
#99C3B6
accent
#CDAB5B
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140B0D
muted
#827C7E

Preview Lab

Preview with #AF516D

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

Preview Lab → · Contrast checker → · Palette generator →

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