#AF3A78#AF3A78

#AF3A78 is a mid, vivid pink. Relative luminance 0.135; OKLCH L 53.5% C 0.164 H 351.4°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#AF3A78
RGBrgb(175, 58, 120)
HSLhsl(328, 50%, 46%)
HSVhsv(328, 67%, 69%)
CMYKcmyk(0%, 66.9%, 31.4%, 31.4%)
CIE-LABlab(43.51, 53.20, -9.52)
CIE-LCHlch(43.51, 54.04, 349.85°)
OKLaboklab(53.46% 0.1622 -0.0246)
OKLCHoklch(53.46% 0.164 351.4)
XYZxyz(22.5836, 13.4986, 19.1818)
Luminance0.1350 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3A78 #3AAF71
analogous
#AB3AAF #AF3A78 #AF3A3D
triadic
#AF3A78 #78AF3A #3A78AF
tetradic
#AF3A78 #AFAB3A #3AAF71 #3A3DAF
square
#AF3A78 #AFAB3A #3AAF71 #3A3DAF
split-complementary
#AF3A78 #3DAF3A #3AAFAB
monochromatic
#531C39 #812B58 #AF3A78 #C95D96 #D98BB4

Accessibility & contrast

On white

5.68
#AF3A78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#AF3A78 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3A78
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3A78#FFFFFF#000000##FFFFFF
##AF3A781.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C597A
Deuteranopia (green-blind)
#6C6E75
Tritanopia (blue-blind)
#BC3354
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #af3a78;
/* rgb */ color: rgb(175, 58, 120);
/* oklch */ color: oklch(53.5% 0.164 351.4);
Tailwind
colors: {
  custom: {
    50: '#cb789f',
    500: '#af3a78',
    950: '#000000',
  },
}
SCSS
$custom: #af3a78;
$custom-light: #cb789f;
$custom-dark: #000000;
JSON
{
  "hex": "#af3a78",
  "rgb": {
    "r": 175,
    "g": 58,
    "b": 120
  },
  "hsl": {
    "h": 328.205,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53456,
    "c": 0.16402,
    "h": 351.4
  },
  "luminance": 0.13496
}

Semantic roles & 50–950 ramp

primary
#AF3A78
secondary
#82C3A0
accent
#DA904E
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AF3A78

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

Preview Lab → · Contrast checker → · Palette generator →

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