#AF416F#AF416F

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

Color values

HEX#AF416F
RGBrgb(175, 65, 111)
HSLhsl(335, 46%, 47%)
HSVhsv(335, 63%, 69%)
CMYKcmyk(0%, 62.9%, 36.6%, 31.4%)
CIE-LABlab(44.30, 49.13, -2.81)
CIE-LCHlch(44.30, 49.21, 356.73°)
OKLaboklab(53.94% 0.15 -0.0067)
OKLCHoklch(53.94% 0.15 357.4)
XYZxyz(22.4400, 14.0447, 16.5650)
Luminance0.1404 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF416F #41AF81
analogous
#AF41A6 #AF416F #AF4A41
triadic
#AF416F #6FAF41 #416FAF
tetradic
#AF416F #A6AF41 #41AF81 #4A41AF
square
#AF416F #A6AF41 #41AF81 #4A41AF
split-complementary
#AF416F #41AF4A #41A6AF
monochromatic
#562036 #823053 #AF416F #C6678F #D793B0

Accessibility & contrast

On white

5.51
#AF416F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#AF416F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF416F
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF416F#FFFFFF#000000##FFFFFF
##AF416F1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545C70
Deuteranopia (green-blind)
#72706C
Tritanopia (blue-blind)
#BC3853
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af416f;
/* rgb */ color: rgb(175, 65, 111);
/* oklch */ color: oklch(53.9% 0.150 357.4);
Tailwind
colors: {
  custom: {
    50: '#cb7c98',
    500: '#af416f',
    950: '#000000',
  },
}
SCSS
$custom: #af416f;
$custom-light: #cb7c98;
$custom-dark: #000000;
JSON
{
  "hex": "#af416f",
  "rgb": {
    "r": 175,
    "g": 65,
    "b": 111
  },
  "hsl": {
    "h": 334.909,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.53943,
    "c": 0.15019,
    "h": 357.4
  },
  "luminance": 0.14042
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF416F

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

Preview Lab → · Contrast checker → · Palette generator →

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