WordGPT

#CC22CC color

#CC22CC is a pink colour. It is rgb(204, 34, 204) in RGB and hsl(300, 71%, 47%) in HSL. Text in black reads better on it: the contrast is 4.67:1 against black and 4.50:1 against white.

#CC22CC
#CC22CC: #CC22CC
Complementary#CC22CC#22CC22Analogous#7722CC#CC22CC#CC2277Triadic#CC22CC#CCCC22#22CCCCTetradic (square)#CC22CC#CC7722#22CC22#2277CCSplit complementary#CC22CC#77CC22#22CC77
Complementary, analogous, triadic, tetradic and split-complementary palettes made from this colour
220622440b44661166881788aa1caacc22ccd547d5dd6cdde691e6eeb5eef7daf7
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{#CC22CC}:\quad R=\mathrm{CC}_{16}=204,\ G=\mathrm{22}_{16}=34,\ B=\mathrm{CC}_{16}=204
  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=300∘,S=71%,L=47%H=300^\circ,\quad S=71\%,\quad L=47\%
  3. 3

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

    300^\circ + 180^\circ = 120^\circ ;\Rightarrow; \mathrm{#22CC22}
  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.50:1 (on white)\text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 4.50:1\ \text{(on white)}
LaTeX source of the formulas on this page
\[ \mathrm{#CC22CC} = \mathrm{rgb}(204, 34, 204) \]
\[ \mathrm{#CC22CC}:\quad R=\mathrm{CC}_{16}=204,\ G=\mathrm{22}_{16}=34,\ B=\mathrm{CC}_{16}=204 \]
\[ H=300^\circ,\quad S=71\%,\quad L=47\% \]
\[ 300^\circ + 180^\circ = 120^\circ ;\Rightarrow; \mathrm{#22CC22} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 4.50:1\ \text{(on white)} \]

#CC22CC in every colour format

FormatValue
HEX#CC22CC
RGBrgb(204, 34, 204)
RGB (percent)rgb(80.0%, 13.3%, 80.0%)
HSLhsl(300, 71%, 47%)
HSV / HSBhsv(300, 83%, 80%)
CMYKcmyk(0%, 83%, 0%, 20%)
Decimal13378252
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.50:1failpassfailfail
Black text4.67:1passpassfailpass

Shades and tints

KindHex codes (darkest to lightest)
Shades (mixed with black)#220622 #440B44 #661166 #881788 #AA1CAA
This colour#CC22CC
Tints (mixed with white)#D547D5 #DD6CDD #E691E6 #EEB5EE #F7DAF7

How it looks with colour blindness

TypeHexDistance from the original
Protanopia#0069D065
Deuteranopia#587EC871
Tritanopia#D3437B53
Grayscale#777777-

Nearest named colours

NameHex
Dark orchid#9932CC
Medium orchid#BA55D3
Dark violet#9400D3
Fuchsia#FF00FF

Questions

What is the RGB value of #CC22CC?

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

What is the HSL value of #CC22CC?

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

What is the complementary colour of #CC22CC?

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

Should I use white or black text on #CC22CC?

Black. White gives 4.50:1 and black 4.67:1; the better one passes WCAG AA for normal text.

What is the CMYK value of #CC22CC?

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

What is the closest named colour to #CC22CC?

Dark orchid (#9932CC).

Matching colours

A little darker, a little lighter

Make a palette

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