#CF048D

#cf048d ≈ Medium Violet Red

  • magenta
  • Lightness: medium
  • Saturation: vivid
  • Balanced

#cf048d is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 81.18% red, 1.57% green and 55.29% blue; printed in CMYK it uses 0% cyan, 98.07% magenta, 31.88% yellow and 18.82% black. Its hue angle is 319.51°, with 96.21% saturation and 41.37% lightness in HSL. It sits between warm and cool, and is often associated with creativity, boldness and individuality. Designers typically use it for beauty and cosmetics, creative studios and call-to-action buttons. White text on this color reaches a contrast ratio of 5.18:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 1.77.

Description generated from the measured properties of this color.

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

Readable text 5.18:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.06:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6d6d6d ≈ 0.003% of males
Achromatomaly #9e567b ≈ 0.001% of males
Protanopia #3a5990 ≈ 1.01% of males
Deuteranopia #727889 ≈ 1.27% of males
Tritanopia #df0052 ≈ 0.0001% of males
Protanomaly #8f458f ≈ 1.08% of males
Deuteranomaly #a05f8b ≈ 4.63% of males
Tritanomaly #d9006e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Violet Red
#cf048d  rgb(207, 4, 141)  hsl(320, 96%, 41%)  Medium Violet Red
#04cf46  rgb(4, 207, 70)  hsl(140, 96%, 41%)  Lime Green
#8dcf04  rgb(141, 207, 4)  hsl(80, 96%, 41%)  Yellow Green
#048dcf  rgb(4, 141, 207)  hsl(200, 96%, 41%)  Steel Blue