#af1998 ≈ Medium Violet Red
#af1998 is a color from the magenta family, with low lightness and strong saturation. In the RGB model it is made of 68.63% red, 9.8% green and 59.61% blue; printed in CMYK it uses 0% cyan, 85.71% magenta, 13.14% yellow and 31.37% black. Its hue angle is 309.2°, with 75% saturation and 39.22% 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 brand accents. White text on this color reaches a contrast ratio of 6.15:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 7.46.
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.1208 |
Shades
#af1998 mixed progressively with black.
Tints
#af1998 mixed progressively with white.
Tones
#af1998 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-af1998 {
color: #af1998;
}
.bg-af1998 {
background-color: #af1998;
color: #ffffff;
}
.border-af1998 {
border: 2px solid #af1998;
}
:root {
--color-primary: #af1998;
--color-primary-rgb: 175 25 152;
--color-primary-hsl: 309 75% 39%;
}
.gradient-af1998 {
background: linear-gradient(135deg, #af1998, #af194d);
}
.shadow-af1998 {
box-shadow: 0 8px 24px rgb(175 25 152 / 0.35);
}
Medium Violet Red
#af1998 rgb(175, 25, 152) hsl(309, 75%, 39%) Medium Violet Red
#19af30 rgb(25, 175, 48) hsl(129, 75%, 39%) Kelly Green
#98af19 rgb(152, 175, 25) hsl(69, 75%, 39%) Apple Green
#1998af rgb(25, 152, 175) hsl(189, 75%, 39%) Bondi Blue