#AF3C81#AF3C81

#AF3C81 is a mid, vivid pink. Relative luminance 0.139; OKLCH L 54.0% C 0.166 H 347.1°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#AF3C81
RGBrgb(175, 60, 129)
HSLhsl(324, 49%, 46%)
HSVhsv(324, 66%, 69%)
CMYKcmyk(0%, 65.7%, 26.3%, 31.4%)
CIE-LABlab(44.14, 53.53, -14.08)
CIE-LCHlch(44.14, 55.35, 345.26°)
OKLaboklab(54.03% 0.162 -0.0371)
OKLCHoklch(54.03% 0.166 347.1)
XYZxyz(23.2584, 13.9330, 22.2291)
Luminance0.1393 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3C81 #3CAF6A
analogous
#A33CAF #AF3C81 #AF3C47
triadic
#AF3C81 #81AF3C #3C81AF
tetradic
#AF3C81 #AFA33C #3CAF6A #3C47AF
square
#AF3C81 #AFA33C #3CAF6A #3C47AF
split-complementary
#AF3C81 #47AF3C #3CAFA3
monochromatic
#541D3E #812C5F #AF3C81 #C8609F #D88DBA

Accessibility & contrast

On white

5.55
#AF3C81 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#AF3C81 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3C81
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3C81#FFFFFF#000000##FFFFFF
##AF3C811.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5C83
Deuteranopia (green-blind)
#6B707E
Tritanopia (blue-blind)
#BB3959
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #af3c81;
/* rgb */ color: rgb(175, 60, 129);
/* oklch */ color: oklch(54.0% 0.166 347.1);
Tailwind
colors: {
  custom: {
    50: '#ca79a5',
    500: '#af3c81',
    950: '#000000',
  },
}
SCSS
$custom: #af3c81;
$custom-light: #ca79a5;
$custom-dark: #000000;
JSON
{
  "hex": "#af3c81",
  "rgb": {
    "r": 175,
    "g": 60,
    "b": 129
  },
  "hsl": {
    "h": 324,
    "s": 48.936,
    "l": 46.078
  },
  "oklch": {
    "l": 0.5403,
    "c": 0.16621,
    "h": 347.1
  },
  "luminance": 0.13931
}

Semantic roles & 50–950 ramp

primary
#AF3C81
secondary
#84C39D
accent
#D8864F
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A0F
muted
#827C7F

Preview Lab

Preview with #AF3C81

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

Preview Lab → · Contrast checker → · Palette generator →

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