#AF506F#AF506F

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

Color values

HEX#AF506F
RGBrgb(175, 80, 111)
HSLhsl(340, 37%, 50%)
HSVhsv(340, 54%, 69%)
CMYKcmyk(0%, 54.3%, 36.6%, 31.4%)
CIE-LABlab(46.98, 42.01, 1.12)
CIE-LCHlch(46.98, 42.02, 1.52°)
OKLaboklab(55.94% 0.1278 0.0034)
OKLCHoklch(55.94% 0.128 1.5)
XYZxyz(23.4183, 16.0013, 16.8911)
Luminance0.1600 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF506F #50AF90
analogous
#AF509F #AF506F #AF6050
triadic
#AF506F #6FAF50 #506FAF
tetradic
#AF506F #9FAF50 #50AF90 #6050AF
square
#AF506F #9FAF50 #50AF90 #6050AF
split-complementary
#AF506F #50AF60 #509FAF
monochromatic
#5B2A3A #853D54 #AF506F #C27A92 #D5A4B4

Accessibility & contrast

On white

5.00
#AF506F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#AF506F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF506F
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF506F#FFFFFF#000000##FFFFFF
##AF506F1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#606470
Deuteranopia (green-blind)
#79766D
Tritanopia (blue-blind)
#BC485B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #af506f;
/* rgb */ color: rgb(175, 80, 111);
/* oklch */ color: oklch(55.9% 0.128 1.5);
Tailwind
colors: {
  custom: {
    50: '#ca8498',
    500: '#af506f',
    950: '#000000',
  },
}
SCSS
$custom: #af506f;
$custom-light: #ca8498;
$custom-dark: #000000;
JSON
{
  "hex": "#af506f",
  "rgb": {
    "r": 175,
    "g": 80,
    "b": 111
  },
  "hsl": {
    "h": 340.421,
    "s": 37.255,
    "l": 50
  },
  "oklch": {
    "l": 0.55943,
    "c": 0.12789,
    "h": 1.5
  },
  "luminance": 0.15999
}

Semantic roles & 50–950 ramp

primary
#AF506F
secondary
#98C3B5
accent
#CDA85B
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140B0D
muted
#827C7E

Preview Lab

Preview with #AF506F

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

Preview Lab → · Contrast checker → · Palette generator →

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