#AF3C84#AF3C84

#AF3C84 is a mid, vivid pink. Relative luminance 0.140; OKLCH L 54.2% C 0.168 H 345.6°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#AF3C84
RGBrgb(175, 60, 132)
HSLhsl(322, 49%, 46%)
HSVhsv(322, 66%, 69%)
CMYKcmyk(0%, 65.7%, 24.6%, 31.4%)
CIE-LABlab(44.25, 53.93, -15.73)
CIE-LCHlch(44.25, 56.18, 343.74°)
OKLaboklab(54.15% 0.1628 -0.0417)
OKLCHoklch(54.15% 0.168 345.6)
XYZxyz(23.4608, 14.0140, 23.2947)
Luminance0.1401 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3C84 #3CAF67
analogous
#A03CAF #AF3C84 #AF3C4A
triadic
#AF3C84 #84AF3C #3C84AF
tetradic
#AF3C84 #AFA03C #3CAF67 #3C4AAF
square
#AF3C84 #AFA03C #3CAF67 #3C4AAF
split-complementary
#AF3C84 #4AAF3C #3CAFA0
monochromatic
#541D3F #812C62 #AF3C84 #C860A1 #D88DBC

Accessibility & contrast

On white

5.52
#AF3C84 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#AF3C84 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3C84
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3C84#FFFFFF#000000##FFFFFF
##AF3C841.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485C86
Deuteranopia (green-blind)
#6A7081
Tritanopia (blue-blind)
#BA3A5A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af3c84;
/* rgb */ color: rgb(175, 60, 132);
/* oklch */ color: oklch(54.2% 0.168 345.6);
Tailwind
colors: {
  custom: {
    50: '#ca7aa8',
    500: '#af3c84',
    950: '#000000',
  },
}
SCSS
$custom: #af3c84;
$custom-light: #ca7aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#af3c84",
  "rgb": {
    "r": 175,
    "g": 60,
    "b": 132
  },
  "hsl": {
    "h": 322.435,
    "s": 48.936,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54154,
    "c": 0.16801,
    "h": 345.6
  },
  "luminance": 0.14012
}

Semantic roles & 50–950 ramp

primary
#AF3C84
secondary
#84C39B
accent
#D8834F
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A0F
muted
#827C7F

Preview Lab

Preview with #AF3C84

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

Preview Lab → · Contrast checker → · Palette generator →

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