WordGPT

#CC22BB color

#CC22BB is a pink colour. It is rgb(204, 34, 187) in RGB and hsl(306, 71%, 47%) in HSL. Text in white reads better on it: the contrast is 4.65:1 against white and 4.51:1 against black.

#CC22BB
#CC22BB: #CC22BB
Complementary#CC22BB#22CC33Analogous#8822CC#CC22BB#CC2266Triadic#CC22BB#BBCC22#22BBCCTetradic (square)#CC22BB#CC8822#22CC33#2266CCSplit complementary#CC22BB#66CC22#22CC88
Complementary, analogous, triadic, tetradic and split-complementary palettes made from this colour
22061f440b3e66115e88177daa1c9ccc22bbd547c6dd6cd2e691ddeeb5e8f7daf4
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{#CC22BB}:\quad R=\mathrm{CC}_{16}=204,\ G=\mathrm{22}_{16}=34,\ B=\mathrm{BB}_{16}=187
  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=306∘,S=71%,L=47%H=306^\circ,\quad S=71\%,\quad L=47\%
  3. 3

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

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

#CC22BB in every colour format

FormatValue
HEX#CC22BB
RGBrgb(204, 34, 187)
RGB (percent)rgb(80.0%, 13.3%, 73.3%)
HSLhsl(306, 71%, 47%)
HSV / HSBhsv(306, 83%, 80%)
CMYKcmyk(0%, 83%, 8%, 20%)
Decimal13378235
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.65:1passpassfailpass
Black text4.51:1passpassfailpass

Shades and tints

KindHex codes (darkest to lightest)
Shades (mixed with black)#22061F #440B3E #66115E #88177D #AA1C9C
This colour#CC22BB
Tints (mixed with white)#D547C6 #DD6CD2 #E691DD #EEB5E8 #F7DAF4

How it looks with colour blindness

TypeHexDistance from the original
Protanopia#1465BF67
Deuteranopia#627DB770
Tritanopia#D5397147
Grayscale#747474-

Nearest named colours

NameHex
Medium orchid#BA55D3
Dark magenta#8B008B
Dark orchid#9932CC
Orchid#DA70D6

Questions

What is the RGB value of #CC22BB?

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

What is the HSL value of #CC22BB?

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

What is the complementary colour of #CC22BB?

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

Should I use white or black text on #CC22BB?

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

What is the CMYK value of #CC22BB?

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

What is the closest named colour to #CC22BB?

Medium orchid (#BA55D3).

Matching colours

A little darker, a little lighter

Make a palette

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