#DF045F

#df045f ≈ Ruby

  • rose
  • Lightness: medium
  • Saturation: vivid
  • Warm

#df045f is a color from the rose family, with medium lightness and vivid saturation. In the RGB model it is made of 87.45% red, 1.57% green and 37.25% blue; printed in CMYK it uses 0% cyan, 98.21% magenta, 57.4% yellow and 12.55% black. Its hue angle is 335.07°, with 96.48% saturation and 44.51% 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 call-to-action buttons. White text on this color reaches a contrast ratio of 4.86:1 (WCAG AA). The closest named color is Ruby (#e0115f), ΔE 0.76.

Description generated from the measured properties of this color.

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

Readable text 4.86:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.32:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #717171 ≈ 0.003% of males
Achromatomaly #a9596a ≈ 0.001% of males
Protanopia #555860 ≈ 1.01% of males
Deuteranopia #887f5a ≈ 1.27% of males
Tritanopia #f40038 ≈ 0.0001% of males
Protanomaly #a04460 ≈ 1.08% of males
Deuteranomaly #b2645c ≈ 4.63% of males
Tritanomaly #ec004a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-df045f {
  color: #df045f;
}
Background
.bg-df045f {
  background-color: #df045f;
  color: #ffffff;
}
Border
.border-df045f {
  border: 2px solid #df045f;
}
CSS variables
:root {
  --color-primary: #df045f;
  --color-primary-rgb: 223 4 95;
  --color-primary-hsl: 335 96% 45%;
}
Gradient
.gradient-df045f {
  background: linear-gradient(135deg, #df045f, #df1704);
}
Colored shadow
.shadow-df045f {
  box-shadow: 0 8px 24px rgb(223 4 95 / 0.35);
}

Ruby
#df045f  rgb(223, 4, 95)  hsl(335, 96%, 45%)  Ruby
#04df84  rgb(4, 223, 132)  hsl(155, 96%, 45%)  Medium Spring Green
#5fdf04  rgb(95, 223, 4)  hsl(95, 96%, 45%)  Lime Green
#045fdf  rgb(4, 95, 223)  hsl(215, 96%, 45%)  Denim