#AF4499#AF4499

#AF4499 is a mid, vivid pink. Relative luminance 0.155; OKLCH L 56.0% C 0.171 H 336.5°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#AF4499
RGBrgb(175, 68, 153)
HSLhsl(312, 44%, 48%)
HSVhsv(312, 61%, 69%)
CMYKcmyk(0%, 61.1%, 12.6%, 31.4%)
CIE-LABlab(46.38, 53.59, -25.13)
CIE-LCHlch(46.38, 59.19, 334.88°)
OKLaboklab(56% 0.1567 -0.0681)
OKLCHoklch(56% 0.171 336.5)
XYZxyz(25.4964, 15.5502, 31.7895)
Luminance0.1555 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4499 #44AF5A
analogous
#8F44AF #AF4499 #AF4464
triadic
#AF4499 #99AF44 #4499AF
tetradic
#AF4499 #AF8F44 #44AF5A #4464AF
square
#AF4499 #AF8F44 #44AF5A #4464AF
split-complementary
#AF4499 #64AF44 #44AF8F
monochromatic
#57224C #833372 #AF4499 #C56BB3 #D797C9

Accessibility & contrast

On white

5.11
#AF4499 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#AF4499 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4499
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4499#FFFFFF#000000##FFFFFF
##AF44991.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af4499;
/* rgb */ color: rgb(175, 68, 153);
/* oklch */ color: oklch(56.0% 0.171 336.5);
Tailwind
colors: {
  custom: {
    50: '#ca7eb7',
    500: '#af4499',
    950: '#000000',
  },
}
SCSS
$custom: #af4499;
$custom-light: #ca7eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#af4499",
  "rgb": {
    "r": 175,
    "g": 68,
    "b": 153
  },
  "hsl": {
    "h": 312.336,
    "s": 44.033,
    "l": 47.647
  },
  "oklch": {
    "l": 0.56001,
    "c": 0.17088,
    "h": 336.5
  },
  "luminance": 0.15548
}

Semantic roles & 50–950 ramp

primary
#AF4499
secondary
#8CC298
accent
#D46E54
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140A11
muted
#827C80

Preview Lab

Preview with #AF4499

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

Preview Lab → · Contrast checker → · Palette generator →

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