#ab387e ≈ Medium Violet Red
#ab387e is a color from the rose family, with medium lightness and moderate saturation. In the RGB model it is made of 67.06% red, 21.96% green and 49.41% blue; printed in CMYK it uses 0% cyan, 67.25% magenta, 26.32% yellow and 32.94% black. Its hue angle is 323.48°, with 50.66% saturation and 44.51% 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.84:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 4.97.
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.1299 |
Shades
#ab387e mixed progressively with black.
Tints
#ab387e mixed progressively with white.
Tones
#ab387e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ab387e {
color: #ab387e;
}
.bg-ab387e {
background-color: #ab387e;
color: #ffffff;
}
.border-ab387e {
border: 2px solid #ab387e;
}
:root {
--color-primary: #ab387e;
--color-primary-rgb: 171 56 126;
--color-primary-hsl: 323 51% 45%;
}
.gradient-ab387e {
background: linear-gradient(135deg, #ab387e, #ab3844);
}
.shadow-ab387e {
box-shadow: 0 8px 24px rgb(171 56 126 / 0.35);
}
Medium Violet Red
#ab387e rgb(171, 56, 126) hsl(323, 51%, 45%) Medium Violet Red
#38ab65 rgb(56, 171, 101) hsl(143, 51%, 45%) Medium Sea Green
#7eab38 rgb(126, 171, 56) hsl(83, 51%, 45%) Apple Green
#387eab rgb(56, 126, 171) hsl(203, 51%, 45%) Steel Blue