#EC0202

#ec0202 ≈ Lust

  • red
  • Lightness: medium
  • Saturation: vivid
  • Warm

#ec0202 is a color from the red family, with medium lightness and vivid saturation. In the RGB model it is made of 92.55% red, 0.78% green and 0.78% blue; printed in CMYK it uses 0% cyan, 99.15% magenta, 99.15% yellow and 7.45% black. Its hue angle is 0°, with 98.32% saturation and 46.67% lightness in HSL. It is a warm color, often associated with energy, passion and urgency. Designers typically use it for food and restaurant brands, sales and promotions and call-to-action buttons. White text on this color reaches a contrast ratio of 4.59:1 (WCAG AA). The closest named color is Lust (#e62020), ΔE 3.47.

Description generated from the measured properties of this color.

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

Readable text 4.59:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.58:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #757575 ≈ 0.003% of males
Achromatomaly #b25c5c ≈ 0.001% of males
Protanopia #645800 ≈ 1.01% of males
Deuteranopia #978500 ≈ 1.27% of males
Tritanopia #ff000e ≈ 0.0001% of males
Protanomaly #ac4400 ≈ 1.08% of males
Deuteranomaly #bf6900 ≈ 4.63% of males
Tritanomaly #fb000a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ec0202 {
  color: #ec0202;
}
Background
.bg-ec0202 {
  background-color: #ec0202;
  color: #ffffff;
}
Border
.border-ec0202 {
  border: 2px solid #ec0202;
}
CSS variables
:root {
  --color-primary: #ec0202;
  --color-primary-rgb: 236 2 2;
  --color-primary-hsl: 0 98% 47%;
}
Gradient
.gradient-ec0202 {
  background: linear-gradient(135deg, #ec0202, #ec7702);
}
Colored shadow
.shadow-ec0202 {
  box-shadow: 0 8px 24px rgb(236 2 2 / 0.35);
}

Lust
#ec0202  rgb(236, 2, 2)  hsl(0, 98%, 47%)  Lust
#02ecec  rgb(2, 236, 236)  hsl(180, 98%, 47%)  Bright Turquoise
#02ec02  rgb(2, 236, 2)  hsl(120, 98%, 47%)  Lime
#0202ec  rgb(2, 2, 236)  hsl(240, 98%, 47%)  Blue