#AF3D78#AF3D78

#AF3D78 is a mid, vivid pink. Relative luminance 0.138; OKLCH L 53.8% C 0.160 H 351.8°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#AF3D78
RGBrgb(175, 61, 120)
HSLhsl(329, 48%, 46%)
HSVhsv(329, 65%, 69%)
CMYKcmyk(0%, 65.1%, 31.4%, 31.4%)
CIE-LABlab(43.96, 51.95, -8.84)
CIE-LCHlch(43.96, 52.70, 350.34°)
OKLaboklab(53.79% 0.1583 -0.0228)
OKLCHoklch(53.79% 0.16 351.8)
XYZxyz(22.7392, 13.8099, 19.2337)
Luminance0.1381 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3D78 #3DAF74
analogous
#AD3DAF #AF3D78 #AF3D3F
triadic
#AF3D78 #78AF3D #3D78AF
tetradic
#AF3D78 #AFAD3D #3DAF74 #3D3FAF
square
#AF3D78 #AFAD3D #3DAF74 #3D3FAF
split-complementary
#AF3D78 #3FAF3D #3DAFAD
monochromatic
#541D3A #822D59 #AF3D78 #C86196 #D88FB4

Accessibility & contrast

On white

5.58
#AF3D78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#AF3D78 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3D78
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3D78#FFFFFF#000000##FFFFFF
##AF3D781.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5B7A
Deuteranopia (green-blind)
#6E6F75
Tritanopia (blue-blind)
#BC3755
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #af3d78;
/* rgb */ color: rgb(175, 61, 120);
/* oklch */ color: oklch(53.8% 0.160 351.8);
Tailwind
colors: {
  custom: {
    50: '#cb7a9f',
    500: '#af3d78',
    950: '#000000',
  },
}
SCSS
$custom: #af3d78;
$custom-light: #cb7a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#af3d78",
  "rgb": {
    "r": 175,
    "g": 61,
    "b": 120
  },
  "hsl": {
    "h": 328.947,
    "s": 48.305,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53791,
    "c": 0.15992,
    "h": 351.8
  },
  "luminance": 0.13808
}

Semantic roles & 50–950 ramp

primary
#AF3D78
secondary
#85C3A3
accent
#D89250
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#140A0E
muted
#827C7E

Preview Lab

Preview with #AF3D78

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

Preview Lab → · Contrast checker → · Palette generator →

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