#AF567A#AF567A

#AF567A is a mid, vivid pink. Relative luminance 0.172; OKLCH L 57.2% C 0.123 H 356.1°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#AF567A
RGBrgb(175, 86, 122)
HSLhsl(336, 36%, 51%)
HSVhsv(336, 51%, 69%)
CMYKcmyk(0%, 50.9%, 30.3%, 31.4%)
CIE-LABlab(48.48, 40.36, -3.33)
CIE-LCHlch(48.48, 40.50, 355.29°)
OKLaboklab(57.18% 0.1223 -0.0082)
OKLCHoklch(57.18% 0.123 356.1)
XYZxyz(24.5208, 17.1769, 20.4326)
Luminance0.1718 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF567A #56AF8B
analogous
#AF56A6 #AF567A #AF5E56
triadic
#AF567A #7AAF56 #567AAF
tetradic
#AF567A #A6AF56 #56AF8B #5E56AF
square
#AF567A #A6AF56 #56AF8B #5E56AF
split-complementary
#AF567A #56AF5E #56A6AF
monochromatic
#5E2D41 #88405D #AF567A #C3809B #D6A9BB

Accessibility & contrast

On white

4.74
#AF567A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#AF567A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF567A
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF567A#FFFFFF#000000##FFFFFF
##AF567A1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#62697B
Deuteranopia (green-blind)
#7A7978
Tritanopia (blue-blind)
#BB5163
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #af567a;
/* rgb */ color: rgb(175, 86, 122);
/* oklch */ color: oklch(57.2% 0.123 356.1);
Tailwind
colors: {
  custom: {
    50: '#c988a0',
    500: '#af567a',
    950: '#000000',
  },
}
SCSS
$custom: #af567a;
$custom-light: #c988a0;
$custom-dark: #000000;
JSON
{
  "hex": "#af567a",
  "rgb": {
    "r": 175,
    "g": 86,
    "b": 122
  },
  "hsl": {
    "h": 335.73,
    "s": 35.743,
    "l": 51.176
  },
  "oklch": {
    "l": 0.57183,
    "c": 0.12261,
    "h": 356.1
  },
  "luminance": 0.17175
}

Semantic roles & 50–950 ramp

primary
#AF567A
secondary
#9DC4B4
accent
#CC9F5C
background
#FCF8F9
surface
#F9F0F2
border
#D2CBCC
text
#140C0E
muted
#827D7E

Preview Lab

Preview with #AF567A

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

Preview Lab → · Contrast checker → · Palette generator →

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