#5f021e ≈ Claret
#5f021e is a color from the rose family, with very low lightness and moderate saturation. In the RGB model it is made of 37.25% red, 0.78% green and 11.76% blue; printed in CMYK it uses 0% cyan, 97.89% magenta, 68.42% yellow and 62.75% black. Its hue angle is 341.94°, with 95.88% saturation and 19.02% lightness in HSL. It is a warm color, often associated with romance, playfulness and affection. Designers typically use it for food and restaurant brands, sales and promotions and luxury branding. White text on this color reaches a contrast ratio of 13.87:1 (WCAG AAA). The closest named color is Claret (#7f1734), ΔE 7.17.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #660033 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0257 |
Shades
#5f021e mixed progressively with black.
Tints
#5f021e mixed progressively with white.
Tones
#5f021e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5f021e {
color: #5f021e;
}
.bg-5f021e {
background-color: #5f021e;
color: #ffffff;
}
.border-5f021e {
border: 2px solid #5f021e;
}
:root {
--color-primary: #5f021e;
--color-primary-rgb: 95 2 30;
--color-primary-hsl: 342 96% 19%;
}
.gradient-5f021e {
background: linear-gradient(135deg, #5f021e, #5f1502);
}
.shadow-5f021e {
box-shadow: 0 8px 24px rgb(95 2 30 / 0.35);
}
Claret
#5f021e rgb(95, 2, 30) hsl(342, 96%, 19%) Claret
#025f43 rgb(2, 95, 67) hsl(162, 96%, 19%) Cadmium Green
#1e5f02 rgb(30, 95, 2) hsl(102, 96%, 19%) Lincoln Green
#021e5f rgb(2, 30, 95) hsl(222, 96%, 19%) Midnight Blue