#AF416E#AF416E

#AF416E is a mid, vivid pink. Relative luminance 0.140; OKLCH L 53.9% C 0.150 H 358.0°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#AF416E
RGBrgb(175, 65, 110)
HSLhsl(335, 46%, 47%)
HSVhsv(335, 63%, 69%)
CMYKcmyk(0%, 62.9%, 37.1%, 31.4%)
CIE-LABlab(44.27, 49.01, -2.24)
CIE-LCHlch(44.27, 49.06, 357.39°)
OKLaboklab(53.91% 0.1497 -0.0052)
OKLCHoklch(53.91% 0.15 358)
XYZxyz(22.3853, 14.0228, 16.2766)
Luminance0.1402 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF416E #41AF82
analogous
#AF41A5 #AF416E #AF4B41
triadic
#AF416E #6EAF41 #416EAF
tetradic
#AF416E #A5AF41 #41AF82 #4B41AF
square
#AF416E #A5AF41 #41AF82 #4B41AF
split-complementary
#AF416E #41AF4B #41A5AF
monochromatic
#562036 #823052 #AF416E #C6678E #D793AF

Accessibility & contrast

On white

5.52
#AF416E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF416E
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF416E#FFFFFF#000000##FFFFFF
##AF416E1.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545C6F
Deuteranopia (green-blind)
#72706B
Tritanopia (blue-blind)
#BD3753
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af416e;
/* rgb */ color: rgb(175, 65, 110);
/* oklch */ color: oklch(53.9% 0.150 358.0);
Tailwind
colors: {
  custom: {
    50: '#cb7c97',
    500: '#af416e',
    950: '#000000',
  },
}
SCSS
$custom: #af416e;
$custom-light: #cb7c97;
$custom-dark: #000000;
JSON
{
  "hex": "#af416e",
  "rgb": {
    "r": 175,
    "g": 65,
    "b": 110
  },
  "hsl": {
    "h": 335.455,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.53909,
    "c": 0.14979,
    "h": 358
  },
  "luminance": 0.1402
}

Semantic roles & 50–950 ramp

primary
#AF416E
secondary
#89C2AB
accent
#D5A052
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#140A0D
muted
#827C7E

Preview Lab

Preview with #AF416E

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

Preview Lab → · Contrast checker → · Palette generator →

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