#af00a2 ≈ Dark Magenta
#af00a2 is a color from the magenta family, with low lightness and strong saturation. In the RGB model it is made of 68.63% red, 0% green and 63.53% blue; printed in CMYK it uses 0% cyan, 100% magenta, 7.43% yellow and 31.37% black. Its hue angle is 304.46°, with 100% saturation and 34.31% lightness in HSL. It sits between warm and cool, and is often associated with creativity, boldness and individuality. Designers typically use it for beauty and cosmetics, creative studios and corporate identities. White text on this color reaches a contrast ratio of 6.28:1 (WCAG AA). The closest named color is Dark Magenta (#8b008b), ΔE 7.34.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #990099 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1172 |
Shades
#af00a2 mixed progressively with black.
Tints
#af00a2 mixed progressively with white.
Tones
#af00a2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-af00a2 {
color: #af00a2;
}
.bg-af00a2 {
background-color: #af00a2;
color: #ffffff;
}
.border-af00a2 {
border: 2px solid #af00a2;
}
:root {
--color-primary: #af00a2;
--color-primary-rgb: 175 0 162;
--color-primary-hsl: 304 100% 34%;
}
.gradient-af00a2 {
background: linear-gradient(135deg, #af00a2, #af004a);
}
.shadow-af00a2 {
box-shadow: 0 8px 24px rgb(175 0 162 / 0.35);
}
Dark Magenta
#af00a2 rgb(175, 0, 162) hsl(304, 100%, 34%) Dark Magenta
#00af0d rgb(0, 175, 13) hsl(124, 100%, 34%) Kelly Green
#a2af00 rgb(162, 175, 0) hsl(64, 100%, 34%) Apple Green
#00a2af rgb(0, 162, 175) hsl(184, 100%, 34%) Cadet Blue