#AF3C99#AF3C99

#AF3C99 is a mid, vivid pink. Relative luminance 0.146; OKLCH L 55.1% C 0.182 H 336.2°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#AF3C99
RGBrgb(175, 60, 153)
HSLhsl(311, 49%, 46%)
HSVhsv(311, 66%, 69%)
CMYKcmyk(0%, 65.7%, 12.6%, 31.4%)
CIE-LABlab(45.15, 56.98, -27.04)
CIE-LCHlch(45.15, 63.07, 334.61°)
OKLaboklab(55.1% 0.1668 -0.0735)
OKLCHoklch(55.1% 0.182 336.2)
XYZxyz(25.0451, 14.6477, 31.6390)
Luminance0.1465 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3C99 #3CAF52
analogous
#8B3CAF #AF3C99 #AF3C5F
triadic
#AF3C99 #99AF3C #3C99AF
tetradic
#AF3C99 #AF8B3C #3CAF52 #3C5FAF
square
#AF3C99 #AF8B3C #3CAF52 #3C5FAF
split-complementary
#AF3C99 #5FAF3C #3CAF8B
monochromatic
#541D49 #812C71 #AF3C99 #C860B4 #D88DCA

Accessibility & contrast

On white

5.34
#AF3C99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#AF3C99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3C99
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3C99#FFFFFF#000000##FFFFFF
##AF3C991.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E609C
Deuteranopia (green-blind)
#637196
Tritanopia (blue-blind)
#B84365
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af3c99;
/* rgb */ color: rgb(175, 60, 153);
/* oklch */ color: oklch(55.1% 0.182 336.2);
Tailwind
colors: {
  custom: {
    50: '#ca7ab7',
    500: '#af3c99',
    950: '#000000',
  },
}
SCSS
$custom: #af3c99;
$custom-light: #ca7ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#af3c99",
  "rgb": {
    "r": 175,
    "g": 60,
    "b": 153
  },
  "hsl": {
    "h": 311.478,
    "s": 48.936,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55101,
    "c": 0.18223,
    "h": 336.2
  },
  "luminance": 0.14646
}

Semantic roles & 50–950 ramp

primary
#AF3C99
secondary
#84C390
accent
#D86A4F
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A11
muted
#827C80

Preview Lab

Preview with #AF3C99

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

Preview Lab → · Contrast checker → · Palette generator →

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