#AF4599#AF4599

#AF4599 is a mid, vivid pink. Relative luminance 0.157; OKLCH L 56.1% C 0.169 H 336.5°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#AF4599
RGBrgb(175, 69, 153)
HSLhsl(312, 43%, 48%)
HSVhsv(312, 61%, 69%)
CMYKcmyk(0%, 60.6%, 12.6%, 31.4%)
CIE-LABlab(46.54, 53.15, -24.88)
CIE-LCHlch(46.54, 58.68, 334.92°)
OKLaboklab(56.12% 0.1554 -0.0674)
OKLCHoklch(56.12% 0.169 336.5)
XYZxyz(25.5574, 15.6722, 31.8098)
Luminance0.1567 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4599 #45AF5B
analogous
#9045AF #AF4599 #AF4564
triadic
#AF4599 #99AF45 #4599AF
tetradic
#AF4599 #AF9045 #45AF5B #4564AF
square
#AF4599 #AF9045 #45AF5B #4564AF
split-complementary
#AF4599 #64AF45 #45AF90
monochromatic
#57224C #833473 #AF4599 #C56CB3 #D698C9

Accessibility & contrast

On white

5.08
#AF4599 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#AF4599 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4599
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4599#FFFFFF#000000##FFFFFF
##AF45991.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47649C
Deuteranopia (green-blind)
#677496
Tritanopia (blue-blind)
#B84A69
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #af4599;
/* rgb */ color: rgb(175, 69, 153);
/* oklch */ color: oklch(56.1% 0.169 336.5);
Tailwind
colors: {
  custom: {
    50: '#ca7fb7',
    500: '#af4599',
    950: '#000000',
  },
}
SCSS
$custom: #af4599;
$custom-light: #ca7fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#af4599",
  "rgb": {
    "r": 175,
    "g": 69,
    "b": 153
  },
  "hsl": {
    "h": 312.453,
    "s": 43.443,
    "l": 47.843
  },
  "oklch": {
    "l": 0.5612,
    "c": 0.1694,
    "h": 336.5
  },
  "luminance": 0.1567
}

Semantic roles & 50–950 ramp

primary
#AF4599
secondary
#8DC298
accent
#D36F55
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140A11
muted
#827C80

Preview Lab

Preview with #AF4599

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

Preview Lab → · Contrast checker → · Palette generator →

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