#D01238

#d01238 ≈ Cardinal

  • red
  • Lightness: medium
  • Saturation: strong
  • Warm

#d01238 is a color from the red family, with medium lightness and strong saturation. In the RGB model it is made of 81.57% red, 7.06% green and 21.96% blue; printed in CMYK it uses 0% cyan, 91.35% magenta, 73.08% yellow and 18.43% black. Its hue angle is 348°, with 84.07% saturation and 44.31% 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.49:1 (WCAG AA). The closest named color is Cardinal (#c41e3a), ΔE 2.26.

Description generated from the measured properties of this color.

Conversions of #d01238 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.1413

Readable text 5.49:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.83:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #696969 ≈ 0.003% of males
Achromatomaly #9d5359 ≈ 0.001% of males
Protanopia #575037 ≈ 1.01% of males
Deuteranopia #837631 ≈ 1.27% of males
Tritanopia #e50026 ≈ 0.0001% of males
Protanomaly #974038 ≈ 1.08% of males
Deuteranomaly #a85e34 ≈ 4.63% of males
Tritanomaly #dd002e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d01238 {
  color: #d01238;
}
Background
.bg-d01238 {
  background-color: #d01238;
  color: #ffffff;
}
Border
.border-d01238 {
  border: 2px solid #d01238;
}
CSS variables
:root {
  --color-primary: #d01238;
  --color-primary-rgb: 208 18 56;
  --color-primary-hsl: 348 84% 44%;
}
Gradient
.gradient-d01238 {
  background: linear-gradient(135deg, #d01238, #d04b12);
}
Colored shadow
.shadow-d01238 {
  box-shadow: 0 8px 24px rgb(208 18 56 / 0.35);
}

Cardinal
#d01238  rgb(208, 18, 56)  hsl(348, 84%, 44%)  Cardinal
#12d0aa  rgb(18, 208, 170)  hsl(168, 84%, 44%)  Caribbean Green
#38d012  rgb(56, 208, 18)  hsl(108, 84%, 44%)  Lime Green
#1238d0  rgb(18, 56, 208)  hsl(228, 84%, 44%)  Persian Blue