#AF416A#AF416A

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

Color values

HEX#AF416A
RGBrgb(175, 65, 106)
HSLhsl(338, 46%, 47%)
HSVhsv(338, 63%, 69%)
CMYKcmyk(0%, 62.9%, 39.4%, 31.4%)
CIE-LABlab(44.14, 48.56, 0.05)
CIE-LCHlch(44.14, 48.56, 0.05°)
OKLaboklab(53.78% 0.1483 0.0007)
OKLCHoklch(53.78% 0.148 0.3)
XYZxyz(22.1724, 13.9377, 15.1555)
Luminance0.1394 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF416A #41AF86
analogous
#AF41A1 #AF416A #AF4F41
triadic
#AF416A #6AAF41 #416AAF
tetradic
#AF416A #A1AF41 #41AF86 #4F41AF
square
#AF416A #A1AF41 #41AF86 #4F41AF
split-complementary
#AF416A #41AF4F #41A1AF
monochromatic
#562034 #82304F #AF416A #C6678A #D793AD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF416A#FFFFFF#000000##FFFFFF
##AF416A1.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)
#555B6B
Deuteranopia (green-blind)
#737067
Tritanopia (blue-blind)
#BD3651
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #af416a;
/* rgb */ color: rgb(175, 65, 106);
/* oklch */ color: oklch(53.8% 0.148 0.3);
Tailwind
colors: {
  custom: {
    50: '#cb7c94',
    500: '#af416a',
    950: '#000000',
  },
}
SCSS
$custom: #af416a;
$custom-light: #cb7c94;
$custom-dark: #000000;
JSON
{
  "hex": "#af416a",
  "rgb": {
    "r": 175,
    "g": 65,
    "b": 106
  },
  "hsl": {
    "h": 337.636,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.53778,
    "c": 0.14833,
    "h": 0.3
  },
  "luminance": 0.13935
}

Semantic roles & 50–950 ramp

primary
#AF416A
secondary
#89C2AD
accent
#D5A552
background
#FDF7F9
surface
#FAEEF1
border
#D3C9CB
text
#140A0D
muted
#837C7E

Preview Lab

Preview with #AF416A

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

Preview Lab → · Contrast checker → · Palette generator →

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