#ab417d ≈ Medium Violet Red
#ab417d is a color from the rose family, with medium lightness and moderate saturation. In the RGB model it is made of 67.06% red, 25.49% green and 49.02% blue; printed in CMYK it uses 0% cyan, 61.99% magenta, 26.9% yellow and 32.94% black. Its hue angle is 326.04°, with 44.92% saturation and 46.27% 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.55:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 5.77.
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.1392 |
Shades
#ab417d mixed progressively with black.
Tints
#ab417d mixed progressively with white.
Tones
#ab417d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ab417d {
color: #ab417d;
}
.bg-ab417d {
background-color: #ab417d;
color: #ffffff;
}
.border-ab417d {
border: 2px solid #ab417d;
}
:root {
--color-primary: #ab417d;
--color-primary-rgb: 171 65 125;
--color-primary-hsl: 326 45% 46%;
}
.gradient-ab417d {
background: linear-gradient(135deg, #ab417d, #ab4148);
}
.shadow-ab417d {
box-shadow: 0 8px 24px rgb(171 65 125 / 0.35);
}
Medium Violet Red
#ab417d rgb(171, 65, 125) hsl(326, 45%, 46%) Medium Violet Red
#41ab6f rgb(65, 171, 111) hsl(146, 45%, 46%) Medium Sea Green
#7dab41 rgb(125, 171, 65) hsl(86, 45%, 46%) Apple Green
#417dab rgb(65, 125, 171) hsl(206, 45%, 46%) Steel Blue