#CA08B2

#ca08b2 ≈ Medium Violet Red

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

#ca08b2 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 79.22% red, 3.14% green and 69.8% blue; printed in CMYK it uses 0% cyan, 96.04% magenta, 11.88% yellow and 20.78% black. Its hue angle is 307.42°, with 92.38% saturation and 41.18% 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.01:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 8.24.

Description generated from the measured properties of this color.

Conversions of #ca08b2 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.1594

Readable text 5.01:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.19:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6f6f6f ≈ 0.003% of males
Achromatomaly #9c588f ≈ 0.001% of males
Protanopia #045fb6 ≈ 1.01% of males
Deuteranopia #6078ae ≈ 1.27% of males
Tritanopia #d42868 ≈ 0.0001% of males
Protanomaly #864ab4 ≈ 1.08% of males
Deuteranomaly #965fb0 ≈ 4.63% of males
Tritanomaly #d01f8c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ca08b2 {
  color: #ca08b2;
}
Background
.bg-ca08b2 {
  background-color: #ca08b2;
  color: #ffffff;
}
Border
.border-ca08b2 {
  border: 2px solid #ca08b2;
}
CSS variables
:root {
  --color-primary: #ca08b2;
  --color-primary-rgb: 202 8 178;
  --color-primary-hsl: 307 92% 41%;
}
Gradient
.gradient-ca08b2 {
  background: linear-gradient(135deg, #ca08b2, #ca0851);
}
Colored shadow
.shadow-ca08b2 {
  box-shadow: 0 8px 24px rgb(202 8 178 / 0.35);
}

Medium Violet Red
#ca08b2  rgb(202, 8, 178)  hsl(307, 92%, 41%)  Medium Violet Red
#08ca20  rgb(8, 202, 32)  hsl(127, 92%, 41%)  Lime Green
#b2ca08  rgb(178, 202, 8)  hsl(67, 92%, 41%)  Yellow Green
#08b2ca  rgb(8, 178, 202)  hsl(187, 92%, 41%)  Moonstone Blue