#af307f ≈ Medium Violet Red
#af307f is a color from the rose family, with medium lightness and moderate saturation. In the RGB model it is made of 68.63% red, 18.82% green and 49.8% blue; printed in CMYK it uses 0% cyan, 72.57% magenta, 27.43% yellow and 31.37% black. Its hue angle is 322.68°, with 56.95% saturation and 43.73% lightness in HSL. It sits between warm and cool, and is often associated with romance, playfulness and affection. Designers typically use it for food and restaurant brands, sales and promotions and brand accents. White text on this color reaches a contrast ratio of 5.91:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 4.11.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #993366 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1276 |
Shades
#af307f mixed progressively with black.
Tints
#af307f mixed progressively with white.
Tones
#af307f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-af307f {
color: #af307f;
}
.bg-af307f {
background-color: #af307f;
color: #ffffff;
}
.border-af307f {
border: 2px solid #af307f;
}
:root {
--color-primary: #af307f;
--color-primary-rgb: 175 48 127;
--color-primary-hsl: 323 57% 44%;
}
.gradient-af307f {
background: linear-gradient(135deg, #af307f, #af3040);
}
.shadow-af307f {
box-shadow: 0 8px 24px rgb(175 48 127 / 0.35);
}
Medium Violet Red
#af307f rgb(175, 48, 127) hsl(323, 57%, 44%) Medium Violet Red
#30af60 rgb(48, 175, 96) hsl(143, 57%, 44%) Medium Sea Green
#7faf30 rgb(127, 175, 48) hsl(83, 57%, 44%) Apple Green
#307faf rgb(48, 127, 175) hsl(203, 57%, 44%) Steel Blue