#AF406E#AF406E
#AF406E is a mid, vivid pink. Relative luminance 0.139; OKLCH L 53.8% C 0.151 H 357.8°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).
Color values
| HEX | #AF406E |
|---|---|
| RGB | rgb(175, 64, 110) |
| HSL | hsl(335, 46%, 47%) |
| HSV | hsv(335, 63%, 69%) |
| CMYK | cmyk(0%, 63.4%, 37.1%, 31.4%) |
| CIE-LAB | lab(44.10, 49.45, -2.48) |
| CIE-LCH | lch(44.10, 49.52, 357.13°) |
| OKLab | oklab(53.79% 0.1511 -0.0059) |
| OKLCH | oklch(53.79% 0.151 357.8) |
| XYZ | xyz(22.3284, 13.9090, 16.2577) |
| Luminance | 0.1391 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 5.42
Magenta (survey)
#C20078
ΔE00 6.66
Deep Pink
#CB0162
ΔE00 6.67
Dark Pink
#CB416B
ΔE00 6.92
Dark Rose
#B5485D
ΔE00 7.38
Mediumvioletred
#C71585
ΔE00 7.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF406E #40AF81
analogous
#AF40A6 #AF406E #AF4940
triadic
#AF406E #6EAF40 #406EAF
tetradic
#AF406E #A6AF40 #40AF81 #4940AF
square
#AF406E #A6AF40 #40AF81 #4940AF
split-complementary
#AF406E #40AF49 #40A6AF
monochromatic
#551F36 #823052 #AF406E #C7658E #D792AF
Accessibility & contrast
On white
5.55
#AF406E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.78
#AF406E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF406E
5.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF406E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF406E | 1.00 | 5.55 | 3.78 | 5.55 |
| #FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#535B6F
Deuteranopia (green-blind)
#71706B
Tritanopia (blue-blind)
#BD3652
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #af406e; /* rgb */ color: rgb(175, 64, 110); /* oklch */ color: oklch(53.8% 0.151 357.8);
Tailwind
colors: {
custom: {
50: '#cb7b97',
500: '#af406e',
950: '#000000',
},
}SCSS
$custom: #af406e; $custom-light: #cb7b97; $custom-dark: #000000;
JSON
{
"hex": "#af406e",
"rgb": {
"r": 175,
"g": 64,
"b": 110
},
"hsl": {
"h": 335.135,
"s": 46.444,
"l": 46.863
},
"oklch": {
"l": 0.53788,
"c": 0.1512,
"h": 357.8
},
"luminance": 0.13907
}Semantic roles & 50–950 ramp
primary
#AF406E
secondary
#88C3AA
accent
#D69F52
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#140A0D
muted
#827C7E