#BA2F4E

#ba2f4e ≈ Cardinal

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

#ba2f4e is a color from the red family, with medium lightness and strong saturation. In the RGB model it is made of 72.94% red, 18.43% green and 30.59% blue; printed in CMYK it uses 0% cyan, 74.73% magenta, 58.06% yellow and 27.06% black. Its hue angle is 346.62°, with 59.66% saturation and 45.69% 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 brand accents. White text on this color reaches a contrast ratio of 5.83:1 (WCAG AA). The closest named color is Cardinal (#c41e3a), ΔE 5.73.

Description generated from the measured properties of this color.

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

Readable text 5.83:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.6:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #656565 ≈ 0.003% of males
Achromatomaly #8f545d ≈ 0.001% of males
Protanopia #54534e ≈ 1.01% of males
Deuteranopia #786f4a ≈ 1.27% of males
Tritanopia #cc003c ≈ 0.0001% of males
Protanomaly #89474e ≈ 1.08% of males
Deuteranomaly #975c4c ≈ 4.63% of males
Tritanomaly #c51b44 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ba2f4e {
  color: #ba2f4e;
}
Background
.bg-ba2f4e {
  background-color: #ba2f4e;
  color: #ffffff;
}
Border
.border-ba2f4e {
  border: 2px solid #ba2f4e;
}
CSS variables
:root {
  --color-primary: #ba2f4e;
  --color-primary-rgb: 186 47 78;
  --color-primary-hsl: 347 60% 46%;
}
Gradient
.gradient-ba2f4e {
  background: linear-gradient(135deg, #ba2f4e, #ba562f);
}
Colored shadow
.shadow-ba2f4e {
  box-shadow: 0 8px 24px rgb(186 47 78 / 0.35);
}

Cardinal
#ba2f4e  rgb(186, 47, 78)  hsl(347, 60%, 46%)  Cardinal
#2fba9b  rgb(47, 186, 155)  hsl(167, 60%, 46%)  Mint
#4eba2f  rgb(78, 186, 47)  hsl(107, 60%, 46%)  Kelly Green
#2f4eba  rgb(47, 78, 186)  hsl(227, 60%, 46%)  Sapphire