#AF406F#AF406F
#AF406F is a mid, vivid pink. Relative luminance 0.139; OKLCH L 53.8% C 0.152 H 357.2°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).
Color values
| HEX | #AF406F |
|---|---|
| RGB | rgb(175, 64, 111) |
| HSL | hsl(335, 46%, 47%) |
| HSV | hsv(335, 63%, 69%) |
| CMYK | cmyk(0%, 63.4%, 36.6%, 31.4%) |
| CIE-LAB | lab(44.13, 49.57, -3.05) |
| CIE-LCH | lch(44.13, 49.66, 356.48°) |
| OKLab | oklab(53.82% 0.1514 -0.0074) |
| OKLCH | oklch(53.82% 0.152 357.2) |
| XYZ | xyz(22.3831, 13.9309, 16.5460) |
| Luminance | 0.1393 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 5.69
Magenta (survey)
#C20078
ΔE00 6.52
Deep Pink
#CB0162
ΔE00 6.79
Dark Pink
#CB416B
ΔE00 7.08
Mediumvioletred
#C71585
ΔE00 7.27
Dark Rose
#B5485D
ΔE00 7.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF406F #40AF80
analogous
#AF40A7 #AF406F #AF4940
triadic
#AF406F #6FAF40 #406FAF
tetradic
#AF406F #A7AF40 #40AF80 #4940AF
square
#AF406F #A7AF40 #40AF80 #4940AF
split-complementary
#AF406F #40AF49 #40A7AF
monochromatic
#551F36 #823053 #AF406F #C7658F #D792AF
Accessibility & contrast
On white
5.55
#AF406F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.79
#AF406F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF406F
5.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF406F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF406F | 1.00 | 5.55 | 3.79 | 5.55 |
| #FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#535B70
Deuteranopia (green-blind)
#71706C
Tritanopia (blue-blind)
#BD3753
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #af406f; /* rgb */ color: rgb(175, 64, 111); /* oklch */ color: oklch(53.8% 0.152 357.2);
Tailwind
colors: {
custom: {
50: '#cb7b98',
500: '#af406f',
950: '#000000',
},
}SCSS
$custom: #af406f; $custom-light: #cb7b98; $custom-dark: #000000;
JSON
{
"hex": "#af406f",
"rgb": {
"r": 175,
"g": 64,
"b": 111
},
"hsl": {
"h": 334.595,
"s": 46.444,
"l": 46.863
},
"oklch": {
"l": 0.53822,
"c": 0.1516,
"h": 357.2
},
"luminance": 0.13928
}Semantic roles & 50–950 ramp
primary
#AF406F
secondary
#88C3AA
accent
#D69E52
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#140A0D
muted
#827C7E