#AF409C#AF409C

#AF409C is a mid, vivid pink. Relative luminance 0.152; OKLCH L 55.7% C 0.179 H 335.1°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#AF409C
RGBrgb(175, 64, 156)
HSLhsl(310, 46%, 47%)
HSVhsv(310, 63%, 69%)
CMYKcmyk(0%, 63.4%, 10.9%, 31.4%)
CIE-LABlab(45.88, 55.80, -27.69)
CIE-LCHlch(45.88, 62.29, 333.61°)
OKLaboklab(55.68% 0.1623 -0.0754)
OKLCHoklch(55.68% 0.179 335.1)
XYZxyz(25.5136, 15.1831, 33.0329)
Luminance0.1518 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF409C #40AF53
analogous
#8B40AF #AF409C #AF4065
triadic
#AF409C #9CAF40 #409CAF
tetradic
#AF409C #AF8B40 #40AF53 #4065AF
square
#AF409C #AF8B40 #40AF53 #4065AF
split-complementary
#AF409C #65AF40 #40AF8B
monochromatic
#551F4C #823074 #AF409C #C765B6 #D792CB

Accessibility & contrast

On white

5.20
#AF409C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#AF409C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF409C
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF409C#FFFFFF#000000##FFFFFF
##AF409C1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40629F
Deuteranopia (green-blind)
#637399
Tritanopia (blue-blind)
#B74768
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af409c;
/* rgb */ color: rgb(175, 64, 156);
/* oklch */ color: oklch(55.7% 0.179 335.1);
Tailwind
colors: {
  custom: {
    50: '#ca7cb9',
    500: '#af409c',
    950: '#000000',
  },
}
SCSS
$custom: #af409c;
$custom-light: #ca7cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#af409c",
  "rgb": {
    "r": 175,
    "g": 64,
    "b": 156
  },
  "hsl": {
    "h": 310.27,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.55683,
    "c": 0.17895,
    "h": 335.1
  },
  "luminance": 0.15181
}

Semantic roles & 50–950 ramp

primary
#AF409C
secondary
#88C392
accent
#D66852
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A11
muted
#827C80

Preview Lab

Preview with #AF409C

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

Preview Lab → · Contrast checker → · Palette generator →

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