#af307c ≈ Medium Violet Red
#af307c 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 48.63% blue; printed in CMYK it uses 0% cyan, 72.57% magenta, 29.14% yellow and 31.37% black. Its hue angle is 324.09°, 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.94:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 4.16.
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.1268 |
Shades
#af307c mixed progressively with black.
Tints
#af307c mixed progressively with white.
Tones
#af307c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-af307c {
color: #af307c;
}
.bg-af307c {
background-color: #af307c;
color: #ffffff;
}
.border-af307c {
border: 2px solid #af307c;
}
:root {
--color-primary: #af307c;
--color-primary-rgb: 175 48 124;
--color-primary-hsl: 324 57% 44%;
}
.gradient-af307c {
background: linear-gradient(135deg, #af307c, #af303d);
}
.shadow-af307c {
box-shadow: 0 8px 24px rgb(175 48 124 / 0.35);
}
Medium Violet Red
#af307c rgb(175, 48, 124) hsl(324, 57%, 44%) Medium Violet Red
#30af63 rgb(48, 175, 99) hsl(144, 57%, 44%) Medium Sea Green
#7caf30 rgb(124, 175, 48) hsl(84, 57%, 44%) Apple Green
#307caf rgb(48, 124, 175) hsl(204, 57%, 44%) Steel Blue