#CC0542

#cc0542 ≈ Cardinal

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

#cc0542 is a color from the rose family, with medium lightness and vivid saturation. In the RGB model it is made of 80% red, 1.96% green and 25.88% blue; printed in CMYK it uses 0% cyan, 97.55% magenta, 67.65% yellow and 20% black. Its hue angle is 341.61°, with 95.22% saturation and 40.98% 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.73:1 (WCAG AA). The closest named color is Cardinal (#c41e3a), ΔE 3.14.

Description generated from the measured properties of this color.

Conversions of #cc0542 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.1334

Readable text 5.73:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.67:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #666666 ≈ 0.003% of males
Achromatomaly #9a505a ≈ 0.001% of males
Protanopia #514e42 ≈ 1.01% of males
Deuteranopia #7f733c ≈ 1.27% of males
Tritanopia #e00027 ≈ 0.0001% of males
Protanomaly #933d42 ≈ 1.08% of males
Deuteranomaly #a35b3f ≈ 4.63% of males
Tritanomaly #d90034 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Cardinal
#cc0542  rgb(204, 5, 66)  hsl(342, 95%, 41%)  Cardinal
#05cc8f  rgb(5, 204, 143)  hsl(162, 95%, 41%)  Caribbean Green
#42cc05  rgb(66, 204, 5)  hsl(102, 95%, 41%)  Lime Green
#0542cc  rgb(5, 66, 204)  hsl(222, 95%, 41%)  Persian Blue