#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 |
|---|---|
| RGB | rgb(175, 64, 154) |
| HSL | hsl(311, 46%, 47%) |
| HSV | hsv(311, 63%, 69%) |
| CMYK | cmyk(0%, 63.4%, 12%, 31.4%) |
| CIE-LAB | lab(45.79, 55.48, -26.64) |
| CIE-LCH | lch(45.79, 61.55, 334.35°) |
| OKLab | oklab(55.59% 0.162 -0.0724) |
| OKLCH | oklch(55.59% 0.177 335.9) |
| XYZ | xyz(25.3456, 15.1159, 32.1483) |
| Luminance | 0.1511 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Ugly Purple
#A442A0
ΔE00 2.97
Medium Purple
#9E43A2
ΔE00 4.40
Purpley Pink
#C83CB9
ΔE00 6.38
Purpleish
#98568D
ΔE00 6.57
Warm Purple
#952E8F
ΔE00 7.08
Purplish
#94568C
ΔE00 7.09
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 |
|---|---|---|---|---|
| ##AF409A | 1.00 | 5.22 | 4.02 | 5.22 |
| #FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.22 | 1.00 | 21.00 | 1.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