#AF4166#AF4166

#AF4166 is a mid, vivid pink. Relative luminance 0.139; OKLCH L 53.7% C 0.147 H 2.6°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#AF4166
RGBrgb(175, 65, 102)
HSLhsl(340, 46%, 47%)
HSVhsv(340, 63%, 69%)
CMYKcmyk(0%, 62.9%, 41.7%, 31.4%)
CIE-LABlab(44.03, 48.12, 2.34)
CIE-LCHlch(44.03, 48.17, 2.79°)
OKLaboklab(53.65% 0.1469 0.0066)
OKLCHoklch(53.65% 0.147 2.6)
XYZxyz(21.9692, 13.8564, 14.0854)
Luminance0.1385 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4166 #41AF8A
analogous
#AF419D #AF4166 #AF5341
triadic
#AF4166 #66AF41 #4166AF
tetradic
#AF4166 #9DAF41 #41AF8A #5341AF
square
#AF4166 #9DAF41 #41AF8A #5341AF
split-complementary
#AF4166 #41AF53 #419DAF
monochromatic
#562032 #82304C #AF4166 #C66787 #D793AA

Accessibility & contrast

On white

5.57
#AF4166 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#AF4166 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4166
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4166#FFFFFF#000000##FFFFFF
##AF41661.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#565B67
Deuteranopia (green-blind)
#737063
Tritanopia (blue-blind)
#BD354F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #af4166;
/* rgb */ color: rgb(175, 65, 102);
/* oklch */ color: oklch(53.7% 0.147 2.6);
Tailwind
colors: {
  custom: {
    50: '#cb7b91',
    500: '#af4166',
    950: '#000000',
  },
}
SCSS
$custom: #af4166;
$custom-light: #cb7b91;
$custom-dark: #000000;
JSON
{
  "hex": "#af4166",
  "rgb": {
    "r": 175,
    "g": 65,
    "b": 102
  },
  "hsl": {
    "h": 339.818,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.53653,
    "c": 0.14705,
    "h": 2.6
  },
  "luminance": 0.13854
}

Semantic roles & 50–950 ramp

primary
#AF4166
secondary
#89C2AF
accent
#D5A952
background
#FDF7F8
surface
#FAEEF0
border
#D3C9CB
text
#140A0C
muted
#837C7D

Preview Lab

Preview with #AF4166

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

Preview Lab → · Contrast checker → · Palette generator →

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