#CF0231

#cf0231 ≈ Cardinal

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

#cf0231 is a color from the red family, with medium lightness and vivid saturation. In the RGB model it is made of 81.18% red, 0.78% green and 19.22% blue; printed in CMYK it uses 0% cyan, 99.03% magenta, 76.33% yellow and 18.82% black. Its hue angle is 346.24°, with 98.09% saturation and 40.98% 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.67:1 (WCAG AA). The closest named color is Cardinal (#c41e3a), ΔE 2.83.

Description generated from the measured properties of this color.

Conversions of #cf0231 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.1353

Readable text 5.67:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.71:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #676767 ≈ 0.003% of males
Achromatomaly #9c5156 ≈ 0.001% of males
Protanopia #544d30 ≈ 1.01% of males
Deuteranopia #827529 ≈ 1.27% of males
Tritanopia #e4001e ≈ 0.0001% of males
Protanomaly #963c31 ≈ 1.08% of males
Deuteranomaly #a65c2d ≈ 4.63% of males
Tritanomaly #dc0027 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cf0231 {
  color: #cf0231;
}
Background
.bg-cf0231 {
  background-color: #cf0231;
  color: #ffffff;
}
Border
.border-cf0231 {
  border: 2px solid #cf0231;
}
CSS variables
:root {
  --color-primary: #cf0231;
  --color-primary-rgb: 207 2 49;
  --color-primary-hsl: 346 98% 41%;
}
Gradient
.gradient-cf0231 {
  background: linear-gradient(135deg, #cf0231, #cf3902);
}
Colored shadow
.shadow-cf0231 {
  box-shadow: 0 8px 24px rgb(207 2 49 / 0.35);
}

Cardinal
#cf0231  rgb(207, 2, 49)  hsl(346, 98%, 41%)  Cardinal
#02cfa0  rgb(2, 207, 160)  hsl(166, 98%, 41%)  Caribbean Green
#31cf02  rgb(49, 207, 2)  hsl(106, 98%, 41%)  Lime Green
#0231cf  rgb(2, 49, 207)  hsl(226, 98%, 41%)  Persian Blue