#AF3566#AF3566

#AF3566 is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.3% C 0.163 H 359.9°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#AF3566
RGBrgb(175, 53, 102)
HSLhsl(336, 54%, 45%)
HSVhsv(336, 70%, 69%)
CMYKcmyk(0%, 69.7%, 41.7%, 31.4%)
CIE-LABlab(42.19, 53.14, -0.33)
CIE-LCHlch(42.19, 53.14, 359.64°)
OKLaboklab(52.29% 0.1628 -0.0002)
OKLCHoklch(52.29% 0.163 359.9)
XYZxyz(21.3521, 12.6221, 13.8797)
Luminance0.1262 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3566 #35AF7E
analogous
#AF35A3 #AF3566 #AF4135
triadic
#AF3566 #66AF35 #3566AF
tetradic
#AF3566 #A3AF35 #35AF7E #4135AF
square
#AF3566 #A3AF35 #35AF7E #4135AF
split-complementary
#AF3566 #35AF41 #35A3AF
monochromatic
#51192F #80274B #AF3566 #CC5685 #DA85A7

Accessibility & contrast

On white

5.96
#AF3566 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#AF3566 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3566
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3566#FFFFFF#000000##FFFFFF
##AF35661.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5567
Deuteranopia (green-blind)
#6F6C63
Tritanopia (blue-blind)
#BD2649
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #af3566;
/* rgb */ color: rgb(175, 53, 102);
/* oklch */ color: oklch(52.3% 0.163 359.9);
Tailwind
colors: {
  custom: {
    50: '#cc7591',
    500: '#af3566',
    950: '#000000',
  },
}
SCSS
$custom: #af3566;
$custom-light: #cc7591;
$custom-dark: #000000;
JSON
{
  "hex": "#af3566",
  "rgb": {
    "r": 175,
    "g": 53,
    "b": 102
  },
  "hsl": {
    "h": 335.902,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.5229,
    "c": 0.1628,
    "h": 359.9
  },
  "luminance": 0.12619
}

Semantic roles & 50–950 ramp

primary
#AF3566
secondary
#7CC4A7
accent
#DDA24B
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14090C
muted
#837B7D

Preview Lab

Preview with #AF3566

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

Preview Lab → · Contrast checker → · Palette generator →

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