#AF4399#AF4399

#AF4399 is a mid, vivid pink. Relative luminance 0.154; OKLCH L 55.9% C 0.172 H 336.5°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#AF4399
RGBrgb(175, 67, 153)
HSLhsl(312, 45%, 47%)
HSVhsv(312, 62%, 69%)
CMYKcmyk(0%, 61.7%, 12.6%, 31.4%)
CIE-LABlab(46.22, 54.03, -25.38)
CIE-LCHlch(46.22, 59.70, 334.84°)
OKLaboklab(55.88% 0.158 -0.0688)
OKLCHoklch(55.88% 0.172 336.5)
XYZxyz(25.4364, 15.4302, 31.7695)
Luminance0.1543 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4399 #43AF59
analogous
#8F43AF #AF4399 #AF4363
triadic
#AF4399 #99AF43 #4399AF
tetradic
#AF4399 #AF8F43 #43AF59 #4363AF
square
#AF4399 #AF8F43 #43AF59 #4363AF
split-complementary
#AF4399 #63AF43 #43AF8F
monochromatic
#56214C #833272 #AF4399 #C669B3 #D796C9

Accessibility & contrast

On white

5.14
#AF4399 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#AF4399 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4399
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4399#FFFFFF#000000##FFFFFF
##AF43991.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45639C
Deuteranopia (green-blind)
#667396
Tritanopia (blue-blind)
#B84868
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af4399;
/* rgb */ color: rgb(175, 67, 153);
/* oklch */ color: oklch(55.9% 0.172 336.5);
Tailwind
colors: {
  custom: {
    50: '#ca7eb7',
    500: '#af4399',
    950: '#000000',
  },
}
SCSS
$custom: #af4399;
$custom-light: #ca7eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#af4399",
  "rgb": {
    "r": 175,
    "g": 67,
    "b": 153
  },
  "hsl": {
    "h": 312.222,
    "s": 44.628,
    "l": 47.451
  },
  "oklch": {
    "l": 0.55883,
    "c": 0.17235,
    "h": 336.5
  },
  "luminance": 0.15428
}

Semantic roles & 50–950 ramp

primary
#AF4399
secondary
#8BC297
accent
#D46E53
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140A11
muted
#827C80

Preview Lab

Preview with #AF4399

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

Preview Lab → · Contrast checker → · Palette generator →

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