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
White text on this color
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.
50
#F6EDF1
#F6EDF1
100
#ECDCE3
#ECDCE3
200
#DAB8C8
#DAB8C8
300
#C591A9
#C591A9
400
#A8597D
#A8597D
500
#8B2252
#8B2252
600
#761D46
#761D46
700
#5A1635
#5A1635
800
#3F0F25
#3F0F25
900
#230915
#230915
950
#11040A
#11040A
Lighter tints (mixed with white)
15%
#A47182
30%
#B897A2
45%
#CAB4BB
60%
#DACCD0
75%
#E9E1E3
Darker shades (mixed with black)
15%
#811F4C
30%
#761B45
45%
#69173D
60%
#5A1334
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
#8B2252
#8B2252
#228C5C
#228C5C
Triadic
Three colors 120° apart
#8B2252
#8B2252
#518C22
#518C22
#22518C
#22518C
Analogous
Two neighbors ±30° on the wheel
#8C2286
#8C2286
#8B2252
#8B2252
#8C2722
#8C2722
Split-complementary
Base + two colors flanking its complement
#8B2252
#8B2252
#228C27
#228C27
#22868C
#22868C
Tetradic
Two complementary pairs
#8B2252
#8B2252
#8C5C22
#8C5C22
#228C5C
#228C5C
#22518C
#22518C
Square
Four colors evenly spaced 90° apart
#8B2252
#8B2252
#868C22
#868C22
#228C5C
#228C5C
#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.
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 4006
#A03472
Traffic purple
RAL 4002
#922B3E
Red violet
RAL 4004
#641C34
Claret violet
RAL 4001
#6D3F5B
Red lilac
RAL 4008
#924E7D
Signal violet
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 colors are sRGB digital values from a 1980s color system. For print, convert to a process-appropriate color and proof against substrate.