#CA0540

#ca0540 ≈ Cardinal

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

#ca0540 is a color from the rose family, with medium lightness and vivid saturation. In the RGB model it is made of 79.22% red, 1.96% green and 25.1% blue; printed in CMYK it uses 0% cyan, 97.52% magenta, 68.32% yellow and 20.78% black. Its hue angle is 342.03°, with 95.17% saturation and 40.59% 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.82:1 (WCAG AA). The closest named color is Cardinal (#c41e3a), ΔE 2.73.

Description generated from the measured properties of this color.

Conversions of #ca0540 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.1304

Readable text 5.82:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.61:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #656565 ≈ 0.003% of males
Achromatomaly #984f58 ≈ 0.001% of males
Protanopia #504d40 ≈ 1.01% of males
Deuteranopia #7d723a ≈ 1.27% of males
Tritanopia #de0026 ≈ 0.0001% of males
Protanomaly #913c40 ≈ 1.08% of males
Deuteranomaly #a25a3d ≈ 4.63% of males
Tritanomaly #d60032 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Cardinal
#ca0540  rgb(202, 5, 64)  hsl(342, 95%, 41%)  Cardinal
#05ca8f  rgb(5, 202, 143)  hsl(162, 95%, 41%)  Caribbean Green
#40ca05  rgb(64, 202, 5)  hsl(102, 95%, 41%)  Lime Green
#0540ca  rgb(5, 64, 202)  hsl(222, 95%, 41%)  Persian Blue