#AF3C79#AF3C79

#AF3C79 is a mid, vivid pink. Relative luminance 0.137; OKLCH L 53.7% C 0.162 H 351.1°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#AF3C79
RGBrgb(175, 60, 121)
HSLhsl(328, 49%, 46%)
HSVhsv(328, 66%, 69%)
CMYKcmyk(0%, 65.7%, 30.9%, 31.4%)
CIE-LABlab(43.84, 52.50, -9.63)
CIE-LCHlch(43.84, 53.37, 349.60°)
OKLaboklab(53.72% 0.1599 -0.025)
OKLCHoklch(53.72% 0.162 351.1)
XYZxyz(22.7474, 13.7286, 19.5374)
Luminance0.1373 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3C79 #3CAF72
analogous
#AB3CAF #AF3C79 #AF3C3F
triadic
#AF3C79 #79AF3C #3C79AF
tetradic
#AF3C79 #AFAB3C #3CAF72 #3C3FAF
square
#AF3C79 #AFAB3C #3CAF72 #3C3FAF
split-complementary
#AF3C79 #3FAF3C #3CAFAB
monochromatic
#541D3A #812C59 #AF3C79 #C86097 #D88DB5

Accessibility & contrast

On white

5.61
#AF3C79 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#AF3C79 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3C79
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3C79#FFFFFF#000000##FFFFFF
##AF3C791.005.613.755.61
#FFFFFF5.611.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5B7B
Deuteranopia (green-blind)
#6D6F76
Tritanopia (blue-blind)
#BC3655
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #af3c79;
/* rgb */ color: rgb(175, 60, 121);
/* oklch */ color: oklch(53.7% 0.162 351.1);
Tailwind
colors: {
  custom: {
    50: '#cb799f',
    500: '#af3c79',
    950: '#000000',
  },
}
SCSS
$custom: #af3c79;
$custom-light: #cb799f;
$custom-dark: #000000;
JSON
{
  "hex": "#af3c79",
  "rgb": {
    "r": 175,
    "g": 60,
    "b": 121
  },
  "hsl": {
    "h": 328.174,
    "s": 48.936,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53716,
    "c": 0.16181,
    "h": 351.1
  },
  "luminance": 0.13726
}

Semantic roles & 50–950 ramp

primary
#AF3C79
secondary
#84C3A1
accent
#D8904F
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#140A0E
muted
#827C7E

Preview Lab

Preview with #AF3C79

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

Preview Lab → · Contrast checker → · Palette generator →

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