#AF406E#AF406E

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

Color values

HEX#AF406E
RGBrgb(175, 64, 110)
HSLhsl(335, 46%, 47%)
HSVhsv(335, 63%, 69%)
CMYKcmyk(0%, 63.4%, 37.1%, 31.4%)
CIE-LABlab(44.10, 49.45, -2.48)
CIE-LCHlch(44.10, 49.52, 357.13°)
OKLaboklab(53.79% 0.1511 -0.0059)
OKLCHoklch(53.79% 0.151 357.8)
XYZxyz(22.3284, 13.9090, 16.2577)
Luminance0.1391 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF406E #40AF81
analogous
#AF40A6 #AF406E #AF4940
triadic
#AF406E #6EAF40 #406EAF
tetradic
#AF406E #A6AF40 #40AF81 #4940AF
square
#AF406E #A6AF40 #40AF81 #4940AF
split-complementary
#AF406E #40AF49 #40A6AF
monochromatic
#551F36 #823052 #AF406E #C7658E #D792AF

Accessibility & contrast

On white

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

On black

3.78
#AF406E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AF406E#FFFFFF#000000##FFFFFF
##AF406E1.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535B6F
Deuteranopia (green-blind)
#71706B
Tritanopia (blue-blind)
#BD3652
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #af406e;
/* rgb */ color: rgb(175, 64, 110);
/* oklch */ color: oklch(53.8% 0.151 357.8);
Tailwind
colors: {
  custom: {
    50: '#cb7b97',
    500: '#af406e',
    950: '#000000',
  },
}
SCSS
$custom: #af406e;
$custom-light: #cb7b97;
$custom-dark: #000000;
JSON
{
  "hex": "#af406e",
  "rgb": {
    "r": 175,
    "g": 64,
    "b": 110
  },
  "hsl": {
    "h": 335.135,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.53788,
    "c": 0.1512,
    "h": 357.8
  },
  "luminance": 0.13907
}

Semantic roles & 50–950 ramp

primary
#AF406E
secondary
#88C3AA
accent
#D69F52
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#140A0D
muted
#827C7E

Preview Lab

Preview with #AF406E

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

Preview Lab → · Contrast checker → · Palette generator →

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