#CD1840

#cd1840 ≈ Cardinal

  • red
  • Lightness: medium
  • Saturation: strong
  • Warm

#cd1840 is a color from the red family, with medium lightness and strong saturation. In the RGB model it is made of 80.39% red, 9.41% green and 25.1% blue; printed in CMYK it uses 0% cyan, 88.29% magenta, 68.78% yellow and 19.61% black. Its hue angle is 346.74°, with 79.04% saturation and 44.9% lightness in HSL. It is a warm color, often associated with energy, passion and urgency. 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.53:1 (WCAG AA). The closest named color is Cardinal (#c41e3a), ΔE 2.12.

Description generated from the measured properties of this color.

Conversions of #cd1840 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#cc0033
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.14

Readable text 5.53:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.8:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #696969 ≈ 0.003% of males
Achromatomaly #9b545b ≈ 0.001% of males
Protanopia #565140 ≈ 1.01% of males
Deuteranopia #81763a ≈ 1.27% of males
Tritanopia #e1002c ≈ 0.0001% of males
Protanomaly #954140 ≈ 1.08% of males
Deuteranomaly #a55e3d ≈ 4.63% of males
Tritanomaly #da0035 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cd1840 {
  color: #cd1840;
}
Background
.bg-cd1840 {
  background-color: #cd1840;
  color: #ffffff;
}
Border
.border-cd1840 {
  border: 2px solid #cd1840;
}
CSS variables
:root {
  --color-primary: #cd1840;
  --color-primary-rgb: 205 24 64;
  --color-primary-hsl: 347 79% 45%;
}
Gradient
.gradient-cd1840 {
  background: linear-gradient(135deg, #cd1840, #cd4a18);
}
Colored shadow
.shadow-cd1840 {
  box-shadow: 0 8px 24px rgb(205 24 64 / 0.35);
}

Cardinal
#cd1840  rgb(205, 24, 64)  hsl(347, 79%, 45%)  Cardinal
#18cda5  rgb(24, 205, 165)  hsl(167, 79%, 45%)  Caribbean Green
#40cd18  rgb(64, 205, 24)  hsl(107, 79%, 45%)  Lime Green
#1840cd  rgb(24, 64, 205)  hsl(227, 79%, 45%)  Persian Blue