Home /Colors /#542151
#542151#542151

#542151 color code is #542151. Use this page to get all code formats, explore shades and tints, and find colors that work with #542151.

ShadesTints
Preview
Text on White
White on Color
ShareSave to PinterestTweet

Explore #542151

#542151 Accessibility & WCAG Contrast

Relative luminance of #542151 is 0.0357. Its WCAG contrast ratio is 12.26:1 against white and 1.71:1 against black. Use the card with the higher ratio for body text.

The quick brown fox
#542151 on white12.26:1AAA
The quick brown fox
#542151 on black1.71:1Fail
The quick brown fox
White on #54215112.26:1AAA
The quick brown fox
Black on #5421511.71:1Fail

#542151 — Frequently Asked Questions

What is the hex code for #542151?+
The hex code for #542151 is #542151. In RGB it's rgb(84, 33, 81), and in HSL it's hsl(304, 44%, 23%).
What is the RGB value of #542151?+
#542151 in RGB is (84, 33, 81). Written in CSS: rgb(84, 33, 81).
What is the CMYK value of #542151?+
#542151 converts to CMYK(0%, 61%, 4%, 67%) for print. Hex equivalent is #542151.
Is #542151 a warm or cool color?+
#542151 (#542151) is a transitional magenta — its hue sits at 304° on the color wheel, placing it in the transitional part of the spectrum.
What color family does #542151 belong to?+
#542151 belongs to the magenta family. Its HSL is 304°, 44%, 23% — a transitional tone within the broader magenta group.
Is #542151 accessible for body text on a white background?+
#542151 on white reaches a WCAG contrast ratio of 12.26:1 — passes WCAG AAA for body text on white.
What is the closest Pantone match for #542151?+
The nearest Pantone match for #542151 (#542151) is 3426 C Darkest Magenta, calculated by Euclidean RGB distance over the Pantone Matching System.

How to use #542151 in design

Practical guidance for using #542151 (#542151) across four design contexts, derived from its hue, lightness, saturation, and WCAG contrast.

Web & UI design

Use #542151 (#542151) as primary text or icon color on white backgrounds — at 12.3:1 contrast it passes WCAG AAA for body copy. Avoid placing #542151 text on dark surfaces; the contrast drops below the AA threshold.

Branding & identity

As a brand color, #542151 (#542151) reads as balanced and approachable and premium and serious. It fits naturally into fashion, beauty, music, youthful events. Pair it with a higher-contrast accent (warm if magenta runs cool, cool if it runs warm) for visual hierarchy. Test legibility on both your logo and small UI text before locking it in — saturation that works on a 200px logo can feel overpowering at favicon scale.

Fashion & apparel

#542151 flatters cool-leaning skin tones (pink, rosy, blue undertones) and works best in autumn/winter collections. Pair it with cool neutrals (charcoal, slate, off-white, black) and it works as a sophisticated alternative to navy. Deep cool tones photograph richly under indoor light and read as quiet luxury — strong choice for eveningwear.

Interior design

#542151 is a moody, atmospheric room color — perfect for libraries, dining rooms, bedrooms, and bars where you want the space to feel enclosed and cinematic. Pair with brass or unlacquered fixtures, warm overhead lighting (2700K bulbs), and natural-fiber rugs. Avoid using it in spaces with limited natural light unless that intimacy is the point.

Brands that use #542151

Major brands whose official palette contains a color within ~30 RGB units of #542151 (#542151). Click through for the full brand color guide.

Slack#4A154B · Slack Aubergine