#C640C2 color
The hex color #C640C2 is a moderate magenta.
In the RGB color model it is made of 77.6% red, 25.1% green and 76.1% blue (198, 64, 194).
Its hue angle is 302°, with 54% saturation and 51% lightness. For print, the CMYK equivalent is 0% cyan, 68% magenta, 2% yellow and 22% black.
The closest named color is Awkward Purple (#D208CC), a difference of 3.9 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 4.91:1).
#C640C2 color codes
| HEX | #C640C2 | |
|---|---|---|
| RGB | rgb(198, 64, 194) | |
| RGB percent | rgb(77.6%, 25.1%, 76.1%) | |
| HSL | hsl(302, 54%, 51%) | |
| HSV / HSB | hsv(302, 68%, 78%) | |
| CMYK | cmyk(0%, 68%, 2%, 22%) | |
| CIE LAB | lab(51.35, 67.61, -41.18) | |
| CIE LCH | lch(51.35, 79.16, 328.66) | |
| CIE XYZ | xyz(34.859, 19.57, 52.97) | |
| Decimal | 12992706 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #C640C2, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #C640C2 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.91:1 | Pass | Fail | Pass |
| Sample text | 4.27:1 | Fail | Fail | Pass |
| #C640C2 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.27:1 | Fail | Fail | Pass |
| Sample text | 4.91:1 | Pass | Fail | Pass |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #C640C2 looks to people with the most common types of color vision deficiency.
#306fc6Protanopia
no red cones#6481bfDeuteranopia
no green cones#cd517cTritanopia
no blue cones#7a7a7aAchromatopsia
no color vision
CSS examples
.background { background-color: #c640c2; }
.text { color: #c640c2; }
.border { border: 2px solid #c640c2; }
.transparent { background-color: rgb(198 64 194 / 50%); }
.gradient { background: linear-gradient(to right, #c640c2, #c6407f); }
Similar colors
#d208ccAwkward Purple#bb55ccLove Priestess#cc11bbExplosive Purple#d92fb4Loudicious Pink#c920b0Mystifying Magenta#ba55d3Medium Orchid#ee00ccFerocious Flamingo#dd14abAphroditean Fuchsia
Questions
- What color is #C640C2?
- #C640C2 is a moderate magenta, closest to the named color Awkward Purple. It belongs to the purple family of colors.
- What is the RGB value of #C640C2?
- The RGB value is 198, 64, 194: 198 red, 64 green and 194 blue on a 0 to 255 scale.
- What is the complementary color of #C640C2?
- The complementary color is #40C644, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #C640C2?
- Black text. Black text has a contrast ratio of 4.91:1 and white text 4.27:1. WCAG asks for at least 4.5:1 for normal text.