#B31391

#b31391 ≈ Medium Violet Red

  • magenta
  • Lightness: low
  • Saturation: strong
  • Balanced

#b31391 is a color from the magenta family, with low lightness and strong saturation. In the RGB model it is made of 70.2% red, 7.45% green and 56.86% blue; printed in CMYK it uses 0% cyan, 89.39% magenta, 18.99% yellow and 29.8% black. Its hue angle is 312.75°, with 80.81% saturation and 38.82% 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 6.14:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 5.95.

Description generated from the measured properties of this color.

Conversions of #b31391 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.1209

Readable text 6.14:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.42:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #626262 ≈ 0.003% of males
Achromatomaly #8a4d77 ≈ 0.001% of males
Protanopia #245294 ≈ 1.01% of males
Deuteranopia #5c6a8e ≈ 1.27% of males
Tritanopia #be1d56 ≈ 0.0001% of males
Protanomaly #794193 ≈ 1.08% of males
Deuteranomaly #88548f ≈ 4.63% of males
Tritanomaly #ba1a72 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-b31391 {
  color: #b31391;
}
Background
.bg-b31391 {
  background-color: #b31391;
  color: #ffffff;
}
Border
.border-b31391 {
  border: 2px solid #b31391;
}
CSS variables
:root {
  --color-primary: #b31391;
  --color-primary-rgb: 179 19 145;
  --color-primary-hsl: 313 81% 39%;
}
Gradient
.gradient-b31391 {
  background: linear-gradient(135deg, #b31391, #b31341);
}
Colored shadow
.shadow-b31391 {
  box-shadow: 0 8px 24px rgb(179 19 145 / 0.35);
}

Medium Violet Red
#b31391  rgb(179, 19, 145)  hsl(313, 81%, 39%)  Medium Violet Red
#13b335  rgb(19, 179, 53)  hsl(133, 81%, 39%)  Kelly Green
#91b313  rgb(145, 179, 19)  hsl(73, 81%, 39%)  Apple Green
#1391b3  rgb(19, 145, 179)  hsl(193, 81%, 39%)  Bondi Blue