#DC0C23

#dc0c23 ≈ Cadmium Red

  • red
  • Lightness: medium
  • Saturation: vivid
  • Warm

#dc0c23 is a color from the red family, with medium lightness and vivid saturation. In the RGB model it is made of 86.27% red, 4.71% green and 13.73% blue; printed in CMYK it uses 0% cyan, 94.55% magenta, 84.09% yellow and 13.73% black. Its hue angle is 353.37°, with 89.66% saturation and 45.49% lightness in HSL. It is a warm color, often associated with energy, passion and urgency. 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.1:1 (WCAG AA). The closest named color is Cadmium Red (#e30022), ΔE 1.29.

Description generated from the measured properties of this color.

Conversions of #dc0c23 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.156

Readable text 5.1:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.12:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6e6e6e ≈ 0.003% of males
Achromatomaly #a65759 ≈ 0.001% of males
Protanopia #5d5320 ≈ 1.01% of males
Deuteranopia #8c7d16 ≈ 1.27% of males
Tritanopia #f3001b ≈ 0.0001% of males
Protanomaly #a04121 ≈ 1.08% of males
Deuteranomaly #b2631c ≈ 4.63% of males
Tritanomaly #ea001f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-dc0c23 {
  color: #dc0c23;
}
Background
.bg-dc0c23 {
  background-color: #dc0c23;
  color: #ffffff;
}
Border
.border-dc0c23 {
  border: 2px solid #dc0c23;
}
CSS variables
:root {
  --color-primary: #dc0c23;
  --color-primary-rgb: 220 12 35;
  --color-primary-hsl: 353 90% 45%;
}
Gradient
.gradient-dc0c23 {
  background: linear-gradient(135deg, #dc0c23, #dc5d0c);
}
Colored shadow
.shadow-dc0c23 {
  box-shadow: 0 8px 24px rgb(220 12 35 / 0.35);
}

Cadmium Red
#dc0c23  rgb(220, 12, 35)  hsl(353, 90%, 45%)  Cadmium Red
#0cdcc5  rgb(12, 220, 197)  hsl(173, 90%, 45%)  Turquoise
#23dc0c  rgb(35, 220, 12)  hsl(113, 90%, 45%)  Lime Green
#0c23dc  rgb(12, 35, 220)  hsl(233, 90%, 45%)  Blue