#CC1F56

#cc1f56 ≈ Ruby

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

#cc1f56 is a color from the rose family, with medium lightness and strong saturation. In the RGB model it is made of 80% red, 12.16% green and 33.73% blue; printed in CMYK it uses 0% cyan, 84.8% magenta, 57.84% yellow and 20% black. Its hue angle is 340.92°, with 73.62% saturation and 46.08% 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.39:1 (WCAG AA). The closest named color is Ruby (#e0115f), ΔE 3.86.

Description generated from the measured properties of this color.

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

Readable text 5.39:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.9:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6a6a6a ≈ 0.003% of males
Achromatomaly #9b5663 ≈ 0.001% of males
Protanopia #535457 ≈ 1.01% of males
Deuteranopia #7f7652 ≈ 1.27% of males
Tritanopia #df0039 ≈ 0.0001% of males
Protanomaly #934556 ≈ 1.08% of males
Deuteranomaly #a45f53 ≈ 4.63% of males
Tritanomaly #d80046 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cc1f56 {
  color: #cc1f56;
}
Background
.bg-cc1f56 {
  background-color: #cc1f56;
  color: #ffffff;
}
Border
.border-cc1f56 {
  border: 2px solid #cc1f56;
}
CSS variables
:root {
  --color-primary: #cc1f56;
  --color-primary-rgb: 204 31 86;
  --color-primary-hsl: 341 74% 46%;
}
Gradient
.gradient-cc1f56 {
  background: linear-gradient(135deg, #cc1f56, #cc3e1f);
}
Colored shadow
.shadow-cc1f56 {
  box-shadow: 0 8px 24px rgb(204 31 86 / 0.35);
}

Ruby
#cc1f56  rgb(204, 31, 86)  hsl(341, 74%, 46%)  Ruby
#1fcc95  rgb(31, 204, 149)  hsl(161, 74%, 46%)  Caribbean Green
#56cc1f  rgb(86, 204, 31)  hsl(101, 74%, 46%)  Lime Green
#1f56cc  rgb(31, 86, 204)  hsl(221, 74%, 46%)  Sapphire