#AF4166#AF4166
#AF4166 is a mid, vivid pink. Relative luminance 0.139; OKLCH L 53.7% C 0.147 H 2.6°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).
Color values
| HEX | #AF4166 |
|---|---|
| RGB | rgb(175, 65, 102) |
| HSL | hsl(340, 46%, 47%) |
| HSV | hsv(340, 63%, 69%) |
| CMYK | cmyk(0%, 62.9%, 41.7%, 31.4%) |
| CIE-LAB | lab(44.03, 48.12, 2.34) |
| CIE-LCH | lch(44.03, 48.17, 2.79°) |
| OKLab | oklab(53.65% 0.1469 0.0066) |
| OKLCH | oklch(53.65% 0.147 2.6) |
| XYZ | xyz(21.9692, 13.8564, 14.0854) |
| Luminance | 0.1385 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.11
Dark Rose
#B5485D
ΔE00 5.05
Light Maroon
#A24857
ΔE00 5.63
Dark Pink
#CB416B
ΔE00 5.86
Deep Rose
#C74767
ΔE00 6.18
Deep Pink
#CB0162
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF4166 #41AF8A
analogous
#AF419D #AF4166 #AF5341
triadic
#AF4166 #66AF41 #4166AF
tetradic
#AF4166 #9DAF41 #41AF8A #5341AF
square
#AF4166 #9DAF41 #41AF8A #5341AF
split-complementary
#AF4166 #41AF53 #419DAF
monochromatic
#562032 #82304C #AF4166 #C66787 #D793AA
Accessibility & contrast
On white
5.57
#AF4166 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.77
#AF4166 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF4166
5.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF4166 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF4166 | 1.00 | 5.57 | 3.77 | 5.57 |
| #FFFFFF | 5.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#565B67
Deuteranopia (green-blind)
#737063
Tritanopia (blue-blind)
#BD354F
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #af4166; /* rgb */ color: rgb(175, 65, 102); /* oklch */ color: oklch(53.7% 0.147 2.6);
Tailwind
colors: {
custom: {
50: '#cb7b91',
500: '#af4166',
950: '#000000',
},
}SCSS
$custom: #af4166; $custom-light: #cb7b91; $custom-dark: #000000;
JSON
{
"hex": "#af4166",
"rgb": {
"r": 175,
"g": 65,
"b": 102
},
"hsl": {
"h": 339.818,
"s": 45.833,
"l": 47.059
},
"oklch": {
"l": 0.53653,
"c": 0.14705,
"h": 2.6
},
"luminance": 0.13854
}Semantic roles & 50–950 ramp
primary
#AF4166
secondary
#89C2AF
accent
#D5A952
background
#FDF7F8
surface
#FAEEF0
border
#D3C9CB
text
#140A0C
muted
#837C7D