#402234 ≈ Eggplant
#402234 is a color from the rose family, with very low lightness and muted saturation. In the RGB model it is made of 25.1% red, 13.33% green and 20.39% blue; printed in CMYK it uses 0% cyan, 46.88% magenta, 18.75% yellow and 74.9% black. Its hue angle is 324°, with 30.61% saturation and 19.22% 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 luxury branding. White text on this color reaches a contrast ratio of 14.03:1 (WCAG AAA). The closest named color is Eggplant (#614051), ΔE 9.86.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #333333 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0248 |
Shades
#402234 mixed progressively with black.
Tints
#402234 mixed progressively with white.
Tones
#402234 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-402234 {
color: #402234;
}
.bg-402234 {
background-color: #402234;
color: #ffffff;
}
.border-402234 {
border: 2px solid #402234;
}
:root {
--color-primary: #402234;
--color-primary-rgb: 64 34 52;
--color-primary-hsl: 324 31% 19%;
}
.gradient-402234 {
background: linear-gradient(135deg, #402234, #402225);
}
.shadow-402234 {
box-shadow: 0 8px 24px rgb(64 34 52 / 0.35);
}
Eggplant
#402234 rgb(64, 34, 52) hsl(324, 31%, 19%) Eggplant
#22402e rgb(34, 64, 46) hsl(144, 31%, 19%) Phthalo Green
#344022 rgb(52, 64, 34) hsl(84, 31%, 19%) Rifle Green
#223440 rgb(34, 52, 64) hsl(204, 31%, 19%) Gunmetal