#AF406B#AF406B

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

Color values

HEX#AF406B
RGBrgb(175, 64, 107)
HSLhsl(337, 46%, 47%)
HSVhsv(337, 63%, 69%)
CMYKcmyk(0%, 63.4%, 38.9%, 31.4%)
CIE-LABlab(44.01, 49.11, -0.77)
CIE-LCHlch(44.01, 49.12, 359.11°)
OKLaboklab(53.69% 0.1501 -0.0014)
OKLCHoklch(53.69% 0.15 359.5)
XYZxyz(22.1678, 13.8448, 15.4120)
Luminance0.1384 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF406B #40AF84
analogous
#AF40A3 #AF406B #AF4D40
triadic
#AF406B #6BAF40 #406BAF
tetradic
#AF406B #A3AF40 #40AF84 #4D40AF
square
#AF406B #A3AF40 #40AF84 #4D40AF
split-complementary
#AF406B #40AF4D #40A3AF
monochromatic
#551F34 #823050 #AF406B #C7658B #D792AD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF406B#FFFFFF#000000##FFFFFF
##AF406B1.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)
#545B6C
Deuteranopia (green-blind)
#727068
Tritanopia (blue-blind)
#BD3551
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #af406b;
/* rgb */ color: rgb(175, 64, 107);
/* oklch */ color: oklch(53.7% 0.150 359.5);
Tailwind
colors: {
  custom: {
    50: '#cb7b95',
    500: '#af406b',
    950: '#000000',
  },
}
SCSS
$custom: #af406b;
$custom-light: #cb7b95;
$custom-dark: #000000;
JSON
{
  "hex": "#af406b",
  "rgb": {
    "r": 175,
    "g": 64,
    "b": 107
  },
  "hsl": {
    "h": 336.757,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.53689,
    "c": 0.15008,
    "h": 359.5
  },
  "luminance": 0.13842
}

Semantic roles & 50–950 ramp

primary
#AF406B
secondary
#88C3AC
accent
#D6A352
background
#FDF7F9
surface
#FAEEF1
border
#D3C9CB
text
#140A0D
muted
#837C7E

Preview Lab

Preview with #AF406B

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

Preview Lab → · Contrast checker → · Palette generator →

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