#C51A4B

#c51a4b ≈ Cardinal

  • rose
  • Lightness: medium
  • Saturation: strong
  • Warm

#c51a4b is a color from the rose family, with medium lightness and strong saturation. In the RGB model it is made of 77.25% red, 10.2% green and 29.41% blue; printed in CMYK it uses 0% cyan, 86.8% magenta, 61.93% yellow and 22.75% black. Its hue angle is 342.81°, with 76.68% saturation and 43.73% 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 brand accents. White text on this color reaches a contrast ratio of 5.8:1 (WCAG AA). The closest named color is Cardinal (#c41e3a), ΔE 5.22.

Description generated from the measured properties of this color.

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

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 #95515c ≈ 0.001% of males
Protanopia #514f4c ≈ 1.01% of males
Deuteranopia #7b7146 ≈ 1.27% of males
Tritanopia #d80031 ≈ 0.0001% of males
Protanomaly #8e404b ≈ 1.08% of males
Deuteranomaly #9e5b48 ≈ 4.63% of males
Tritanomaly #d1003d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-c51a4b {
  color: #c51a4b;
}
Background
.bg-c51a4b {
  background-color: #c51a4b;
  color: #ffffff;
}
Border
.border-c51a4b {
  border: 2px solid #c51a4b;
}
CSS variables
:root {
  --color-primary: #c51a4b;
  --color-primary-rgb: 197 26 75;
  --color-primary-hsl: 343 77% 44%;
}
Gradient
.gradient-c51a4b {
  background: linear-gradient(135deg, #c51a4b, #c53f1a);
}
Colored shadow
.shadow-c51a4b {
  box-shadow: 0 8px 24px rgb(197 26 75 / 0.35);
}

Cardinal
#c51a4b  rgb(197, 26, 75)  hsl(343, 77%, 44%)  Cardinal
#1ac594  rgb(26, 197, 148)  hsl(163, 77%, 44%)  Caribbean Green
#4bc51a  rgb(75, 197, 26)  hsl(103, 77%, 44%)  Kelly Green
#1a4bc5  rgb(26, 75, 197)  hsl(223, 77%, 44%)  Sapphire