#AF3B78#AF3B78

#AF3B78 is a mid, vivid pink. Relative luminance 0.136; OKLCH L 53.6% C 0.163 H 351.5°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#AF3B78
RGBrgb(175, 59, 120)
HSLhsl(328, 50%, 46%)
HSVhsv(328, 66%, 69%)
CMYKcmyk(0%, 66.3%, 31.4%, 31.4%)
CIE-LABlab(43.65, 52.79, -9.30)
CIE-LCHlch(43.65, 53.60, 350.01°)
OKLaboklab(53.57% 0.1609 -0.024)
OKLCHoklch(53.57% 0.163 351.5)
XYZxyz(22.6345, 13.6004, 19.1988)
Luminance0.1360 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3B78 #3BAF72
analogous
#AC3BAF #AF3B78 #AF3B3E
triadic
#AF3B78 #78AF3B #3B78AF
tetradic
#AF3B78 #AFAC3B #3BAF72 #3B3EAF
square
#AF3B78 #AFAC3B #3BAF72 #3B3EAF
split-complementary
#AF3B78 #3EAF3B #3BAFAC
monochromatic
#531C39 #812C59 #AF3B78 #C95E96 #D88CB4

Accessibility & contrast

On white

5.65
#AF3B78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#AF3B78 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3B78
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3B78#FFFFFF#000000##FFFFFF
##AF3B781.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5A7A
Deuteranopia (green-blind)
#6D6F75
Tritanopia (blue-blind)
#BC3454
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #af3b78;
/* rgb */ color: rgb(175, 59, 120);
/* oklch */ color: oklch(53.6% 0.163 351.5);
Tailwind
colors: {
  custom: {
    50: '#cb799f',
    500: '#af3b78',
    950: '#000000',
  },
}
SCSS
$custom: #af3b78;
$custom-light: #cb799f;
$custom-dark: #000000;
JSON
{
  "hex": "#af3b78",
  "rgb": {
    "r": 175,
    "g": 59,
    "b": 120
  },
  "hsl": {
    "h": 328.448,
    "s": 49.573,
    "l": 45.882
  },
  "oklch": {
    "l": 0.53566,
    "c": 0.16267,
    "h": 351.5
  },
  "luminance": 0.13598
}

Semantic roles & 50–950 ramp

primary
#AF3B78
secondary
#83C3A1
accent
#D9904F
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#140A0E
muted
#827C7E

Preview Lab

Preview with #AF3B78

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

Preview Lab → · Contrast checker → · Palette generator →

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