#840a2f ≈ Claret
#840a2f is a color from the rose family, with low lightness and moderate saturation. In the RGB model it is made of 51.76% red, 3.92% green and 18.43% blue; printed in CMYK it uses 0% cyan, 92.42% magenta, 64.39% yellow and 48.24% black. Its hue angle is 341.8°, with 85.92% saturation and 27.84% 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 10.17:1 (WCAG AAA). The closest named color is Claret (#7f1734), ΔE 2.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #990033 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0533 |
Shades
#840a2f mixed progressively with black.
Tints
#840a2f mixed progressively with white.
Tones
#840a2f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-840a2f {
color: #840a2f;
}
.bg-840a2f {
background-color: #840a2f;
color: #ffffff;
}
.border-840a2f {
border: 2px solid #840a2f;
}
:root {
--color-primary: #840a2f;
--color-primary-rgb: 132 10 47;
--color-primary-hsl: 342 86% 28%;
}
.gradient-840a2f {
background: linear-gradient(135deg, #840a2f, #84220a);
}
.shadow-840a2f {
box-shadow: 0 8px 24px rgb(132 10 47 / 0.35);
}
Claret
#840a2f rgb(132, 10, 47) hsl(342, 86%, 28%) Claret
#0a845f rgb(10, 132, 95) hsl(162, 86%, 28%) Sea Green
#2f840a rgb(47, 132, 10) hsl(102, 86%, 28%) India Green
#0a2f84 rgb(10, 47, 132) hsl(222, 86%, 28%) Smalt