#AF556C#AF556C

#AF556C is a mid, moderate pink. Relative luminance 0.167; OKLCH L 56.6% C 0.119 H 5.5°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#AF556C
RGBrgb(175, 85, 108)
HSLhsl(345, 36%, 51%)
HSVhsv(345, 51%, 69%)
CMYKcmyk(0%, 51.4%, 38.3%, 31.4%)
CIE-LABlab(47.87, 39.10, 4.23)
CIE-LCHlch(47.87, 39.33, 6.18°)
OKLaboklab(56.59% 0.1188 0.0114)
OKLCHoklch(56.59% 0.119 5.5)
XYZxyz(23.6357, 16.6960, 16.1623)
Luminance0.1669 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF556C #55AF98
analogous
#AF5599 #AF556C #AF6B55
triadic
#AF556C #6CAF55 #556CAF
tetradic
#AF556C #99AF55 #55AF98 #6B55AF
square
#AF556C #99AF55 #55AF98 #6B55AF
split-complementary
#AF556C #55AF6B #5599AF
monochromatic
#5E2C39 #874052 #AF556C #C37F90 #D6A8B4

Accessibility & contrast

On white

4.84
#AF556C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#AF556C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF556C
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF556C#FFFFFF#000000##FFFFFF
##AF556C1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#65676D
Deuteranopia (green-blind)
#7C786A
Tritanopia (blue-blind)
#BC4C5D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #af556c;
/* rgb */ color: rgb(175, 85, 108);
/* oklch */ color: oklch(56.6% 0.119 5.5);
Tailwind
colors: {
  custom: {
    50: '#ca8796',
    500: '#af556c',
    950: '#000000',
  },
}
SCSS
$custom: #af556c;
$custom-light: #ca8796;
$custom-dark: #000000;
JSON
{
  "hex": "#af556c",
  "rgb": {
    "r": 175,
    "g": 85,
    "b": 108
  },
  "hsl": {
    "h": 344.667,
    "s": 36,
    "l": 50.98
  },
  "oklch": {
    "l": 0.56591,
    "c": 0.11938,
    "h": 5.5
  },
  "luminance": 0.16694
}

Semantic roles & 50–950 ramp

primary
#AF556C
secondary
#9CC4BA
accent
#CCAF5C
background
#FCF8F9
surface
#F9F0F1
border
#D2CBCB
text
#140B0D
muted
#827C7E

Preview Lab

Preview with #AF556C

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

Preview Lab → · Contrast checker → · Palette generator →

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