#AF4699#AF4699

#AF4699 is a mid, vivid pink. Relative luminance 0.158; OKLCH L 56.2% C 0.168 H 336.6°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#AF4699
RGBrgb(175, 70, 153)
HSLhsl(313, 43%, 48%)
HSVhsv(313, 60%, 69%)
CMYKcmyk(0%, 60%, 12.6%, 31.4%)
CIE-LABlab(46.71, 52.70, -24.62)
CIE-LCHlch(46.71, 58.17, 334.96°)
OKLaboklab(56.24% 0.1541 -0.0667)
OKLCHoklch(56.24% 0.168 336.6)
XYZxyz(25.6194, 15.7962, 31.8305)
Luminance0.1579 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4699 #46AF5C
analogous
#9046AF #AF4699 #AF4665
triadic
#AF4699 #99AF46 #4699AF
tetradic
#AF4699 #AF9046 #46AF5C #4665AF
square
#AF4699 #AF9046 #46AF5C #4665AF
split-complementary
#AF4699 #65AF46 #46AF90
monochromatic
#58234D #833573 #AF4699 #C56DB2 #D699C9

Accessibility & contrast

On white

5.05
#AF4699 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#AF4699 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4699
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4699#FFFFFF#000000##FFFFFF
##AF46991.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48659C
Deuteranopia (green-blind)
#687596
Tritanopia (blue-blind)
#B84B69
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #af4699;
/* rgb */ color: rgb(175, 70, 153);
/* oklch */ color: oklch(56.2% 0.168 336.6);
Tailwind
colors: {
  custom: {
    50: '#ca7fb7',
    500: '#af4699',
    950: '#000000',
  },
}
SCSS
$custom: #af4699;
$custom-light: #ca7fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#af4699",
  "rgb": {
    "r": 175,
    "g": 70,
    "b": 153
  },
  "hsl": {
    "h": 312.571,
    "s": 42.857,
    "l": 48.039
  },
  "oklch": {
    "l": 0.56241,
    "c": 0.1679,
    "h": 336.6
  },
  "luminance": 0.15794
}

Semantic roles & 50–950 ramp

primary
#AF4699
secondary
#8EC299
accent
#D36F55
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140B11
muted
#827C80

Preview Lab

Preview with #AF4699

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

Preview Lab → · Contrast checker → · Palette generator →

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