#CD098F

#cd098f ≈ Medium Violet Red

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

#cd098f is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 80.39% red, 3.53% green and 56.08% blue; printed in CMYK it uses 0% cyan, 95.61% magenta, 30.24% yellow and 19.61% black. Its hue angle is 318.98°, with 91.59% saturation and 41.96% 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.21:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 1.95.

Description generated from the measured properties of this color.

Conversions of #cd098f 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.1516

Readable text 5.21:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.03:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6d6d6d ≈ 0.003% of males
Achromatomaly #9d567c ≈ 0.001% of males
Protanopia #385992 ≈ 1.01% of males
Deuteranopia #71778b ≈ 1.27% of males
Tritanopia #dc0054 ≈ 0.0001% of males
Protanomaly #8d4691 ≈ 1.08% of males
Deuteranomaly #9e5e8d ≈ 4.63% of males
Tritanomaly #d60070 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cd098f {
  color: #cd098f;
}
Background
.bg-cd098f {
  background-color: #cd098f;
  color: #ffffff;
}
Border
.border-cd098f {
  border: 2px solid #cd098f;
}
CSS variables
:root {
  --color-primary: #cd098f;
  --color-primary-rgb: 205 9 143;
  --color-primary-hsl: 319 92% 42%;
}
Gradient
.gradient-cd098f {
  background: linear-gradient(135deg, #cd098f, #cd092d);
}
Colored shadow
.shadow-cd098f {
  box-shadow: 0 8px 24px rgb(205 9 143 / 0.35);
}

Medium Violet Red
#cd098f  rgb(205, 9, 143)  hsl(319, 92%, 42%)  Medium Violet Red
#09cd47  rgb(9, 205, 71)  hsl(139, 92%, 42%)  Lime Green
#8fcd09  rgb(143, 205, 9)  hsl(79, 92%, 42%)  Yellow Green
#098fcd  rgb(9, 143, 205)  hsl(199, 92%, 42%)  Steel Blue