What is hex #D20002 color?
In professional design frameworks, this hue is considered a highly vibrant and energetic tone. It is perfect for drawing attention to critical elements like call-to-action buttons, highlights, or modern branding.
From a technical standpoint, this color is composed of 82% red, 0% green and 1% blue, resulting in rgb(210, 0, 2) and hsl(359, 100%, 41%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 100%, 99%, 18%).
In the HSV/HSB scale, #D20002 features a hue of 359°, 100% saturation, and 82% brightness.
Hex #D20002 Color Codes & Conversions
| Closest Named Color | Boston University Red (#CC0000) |
| Hex Code | #D20002 |
| Hex8 (RGBA Hex) | #D20002FF |
| RGB (CSS) | rgb(210, 0, 2) |
| RGBA (CSS) | rgba(210, 0, 2, 1) |
| HSL (CSS) | hsl(359, 100%, 41%) |
| HSLA (CSS) | hsla(359, 100%, 41%, 1) |
| HSV / HSB | (359°, 100%, 82%) |
| CMYK Values | (0%, 100%, 99%, 18%) |
| OKLCH (Modern CSS) | oklch(54.2% 0.222 29.1) |
| CIE-LAB (D65) | 43.82, 69.20, 57.37 |
| CIE XYZ | 26.59, 13.71, 1.30 |
| Decimal / Binary |
13762562
11010010 00000000 00000010 |
Closest Standards & Equivalents
| Closest Web Safe | #CC0000 [Boston University Red] |
| Inverse Color | #2DFFFD |
| Complementary Color | #00D2D0 |
| Closest Pantone® | Pantone 199 C |
| Closest RAL | RAL 3020 [Traffic red] |
#D20002 Grayscale Equivalents
| Average | #474747 |
| Lightness (Desaturation) | #696969 [Dim Grey] |
| Weighted (BT601) | #3F3F3F |
| Luma (BT709) | #2D2D2D |
WCAG 2.1 Color Contrast & Accessibility
Check how #D20002 complies with web accessibility standards (WCAG AA & AAA) for typography. Need to test against another custom color? Use our interactive contrast checker.
White Text on #D20002
Sample preview of readable typography on top of #D20002.
Black Text on #D20002
Sample preview of readable typography on top of #D20002.
HTML / CSS Live Previews & Snippets for #D20002
Preview #D20002 in real UI elements and copy ready-to-use CSS rules.
background-color: #D20002;
color: #D20002;
border: 2px solid #D20002;
:root {
--color-primary: #D20002;
--color-primary-rgb: 210, 0, 2;
--color-complementary: #00D2D0;
}
.btn-accent {
background-color: #D20002;
color: #ffffff;
}
Hex #D20002 Color Palettes
Complementary Palette
The complementary color of #D20002 is #00D2D0. Opposite on the color wheel, placing these two colors next to each other creates the strongest visual contrast.
Analogous Palette
The analogous color scheme of #D20002 pairs with #D2006B and #D26700, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #D20002 pairs with #006BD2 and #00D267, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #D20002 uses #0001D2 and #01D200, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #D20002 combines #01D200, #00D2D0 and #D000D2 around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #D20002 pairs with #6BD200, #00D2D0 and #6700D2 spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #D20002
Tints
Tints are created by mixing #D20002 with white, producing lighter variations.
Tones
Tones are created by mixing #D20002 with gray, softening saturation.
Shades
Shades result from mixing #D20002 with black, creating deeper variations.
Hex #D20002 in Programming & CSS Frameworks
Copy the exact syntax for #D20002 in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #D20002 |
| Tailwind CSS | bg-[#D20002] text-[#D20002] |
| Java (AWT) | new Color(210,0,2); |
| Python | Color("#D20002") |
| .NET (C#) | Color.FromArgb(255, 210,0,2); |
| Swift / iOS | UIColor(red: 0.82, green: 0, blue: 0.01, alpha: 1) |
| Kotlin / Android | Color.rgb(210, 0, 2) |