WordGPT

#CC2255 color

#CC2255 is a pink colour. It is rgb(204, 34, 85) in RGB and hsl(342, 71%, 47%) in HSL. Text in white reads better on it: the contrast is 5.35:1 against white and 3.93:1 against black.

#CC2255
#CC2255: #CC2255
Complementary#CC2255#22CC99Analogous#CC22AA#CC2255#CC4422Triadic#CC2255#55CC22#2255CCTetradic (square)#CC2255#AACC22#22CC99#4422CCSplit complementary#CC2255#22CC44#22AACC
Complementary, analogous, triadic, tetradic and split-complementary palettes made from this colour
22060e440b1c66112b881739aa1c47cc2255d54771dd6c8ee691aaeeb5c6f7dae3
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{#CC2255}:\quad R=\mathrm{CC}_{16}=204,\ G=\mathrm{22}_{16}=34,\ B=\mathrm{55}_{16}=85
  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=342∘,S=71%,L=47%H=342^\circ,\quad S=71\%,\quad L=47\%
  3. 3

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

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

#CC2255 in every colour format

FormatValue
HEX#CC2255
RGBrgb(204, 34, 85)
RGB (percent)rgb(80.0%, 13.3%, 33.3%)
HSLhsl(342, 71%, 47%)
HSV / HSBhsv(342, 83%, 80%)
CMYKcmyk(0%, 83%, 58%, 20%)
Decimal13378133
Descriptionpink

Text contrast (WCAG)

Background of this colour with…ContrastAA normal (4.5)AA large (3)AAA normal (7)AAA large (4.5)
White text5.35:1passpassfailpass
Black text3.93:1failpassfailfail

Shades and tints

KindHex codes (darkest to lightest)
Shades (mixed with black)#22060E #440B1C #66112B #881739 #AA1C47
This colour#CC2255
Tints (mixed with white)#D54771 #DD6C8E #E691AA #EEB5C6 #F7DAE3

How it looks with colour blindness

TypeHexDistance from the original
Protanopia#55555668
Deuteranopia#80775169
Tritanopia#DF003922
Grayscale#6B6B6B-

Nearest named colours

NameHex
Crimson#DC143C
Brown#A52A2A
Indian red#CD5C5C
Firebrick#B22222

Questions

What is the RGB value of #CC2255?

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

What is the HSL value of #CC2255?

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

What is the complementary colour of #CC2255?

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

Should I use white or black text on #CC2255?

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

What is the CMYK value of #CC2255?

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

What is the closest named colour to #CC2255?

Crimson (#DC143C).

Matching colours

A little darker, a little lighter

Make a palette

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