#D12E5F

#d12e5f ≈ Ruby

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

#d12e5f is a color from the rose family, with medium lightness and strong saturation. In the RGB model it is made of 81.96% red, 18.04% green and 37.25% blue; printed in CMYK it uses 0% cyan, 77.99% magenta, 54.55% yellow and 18.04% black. Its hue angle is 341.96°, with 63.92% saturation and 50% 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 4.92:1 (WCAG AA). The closest named color is Ruby (#e0115f), ΔE 2.49.

Description generated from the measured properties of this color.

Conversions of #d12e5f 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.1634

Readable text 4.92:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.27:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #707070 ≈ 0.003% of males
Achromatomaly #a05d6a ≈ 0.001% of males
Protanopia #5a5c60 ≈ 1.01% of males
Deuteranopia #847c5b ≈ 1.27% of males
Tritanopia #e40043 ≈ 0.0001% of males
Protanomaly #994d60 ≈ 1.08% of males
Deuteranomaly #a8665d ≈ 4.63% of males
Tritanomaly #dd1350 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d12e5f {
  color: #d12e5f;
}
Background
.bg-d12e5f {
  background-color: #d12e5f;
  color: #ffffff;
}
Border
.border-d12e5f {
  border: 2px solid #d12e5f;
}
CSS variables
:root {
  --color-primary: #d12e5f;
  --color-primary-rgb: 209 46 95;
  --color-primary-hsl: 342 64% 50%;
}
Gradient
.gradient-d12e5f {
  background: linear-gradient(135deg, #d12e5f, #d14e2e);
}
Colored shadow
.shadow-d12e5f {
  box-shadow: 0 8px 24px rgb(209 46 95 / 0.35);
}

Ruby
#d12e5f  rgb(209, 46, 95)  hsl(342, 64%, 50%)  Ruby
#2ed1a0  rgb(46, 209, 160)  hsl(162, 64%, 50%)  Caribbean Green
#5fd12e  rgb(95, 209, 46)  hsl(102, 64%, 50%)  Lime Green
#2e5fd1  rgb(46, 95, 209)  hsl(222, 64%, 50%)  Denim