WordGPT

#CC22AA color

#CC22AA is a pink colour. It is rgb(204, 34, 170) in RGB and hsl(312, 71%, 47%) in HSL. Text in white reads better on it: the contrast is 4.80:1 against white and 4.38:1 against black.

#CC22AA
#CC22AA: #CC22AA
Complementary#CC22AA#22CC44Analogous#9922CC#CC22AA#CC2255Triadic#CC22AA#AACC22#22AACCTetradic (square)#CC22AA#CC9922#22CC44#2255CCSplit complementary#CC22AA#55CC22#22CC99
Complementary, analogous, triadic, tetradic and split-complementary palettes made from this colour
22061c440b39661155881771aa1c8ecc22aad547b8dd6cc6e691d5eeb5e3f7daf1
From dark shades (left, mixed with black) to light tints (right, mixed with white)

How to work it out

  1. 1

    A hex code is three pairs of base-16 digits: red, green and blue, from 00 (none) to FF (full).

    \mathrm{#CC22AA}:\quad R=\mathrm{CC}_{16}=204,\ G=\mathrm{22}_{16}=34,\ B=\mathrm{AA}_{16}=170
  2. 2

    HSL describes the same colour as a hue angle on the colour wheel (0° red, 120° green, 240° blue), a saturation and a lightness.

    H=312∘,S=71%,L=47%H=312^\circ,\quad S=71\%,\quad L=47\%
  3. 3

    The complementary colour sits opposite on the wheel: add 180° to the hue.

    312^\circ + 180^\circ = 132^\circ ;\Rightarrow; \mathrm{#22CC44}
  4. 4

    Contrast is the ratio of the lighter to the darker relative luminance, each plus 0.05. WCAG asks for at least 4.5:1 for normal text and 3:1 for large text (AA).

    contrast=L1+0.05L2+0.05=4.80:1 (on white)\text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 4.80:1\ \text{(on white)}
LaTeX source of the formulas on this page
\[ \mathrm{#CC22AA} = \mathrm{rgb}(204, 34, 170) \]
\[ \mathrm{#CC22AA}:\quad R=\mathrm{CC}_{16}=204,\ G=\mathrm{22}_{16}=34,\ B=\mathrm{AA}_{16}=170 \]
\[ H=312^\circ,\quad S=71\%,\quad L=47\% \]
\[ 312^\circ + 180^\circ = 132^\circ ;\Rightarrow; \mathrm{#22CC44} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 4.80:1\ \text{(on white)} \]

#CC22AA in every colour format

FormatValue
HEX#CC22AA
RGBrgb(204, 34, 170)
RGB (percent)rgb(80.0%, 13.3%, 66.7%)
HSLhsl(312, 71%, 47%)
HSV / HSBhsv(312, 83%, 80%)
CMYKcmyk(0%, 83%, 17%, 20%)
Decimal13378218
Descriptionpink

Text contrast (WCAG)

Background of this colour with…ContrastAA normal (4.5)AA large (3)AAA normal (7)AAA large (4.5)
White text4.80:1passpassfailpass
Black text4.38:1failpassfailfail

Shades and tints

KindHex codes (darkest to lightest)
Shades (mixed with black)#22061C #440B39 #661155 #881771 #AA1C8E
This colour#CC22AA
Tints (mixed with white)#D547B8 #DD6CC6 #E691D5 #EEB5E3 #F7DAF1

How it looks with colour blindness

TypeHexDistance from the original
Protanopia#2D62AD67
Deuteranopia#6A7BA670
Tritanopia#D82E6742
Grayscale#727272-

Nearest named colours

NameHex
Medium violet red#C71585
Dark magenta#8B008B
Medium orchid#BA55D3
Orchid#DA70D6

Questions

What is the RGB value of #CC22AA?

rgb(204, 34, 170): red 204, green 34, blue 170.

What is the HSL value of #CC22AA?

hsl(312, 71%, 47%): a hue of 312°, 71% saturation and 47% lightness.

What is the complementary colour of #CC22AA?

#22CC44, found by turning the hue by 180°. The inverted colour (each channel subtracted from 255) is #33DD55.

Should I use white or black text on #CC22AA?

White. White gives 4.80:1 and black 4.38:1; the better one passes WCAG AA for normal text.

What is the CMYK value of #CC22AA?

cmyk(0%, 83%, 17%, 20%). This is a simple formula conversion; printed colours depend on the printer profile.

What is the closest named colour to #CC22AA?

Medium violet red (#C71585).

Matching colours

A little darker, a little lighter

Make a palette

    #CC22AA color: RGB, HSL, CMYK, shades and matching palettes | WordGPT