#CD2A5A

#cd2a5a ≈ Ruby

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

#cd2a5a is a color from the rose family, with medium lightness and strong saturation. In the RGB model it is made of 80.39% red, 16.47% green and 35.29% blue; printed in CMYK it uses 0% cyan, 79.51% magenta, 56.1% yellow and 19.61% black. Its hue angle is 342.33°, with 65.99% saturation and 48.43% 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 brand accents. White text on this color reaches a contrast ratio of 5.15:1 (WCAG AA). The closest named color is Ruby (#e0115f), ΔE 3.24.

Description generated from the measured properties of this color.

Conversions of #cd2a5a 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.1537

Readable text 5.15:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.07:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6d6d6d ≈ 0.003% of males
Achromatomaly #9d5a66 ≈ 0.001% of males
Protanopia #57585b ≈ 1.01% of males
Deuteranopia #817956 ≈ 1.27% of males
Tritanopia #e0003f ≈ 0.0001% of males
Protanomaly #954a5a ≈ 1.08% of males
Deuteranomaly #a56358 ≈ 4.63% of males
Tritanomaly #d9084b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cd2a5a {
  color: #cd2a5a;
}
Background
.bg-cd2a5a {
  background-color: #cd2a5a;
  color: #ffffff;
}
Border
.border-cd2a5a {
  border: 2px solid #cd2a5a;
}
CSS variables
:root {
  --color-primary: #cd2a5a;
  --color-primary-rgb: 205 42 90;
  --color-primary-hsl: 342 66% 48%;
}
Gradient
.gradient-cd2a5a {
  background: linear-gradient(135deg, #cd2a5a, #cd4b2a);
}
Colored shadow
.shadow-cd2a5a {
  box-shadow: 0 8px 24px rgb(205 42 90 / 0.35);
}

Ruby
#cd2a5a  rgb(205, 42, 90)  hsl(342, 66%, 48%)  Ruby
#2acd9d  rgb(42, 205, 157)  hsl(162, 66%, 48%)  Caribbean Green
#5acd2a  rgb(90, 205, 42)  hsl(102, 66%, 48%)  Lime Green
#2a5acd  rgb(42, 90, 205)  hsl(222, 66%, 48%)  Sapphire