#CC0F4E

#cc0f4e ≈ Ruby

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

#cc0f4e is a color from the rose family, with medium lightness and strong saturation. In the RGB model it is made of 80% red, 5.88% green and 30.59% blue; printed in CMYK it uses 0% cyan, 92.65% magenta, 61.76% yellow and 20% black. Its hue angle is 340°, with 86.3% saturation and 42.94% 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.61:1 (WCAG AA). The closest named color is Ruby (#e0115f), ΔE 5.

Description generated from the measured properties of this color.

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

Readable text 5.61:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.75:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #686868 ≈ 0.003% of males
Achromatomaly #9a525e ≈ 0.001% of males
Protanopia #51504f ≈ 1.01% of males
Deuteranopia #7e7449 ≈ 1.27% of males
Tritanopia #e00030 ≈ 0.0001% of males
Protanomaly #933f4e ≈ 1.08% of males
Deuteranomaly #a35c4b ≈ 4.63% of males
Tritanomaly #d8003e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cc0f4e {
  color: #cc0f4e;
}
Background
.bg-cc0f4e {
  background-color: #cc0f4e;
  color: #ffffff;
}
Border
.border-cc0f4e {
  border: 2px solid #cc0f4e;
}
CSS variables
:root {
  --color-primary: #cc0f4e;
  --color-primary-rgb: 204 15 78;
  --color-primary-hsl: 340 86% 43%;
}
Gradient
.gradient-cc0f4e {
  background: linear-gradient(135deg, #cc0f4e, #cc2e0f);
}
Colored shadow
.shadow-cc0f4e {
  box-shadow: 0 8px 24px rgb(204 15 78 / 0.35);
}

Ruby
#cc0f4e  rgb(204, 15, 78)  hsl(340, 86%, 43%)  Ruby
#0fcc8d  rgb(15, 204, 141)  hsl(160, 86%, 43%)  Caribbean Green
#4ecc0f  rgb(78, 204, 15)  hsl(100, 86%, 43%)  Lime Green
#0f4ecc  rgb(15, 78, 204)  hsl(220, 86%, 43%)  Sapphire