#C4124E

#c4124e ≈ Ruby

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

#c4124e is a color from the rose family, with medium lightness and strong saturation. In the RGB model it is made of 76.86% red, 7.06% green and 30.59% blue; printed in CMYK it uses 0% cyan, 90.82% magenta, 60.2% yellow and 23.14% black. Its hue angle is 339.78°, with 83.18% saturation and 41.96% 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.93:1 (WCAG AA). The closest named color is Ruby (#e0115f), ΔE 6.16.

Description generated from the measured properties of this color.

Conversions of #c4124e 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.1272

Readable text 5.93:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.54:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #646464 ≈ 0.003% of males
Achromatomaly #944f5c ≈ 0.001% of males
Protanopia #4d4e4f ≈ 1.01% of males
Deuteranopia #79704a ≈ 1.27% of males
Tritanopia #d70030 ≈ 0.0001% of males
Protanomaly #8d3e4e ≈ 1.08% of males
Deuteranomaly #9d594b ≈ 4.63% of males
Tritanomaly #d0003e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-c4124e {
  color: #c4124e;
}
Background
.bg-c4124e {
  background-color: #c4124e;
  color: #ffffff;
}
Border
.border-c4124e {
  border: 2px solid #c4124e;
}
CSS variables
:root {
  --color-primary: #c4124e;
  --color-primary-rgb: 196 18 78;
  --color-primary-hsl: 340 83% 42%;
}
Gradient
.gradient-c4124e {
  background: linear-gradient(135deg, #c4124e, #c42f12);
}
Colored shadow
.shadow-c4124e {
  box-shadow: 0 8px 24px rgb(196 18 78 / 0.35);
}

Ruby
#c4124e  rgb(196, 18, 78)  hsl(340, 83%, 42%)  Ruby
#12c488  rgb(18, 196, 136)  hsl(160, 83%, 42%)  Caribbean Green
#4ec412  rgb(78, 196, 18)  hsl(100, 83%, 42%)  Kelly Green
#124ec4  rgb(18, 78, 196)  hsl(220, 83%, 42%)  Sapphire