#AF409A#AF409A

#AF409A is a mid, vivid pink. Relative luminance 0.151; OKLCH L 55.6% C 0.177 H 335.9°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#AF409A
RGBrgb(175, 64, 154)
HSLhsl(311, 46%, 47%)
HSVhsv(311, 63%, 69%)
CMYKcmyk(0%, 63.4%, 12%, 31.4%)
CIE-LABlab(45.79, 55.48, -26.64)
CIE-LCHlch(45.79, 61.55, 334.35°)
OKLaboklab(55.59% 0.162 -0.0724)
OKLCHoklch(55.59% 0.177 335.9)
XYZxyz(25.3456, 15.1159, 32.1483)
Luminance0.1511 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF409A #40AF55
analogous
#8D40AF #AF409A #AF4063
triadic
#AF409A #9AAF40 #409AAF
tetradic
#AF409A #AF8D40 #40AF55 #4063AF
square
#AF409A #AF8D40 #40AF55 #4063AF
split-complementary
#AF409A #63AF40 #40AF8D
monochromatic
#551F4B #823073 #AF409A #C765B4 #D792CA

Accessibility & contrast

On white

5.22
#AF409A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#AF409A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF409A
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF409A#FFFFFF#000000##FFFFFF
##AF409A1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41629D
Deuteranopia (green-blind)
#647397
Tritanopia (blue-blind)
#B84667
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af409a;
/* rgb */ color: rgb(175, 64, 154);
/* oklch */ color: oklch(55.6% 0.177 335.9);
Tailwind
colors: {
  custom: {
    50: '#ca7cb8',
    500: '#af409a',
    950: '#000000',
  },
}
SCSS
$custom: #af409a;
$custom-light: #ca7cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#af409a",
  "rgb": {
    "r": 175,
    "g": 64,
    "b": 154
  },
  "hsl": {
    "h": 311.351,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.55586,
    "c": 0.17743,
    "h": 335.9
  },
  "luminance": 0.15114
}

Semantic roles & 50–950 ramp

primary
#AF409A
secondary
#88C393
accent
#D66B52
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A11
muted
#827C80

Preview Lab

Preview with #AF409A

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

Preview Lab → · Contrast checker → · Palette generator →

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