Skip to content

#C842D7 Color

#C842D7 is rgb(200, 66, 215) in RGB, hsl(294, 65%, 55%) in HSL, and about cmyk(7%, 69%, 0%, 16%) in CMYK. It has no registered color name of its own — the closest is Steel Pink (#CC33CC), clearly related but distinguishable side by side at ΔE 5.98. Black text is the more readable choice on this background.

#C842D7
HEX#C842D7
RGBrgb(200, 66, 215)
HSLhsl(294, 65%, 55%)
HSVhsv(294, 69%, 84%)
CMYKcmyk(7%, 69%, 0%, 16%)
OKLCHoklch(62.6% 0.237 323.5)
LABlab(52.81% 66.74 -50.44)
LCHlch(52.81% 83.66 322.92)

What #C842D7 Is Called

Most hex codes have no name: there are 16.7 million of them and a few thousand registered names. These are the named colors nearest to #C842D7, ordered by CIE76 distance in CIELAB. Anything under about ΔE 2 is a difference most people cannot see.

Browse the full index of named colors A-Z or every pink in the library.

#C842D7 Channel Values

How #C842D7 breaks down in each color model. Hue is measured in degrees around the color wheel; saturation, lightness, and the CMYK inks are percentages.

ModelChannelsNotes
RGBR 200 · G 66 · B 2158-bit channels as sent to the display
HSLH 294° · S 65% · L 55%Easiest model for building lighter and darker variants
HSVH 294° · S 69% · V 84%Matches the picker in most design tools
CMYKC 7% · M 69% · Y 0% · K 16%Approximate ink mix; confirm with an ICC profile before printing
Luminance4.03:1 vs white · 5.22:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a #C842D7 background. AA requires 4.5:1 for normal text and 3:1 for large text; AAA requires 7:1. Contrast is one check, not a full accessibility review.

Fails AAWhite text4.03:1AA normal AA large AAA normal
TextBlack text5.22:1AA normal AA large AAA normal

Need a specific ratio against another background? Open #C842D7 in the contrast checker.

Colors That Go With #C842D7

Pairings derived from color-wheel relationships. The complementary color sits opposite #C842D7; analogous colors sit beside it; triadic and split-complementary sets spread evenly around the wheel. Select any swatch for its own breakdown.

Base
Complementary
Analogous
Analogous
Triadic
Triadic
Split comp.
Split comp.

Tints & Shades of #C842D7

Lighter tints and darker shades built by moving the lightness channel while holding hue and saturation, which is what you want for hover states, backgrounds, and text variants.

Tints

Shades

Want a full 50-950 ramp with semantic roles? Generate design tokens from #C842D7.

How #C842D7 Looks with Color Vision Deficiency

Simulated with the Viénot, Brettel & Mollon LMS projection model. Anomalous types are rendered as partial versions of the matching dichromacy, which is an approximation rather than a per-person clinical model.

Typical#C842D7
Protanopia#6A6AD7
Protanomaly#995CD7
Deuteranopia#8383D5
Deuteranomaly#A36FD6
Tritanopia#BB6666
Tritanomaly#C05AA0
Achromatopsia#7F7F7F

Test a full palette in the color blindness simulator.

Using #C842D7 in Code

Copy-ready declarations for the places this color usually ends up.

CSS custom property--color-c842d7: #C842D7;
CSS backgroundbackground-color: #C842D7;
Tailwind configcolors: { 'color-c842d7': '#C842D7' }
SwiftUIColor(red: 0.784, green: 0.259, blue: 0.843)
Android XML<color name="color_c842d7">#C842D7</color>
SVG fillfill="#C842D7"

More Pink Colors

#C842D7 sits in the pink family. These are its neighbours across that family's full range, each with its own breakdown.

#C842D7 Frequently Asked Questions

What color is #C842D7?

#C842D7 is a mid-tone pink — rgb(200, 66, 215) in RGB and hsl(294, 65%, 55%) in HSL. It carries no registered color name of its own; the closest named color is Steel Pink (#CC33CC), which is clearly related but distinguishable side by side at a CIE76 distance of 5.98.

What is the RGB value of #C842D7?

#C842D7 is rgb(200, 66, 215) — red 200, green 66, and blue 215 on the 0-255 scale.

What is the CMYK value of #C842D7?

#C842D7 converts to approximately cmyk(7%, 69%, 0%, 16%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.

Should text on #C842D7 be black or white?

Black text is the more readable choice. #C842D7 scores 4.03:1 against white and 5.22:1 against black, and WCAG 2.2 asks for at least 4.5:1 for normal body text.

Can I write #C842D7 as a CSS color keyword?

No. #C842D7 is not one of the CSS color keywords, so it has to be written as a hex, rgb() or hsl() value. The closest keyword is mediumorchid (#BA55D3) at a CIE76 distance of 12.11, which is visibly different.

Open #C842D7 in a Tool

Keep exploring: every pink in the color library, the guide to shades of pink, or the full color library.