Skip to content
PantoneTools
pink
X11 named colors

Violetred4

violetred4 · #8B2252

HEX

#8B2252

RGB

rgb(139, 34, 82)

CMYK

cmyk(0%, 76%, 41%, 45%)

HSL

hsl(333, 61%, 34%)

LAB

lab(32.4, 47.5, -2.8)

What is Violetred4?

Violetred4 is the violetred4 reference in the X11 named colors. Its sRGB value is #8B2252 (rgb 139, 34, 82). 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 Violetred4 as a background.

Black text on this color

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

White text on this color

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

Shades, tints & tonal scale of Violetred4

An 11-step tonal scale derived from Violetred4 (#8B2252). 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 #F6EDF1

50

#F6EDF1

#F6EDF1

Copied #ECDCE3

100

#ECDCE3

#ECDCE3

Copied #DAB8C8

200

#DAB8C8

#DAB8C8

Copied #C591A9

300

#C591A9

#C591A9

Copied #A8597D

400

#A8597D

#A8597D

Copied #8B2252

500

#8B2252

#8B2252

Copied #761D46

600

#761D46

#761D46

Copied #5A1635

700

#5A1635

#5A1635

Copied #3F0F25

800

#3F0F25

#3F0F25

Copied #230915

900

#230915

#230915

Copied #11040A

950

#11040A

#11040A

Lighter tints (mixed with white)

Copied #A47182

15%

#A47182

Copied #B897A2

30%

#B897A2

Copied #CAB4BB

45%

#CAB4BB

Copied #DACCD0

60%

#DACCD0

Copied #E9E1E3

75%

#E9E1E3

Darker shades (mixed with black)

Copied #811F4C

15%

#811F4C

Copied #761B45

30%

#761B45

Copied #69173D

45%

#69173D

Copied #5A1334

60%

#5A1334

Copied #480D28

75%

#480D28

Color harmonies for Violetred4

Classic color-theory harmonies derived from rotating the hue of Violetred4. Use these to build accent palettes, brand systems, and accessible UI color pairings.

Complementary

180° opposite — strongest contrast

Copied #8B2252

#8B2252

#8B2252

Copied #228C5C

#228C5C

#228C5C

Triadic

Three colors 120° apart

Copied #8B2252

#8B2252

#8B2252

Copied #518C22

#518C22

#518C22

Copied #22518C

#22518C

#22518C

Analogous

Two neighbors ±30° on the wheel

Copied #8C2286

#8C2286

#8C2286

Copied #8B2252

#8B2252

#8B2252

Copied #8C2722

#8C2722

#8C2722

Split-complementary

Base + two colors flanking its complement

Copied #8B2252

#8B2252

#8B2252

Copied #228C27

#228C27

#228C27

Copied #22868C

#22868C

#22868C

Tetradic

Two complementary pairs

Copied #8B2252

#8B2252

#8B2252

Copied #8C5C22

#8C5C22

#8C5C22

Copied #228C5C

#228C5C

#228C5C

Copied #22518C

#22518C

#22518C

Square

Four colors evenly spaced 90° apart

Copied #8B2252

#8B2252

#8B2252

Copied #868C22

#868C22

#868C22

Copied #228C5C

#228C5C

#228C5C

Copied #27228C

#27228C

#27228C

Violetred4 in every color space

Full conversion of Violetred4 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

#8B2252

RGB

rgb(139, 34, 82)

CMYK

cmyk(0%, 76%, 41%, 45%)

HSL

hsl(333, 61%, 34%)

HSV

hsv(333, 76%, 55%)

HWB

hwb(333 13% 45%)

CIE Lab

lab(32.4 47.5 -2.8)

OKLCH

oklch(43.6% 0.146 357.3)

XYZ (D65)

xyz(12.74, 7.24, 8.71)

Copy-ready code for Violetred4

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: #8B2252;
background-color: #8B2252;

CSS variable

:root {
  --color-violetred4: #8B2252;
}

Tailwind config

// tailwind.config.js
colors: {
  'violetred4': '#8B2252',
}

Sass

$color-violetred4: #8B2252;

Swift UIColor

UIColor(red: 0.545, green: 0.133, blue: 0.322, alpha: 1.0)

Android XML

<color name="violetred4">#8B2252</color>

Closest match in every color system

The nearest Violetred4 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 #A03472

RAL 4006

#A03472

Traffic purple

Copied #922B3E

RAL 4002

#922B3E

Red violet

Copied #641C34

RAL 4004

#641C34

Claret violet

Copied #6D3F5B

RAL 4001

#6D3F5B

Red lilac

Copied #924E7D

RAL 4008

#924E7D

Signal violet

Copied #5E2129

RAL 3005

#5E2129

Wine red

FAQ about Violetred4

What is the HEX code for Violetred4?

Violetred4 (violetred4) has the HEX code #8B2252. In RGB it is rgb(139, 34, 82), and in CMYK it is cmyk(0%, 76%, 41%, 45%).

What is the OKLCH value of Violetred4?

Violetred4 converts to oklch(0.436 0.146 357.3). OKLCH is the perceptually uniform color space used by Tailwind v4 and CSS Color Module Level 4.

Is Violetred4 accessible for body text?

Used as a background, Violetred4 has a contrast ratio of 2.45:1 with black text and 8.58:1 with white text. WCAG 2.1 AA requires 4.5:1 for normal text. The current recommendation is to use white text and verify in real UI context.

What is the closest Pantone to Violetred4?

The closest Pantone reference to Violetred4 by ΔE2000 perceptual distance is Pantone 216 C (#7A1E47). Cross-system Pantone matching is approximate; for color-critical print work, verify with a physical Pantone guide.

What is the closest RAL color to Violetred4?

The closest RAL Classic reference to Violetred4 by ΔE2000 distance is RAL 4006 (Traffic purple, #A03472). RAL is a German industrial coating standard commonly used for paint, powder coat, and architectural specification.

What is the complementary color of Violetred4?

The complementary color (180° opposite on the HSL color wheel) of Violetred4 is #228C5C. 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 · Violetred4 — #8B2252 | PantoneTools