#AF4C85#AF4C85

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

Color values

HEX#AF4C85
RGBrgb(175, 76, 133)
HSLhsl(325, 39%, 49%)
HSVhsv(325, 57%, 69%)
CMYKcmyk(0%, 56.6%, 24%, 31.4%)
CIE-LABlab(46.95, 46.88, -12.25)
CIE-LCHlch(46.95, 48.45, 345.35°)
OKLaboklab(56.16% 0.141 -0.0322)
OKLCHoklch(56.16% 0.145 347.1)
XYZxyz(24.4981, 15.9785, 23.9797)
Luminance0.1598 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4C85 #4CAF76
analogous
#A84CAF #AF4C85 #AF4C54
triadic
#AF4C85 #85AF4C #4C85AF
tetradic
#AF4C85 #AFA84C #4CAF76 #4C54AF
square
#AF4C85 #AFA84C #4CAF76 #4C54AF
split-complementary
#AF4C85 #54AF4C #4CAFA8
monochromatic
#5A2744 #843965 #AF4C85 #C375A2 #D6A0BF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF4C85#FFFFFF#000000##FFFFFF
##AF4C851.005.014.205.01
#FFFFFF5.011.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#566587
Deuteranopia (green-blind)
#717683
Tritanopia (blue-blind)
#BA4A62
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #af4c85;
/* rgb */ color: rgb(175, 76, 133);
/* oklch */ color: oklch(56.2% 0.145 347.1);
Tailwind
colors: {
  custom: {
    50: '#ca82a8',
    500: '#af4c85',
    950: '#000000',
  },
}
SCSS
$custom: #af4c85;
$custom-light: #ca82a8;
$custom-dark: #000000;
JSON
{
  "hex": "#af4c85",
  "rgb": {
    "r": 175,
    "g": 76,
    "b": 133
  },
  "hsl": {
    "h": 325.455,
    "s": 39.442,
    "l": 49.216
  },
  "oklch": {
    "l": 0.56156,
    "c": 0.14468,
    "h": 347.1
  },
  "luminance": 0.15976
}

Semantic roles & 50–950 ramp

primary
#AF4C85
secondary
#94C2A8
accent
#CF8B58
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#140B0F
muted
#827C7F

Preview Lab

Preview with #AF4C85

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

Preview Lab → · Contrast checker → · Palette generator →

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