Magenta2
magenta2 · #EE00EE
HEX
#EE00EE
RGB
rgb(238, 0, 238)
CMYK
cmyk(0%, 100%, 0%, 7%)
HSL
hsl(300, 100%, 47%)
LAB
lab(56.4, 93.2, -57.7)
What is Magenta2?
Magenta2 is the magenta2 reference in the X11 named colors. Its sRGB value is #EE00EE (rgb 238, 0, 238). It sits in the pink family. Historical X Window System color names — the numbered 1-4 lightness variants of the classic xorg-server rgb.txt palette. See disclaimer for accuracy and trademark notes.
Accessibility
WCAG 2.1 contrast checks for Magenta2 as a background.
Black text on this color
White text on this color
Shades, tints & tonal scale of Magenta2
An 11-step tonal scale derived from Magenta2 (#EE00EE). Click any swatch to copy its HEX. Use these as a starting point for design tokens, hover states, and disabled states in a design system.
50
#FEEBFE
#FEEBFE
100
#FCD6FC
#FCD6FC
200
#FAADFA
#FAADFA
300
#F780F7
#F780F7
400
#F240F2
#F240F2
500
#EE00EE
#EE00EE
600
#CA00CA
#CA00CA
700
#9B009B
#9B009B
800
#6B006B
#6B006B
900
#3C003C
#3C003C
950
#1D001D
#1D001D
Lighter tints (mixed with white)
15%
#F16CF1
30%
#F395F3
45%
#F6B3F6
60%
#F8CBF8
75%
#FBE1FB
Darker shades (mixed with black)
15%
#DD00DD
30%
#CB00CB
45%
#B600B6
60%
#9E009E
75%
#7F007F
Color harmonies for Magenta2
Classic color-theory harmonies derived from rotating the hue of Magenta2. Use these to build accent palettes, brand systems, and accessible UI color pairings.
Complementary
180° opposite — strongest contrast
#EE00EE
#EE00EE
#00F000
#00F000
Triadic
Three colors 120° apart
#EE00EE
#EE00EE
#F0F000
#F0F000
#00F0F0
#00F0F0
Analogous
Two neighbors ±30° on the wheel
#7800F0
#7800F0
#EE00EE
#EE00EE
#F00078
#F00078
Split-complementary
Base + two colors flanking its complement
#EE00EE
#EE00EE
#78F000
#78F000
#00F078
#00F078
Tetradic
Two complementary pairs
#EE00EE
#EE00EE
#F00000
#F00000
#00F000
#00F000
#00F0F0
#00F0F0
Square
Four colors evenly spaced 90° apart
#EE00EE
#EE00EE
#F07800
#F07800
#00F000
#00F000
#0078F0
#0078F0
Magenta2 in every color space
Full conversion of Magenta2 across the color spaces designers and developers actually use — including OKLCH (the perceptually-uniform space that powers Tailwind v4 and CSS Color Module Level 4) and HWB.
HEX
#EE00EE
RGB
rgb(238, 0, 238)
CMYK
cmyk(0%, 100%, 0%, 7%)
HSL
hsl(300, 100%, 47%)
HSV
hsv(300, 100%, 93%)
HWB
hwb(300 0% 7%)
CIE Lab
lab(56.4 93.2 -57.7)
OKLCH
oklch(66.6% 0.306 328.4)
XYZ (D65)
xyz(50.69, 24.35, 82.90)
Copy-ready code for Magenta2
Drop-in snippets for CSS, Tailwind, Sass, iOS Swift, and Android XML. Click the copy button on any snippet to put it on your clipboard.
CSS
color: #EE00EE;
background-color: #EE00EE;CSS variable
:root {
--color-magenta2: #EE00EE;
}Tailwind config
// tailwind.config.js
colors: {
'magenta2': '#EE00EE',
}Sass
$color-magenta2: #EE00EE;Swift UIColor
UIColor(red: 0.933, green: 0.000, blue: 0.933, alpha: 1.0)Android XML
<color name="magenta2">#EE00EE</color>Closest match in every color system
The nearest Magenta2 equivalent in every other color system on this site, ranked by ΔE2000 perceptual distance. Useful when translating between design-system, web-standard, and industrial color references.
Closest in X11 named colors
Top 6 ΔE2000-closest entries within the same collection.
Closest Pantone matches
Top 6 ΔE2000-closest Pantone references. Cross-system matching is approximate — see disclaimer.
Closest RAL Classic matches
Top 6 ΔE2000-closest RAL Classic references for industrial coating cross-reference.
RAL 4003
#DE4C8A
Heather violet
RAL 7000
#7E8B92
Squirrel grey
RAL 7001
#8F999F
Silver grey
RAL 4008
#924E7D
Signal violet
RAL 4006
#A03472
Traffic purple
RAL 7004
#9EA0A1
Signal grey
FAQ about Magenta2
What is the HEX code for Magenta2?
Magenta2 (magenta2) has the HEX code #EE00EE. In RGB it is rgb(238, 0, 238), and in CMYK it is cmyk(0%, 100%, 0%, 7%).
What is the OKLCH value of Magenta2?
Magenta2 converts to oklch(0.666 0.306 328.4). OKLCH is the perceptually uniform color space used by Tailwind v4 and CSS Color Module Level 4.
Is Magenta2 accessible for body text?
Used as a background, Magenta2 has a contrast ratio of 5.87:1 with black text and 3.58:1 with white text. WCAG 2.1 AA requires 4.5:1 for normal text. The current recommendation is to use black text and verify in real UI context.
What is the closest Pantone to Magenta2?
The closest Pantone reference to Magenta2 by ΔE2000 perceptual distance is Pantone 252 C (#C964CF). Cross-system Pantone matching is approximate; for color-critical print work, verify with a physical Pantone guide.
What is the closest RAL color to Magenta2?
The closest RAL Classic reference to Magenta2 by ΔE2000 distance is RAL 4003 (Heather violet, #DE4C8A). RAL is a German industrial coating standard commonly used for paint, powder coat, and architectural specification.
What is the complementary color of Magenta2?
The complementary color (180° opposite on the HSL color wheel) of Magenta2 is #00F000. Use it for high-contrast accents, error states, or call-to-action pairings.
Data provenance & source
X11 named colors (xorg rgb.txt)
The historical X11 color name list shipped in the xorg-server rgb.txt file. Roughly 550 entries covering classic computing color names like 'PapayaWhip', 'MediumAquamarine', and 'DarkSlateGray'. Many CSS named colors originate here. Use as a reference for legacy and creative color names. Most modern CSS implementations accept these names directly.
- Source type
- derived
- Confidence
- high
- License
- MIT/X11 license (X Consortium)
- Last reviewed
- 2026-05-24
Workflow tags
X11 colors are sRGB digital values from a 1980s color system. For print, convert to a process-appropriate color and proof against substrate.