Skip to content
PantoneTools
pink
X11 named colors

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

Sample text · 5.87 : 1
AA Normal
AA Large
AAA Normal
AAA Large

White text on this color

Sample text · 3.58 : 1
AA Normal
AA Large
AAA Normal
AAA Large

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.

Copied #FEEBFE

50

#FEEBFE

#FEEBFE

Copied #FCD6FC

100

#FCD6FC

#FCD6FC

Copied #FAADFA

200

#FAADFA

#FAADFA

Copied #F780F7

300

#F780F7

#F780F7

Copied #F240F2

400

#F240F2

#F240F2

Copied #EE00EE

500

#EE00EE

#EE00EE

Copied #CA00CA

600

#CA00CA

#CA00CA

Copied #9B009B

700

#9B009B

#9B009B

Copied #6B006B

800

#6B006B

#6B006B

Copied #3C003C

900

#3C003C

#3C003C

Copied #1D001D

950

#1D001D

#1D001D

Lighter tints (mixed with white)

Copied #F16CF1

15%

#F16CF1

Copied #F395F3

30%

#F395F3

Copied #F6B3F6

45%

#F6B3F6

Copied #F8CBF8

60%

#F8CBF8

Copied #FBE1FB

75%

#FBE1FB

Darker shades (mixed with black)

Copied #DD00DD

15%

#DD00DD

Copied #CB00CB

30%

#CB00CB

Copied #B600B6

45%

#B600B6

Copied #9E009E

60%

#9E009E

Copied #7F007F

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

Copied #EE00EE

#EE00EE

#EE00EE

Copied #00F000

#00F000

#00F000

Triadic

Three colors 120° apart

Copied #EE00EE

#EE00EE

#EE00EE

Copied #F0F000

#F0F000

#F0F000

Copied #00F0F0

#00F0F0

#00F0F0

Analogous

Two neighbors ±30° on the wheel

Copied #7800F0

#7800F0

#7800F0

Copied #EE00EE

#EE00EE

#EE00EE

Copied #F00078

#F00078

#F00078

Split-complementary

Base + two colors flanking its complement

Copied #EE00EE

#EE00EE

#EE00EE

Copied #78F000

#78F000

#78F000

Copied #00F078

#00F078

#00F078

Tetradic

Two complementary pairs

Copied #EE00EE

#EE00EE

#EE00EE

Copied #F00000

#F00000

#F00000

Copied #00F000

#00F000

#00F000

Copied #00F0F0

#00F0F0

#00F0F0

Square

Four colors evenly spaced 90° apart

Copied #EE00EE

#EE00EE

#EE00EE

Copied #F07800

#F07800

#F07800

Copied #00F000

#00F000

#00F000

Copied #0078F0

#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.

Top 6 ΔE2000-closest Pantone references. Cross-system matching is approximate — see disclaimer.

Top 6 ΔE2000-closest RAL Classic references for industrial coating cross-reference.

Copied #DE4C8A

RAL 4003

#DE4C8A

Heather violet

Copied #7E8B92

RAL 7000

#7E8B92

Squirrel grey

Copied #8F999F

RAL 7001

#8F999F

Silver grey

Copied #924E7D

RAL 4008

#924E7D

Signal violet

Copied #A03472

RAL 4006

#A03472

Traffic purple

Copied #9EA0A1

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
named-color
legacy
pink

X11 colors are sRGB digital values from a 1980s color system. For print, convert to a process-appropriate color and proof against substrate.

X11 named colors · Magenta2 — #EE00EE | PantoneTools