#CA0840

#ca0840 ≈ Cardinal

  • rose
  • Lightness: medium
  • Saturation: vivid
  • Warm

#ca0840 is a color from the rose family, with medium lightness and vivid saturation. In the RGB model it is made of 79.22% red, 3.14% green and 25.1% blue; printed in CMYK it uses 0% cyan, 96.04% magenta, 68.32% yellow and 20.78% black. Its hue angle is 342.68°, with 92.38% saturation and 41.18% 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 call-to-action buttons. White text on this color reaches a contrast ratio of 5.8:1 (WCAG AA). The closest named color is Cardinal (#c41e3a), ΔE 2.62.

Description generated from the measured properties of this color.

Conversions of #ca0840 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.131

Readable text 5.8:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.62:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #656565 ≈ 0.003% of males
Achromatomaly #985059 ≈ 0.001% of males
Protanopia #514d40 ≈ 1.01% of males
Deuteranopia #7e723a ≈ 1.27% of males
Tritanopia #de0027 ≈ 0.0001% of males
Protanomaly #923c40 ≈ 1.08% of males
Deuteranomaly #a25a3d ≈ 4.63% of males
Tritanomaly #d60033 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ca0840 {
  color: #ca0840;
}
Background
.bg-ca0840 {
  background-color: #ca0840;
  color: #ffffff;
}
Border
.border-ca0840 {
  border: 2px solid #ca0840;
}
CSS variables
:root {
  --color-primary: #ca0840;
  --color-primary-rgb: 202 8 64;
  --color-primary-hsl: 343 92% 41%;
}
Gradient
.gradient-ca0840 {
  background: linear-gradient(135deg, #ca0840, #ca3108);
}
Colored shadow
.shadow-ca0840 {
  box-shadow: 0 8px 24px rgb(202 8 64 / 0.35);
}

Cardinal
#ca0840  rgb(202, 8, 64)  hsl(343, 92%, 41%)  Cardinal
#08ca92  rgb(8, 202, 146)  hsl(163, 92%, 41%)  Caribbean Green
#40ca08  rgb(64, 202, 8)  hsl(103, 92%, 41%)  Lime Green
#0840ca  rgb(8, 64, 202)  hsl(223, 92%, 41%)  Persian Blue