#AF516E#AF516E

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

Color values

HEX#AF516E
RGBrgb(175, 81, 110)
HSLhsl(341, 37%, 50%)
HSVhsv(341, 54%, 69%)
CMYKcmyk(0%, 53.7%, 37.1%, 31.4%)
CIE-LABlab(47.14, 41.38, 1.96)
CIE-LCHlch(47.14, 41.43, 2.71°)
OKLaboklab(56.06% 0.1259 0.0056)
OKLCHoklch(56.06% 0.126 2.6)
XYZxyz(23.4373, 16.1270, 16.6273)
Luminance0.1613 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF516E #51AF92
analogous
#AF519D #AF516E #AF6351
triadic
#AF516E #6EAF51 #516EAF
tetradic
#AF516E #9DAF51 #51AF92 #6351AF
square
#AF516E #9DAF51 #51AF92 #6351AF
split-complementary
#AF516E #51AF63 #519DAF
monochromatic
#5C2A39 #853D54 #AF516E #C27B91 #D6A5B4

Accessibility & contrast

On white

4.97
#AF516E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF516E
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF516E#FFFFFF#000000##FFFFFF
##AF516E1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61656F
Deuteranopia (green-blind)
#79766C
Tritanopia (blue-blind)
#BC495C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #af516e;
/* rgb */ color: rgb(175, 81, 110);
/* oklch */ color: oklch(56.1% 0.126 2.6);
Tailwind
colors: {
  custom: {
    50: '#ca8597',
    500: '#af516e',
    950: '#000000',
  },
}
SCSS
$custom: #af516e;
$custom-light: #ca8597;
$custom-dark: #000000;
JSON
{
  "hex": "#af516e",
  "rgb": {
    "r": 175,
    "g": 81,
    "b": 110
  },
  "hsl": {
    "h": 341.489,
    "s": 37.008,
    "l": 50.196
  },
  "oklch": {
    "l": 0.56057,
    "c": 0.12604,
    "h": 2.6
  },
  "luminance": 0.16125
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF516E

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

Preview Lab → · Contrast checker → · Palette generator →

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