#AF416C#AF416C

#AF416C is a mid, vivid pink. Relative luminance 0.140; OKLCH L 53.8% C 0.149 H 359.1°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#AF416C
RGBrgb(175, 65, 108)
HSLhsl(337, 46%, 47%)
HSVhsv(337, 63%, 69%)
CMYKcmyk(0%, 62.9%, 38.3%, 31.4%)
CIE-LABlab(44.20, 48.78, -1.10)
CIE-LCHlch(44.20, 48.79, 358.71°)
OKLaboklab(53.84% 0.149 -0.0023)
OKLCHoklch(53.84% 0.149 359.1)
XYZxyz(22.2776, 13.9798, 15.7096)
Luminance0.1398 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF416C #41AF84
analogous
#AF41A3 #AF416C #AF4D41
triadic
#AF416C #6CAF41 #416CAF
tetradic
#AF416C #A3AF41 #41AF84 #4D41AF
square
#AF416C #A3AF41 #41AF84 #4D41AF
split-complementary
#AF416C #41AF4D #41A3AF
monochromatic
#562035 #823050 #AF416C #C6678C #D793AE

Accessibility & contrast

On white

5.53
#AF416C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#AF416C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF416C
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF416C#FFFFFF#000000##FFFFFF
##AF416C1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555B6D
Deuteranopia (green-blind)
#727069
Tritanopia (blue-blind)
#BD3752
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #af416c;
/* rgb */ color: rgb(175, 65, 108);
/* oklch */ color: oklch(53.8% 0.149 359.1);
Tailwind
colors: {
  custom: {
    50: '#cb7c96',
    500: '#af416c',
    950: '#000000',
  },
}
SCSS
$custom: #af416c;
$custom-light: #cb7c96;
$custom-dark: #000000;
JSON
{
  "hex": "#af416c",
  "rgb": {
    "r": 175,
    "g": 65,
    "b": 108
  },
  "hsl": {
    "h": 336.545,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.53843,
    "c": 0.14904,
    "h": 359.1
  },
  "luminance": 0.13977
}

Semantic roles & 50–950 ramp

primary
#AF416C
secondary
#89C2AC
accent
#D5A252
background
#FDF7F9
surface
#FAEEF1
border
#D3C9CB
text
#140A0D
muted
#837C7E

Preview Lab

Preview with #AF416C

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

Preview Lab → · Contrast checker → · Palette generator →

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