WordGPT

#AA2266 color

#AA2266 is a pink colour. It is rgb(170, 34, 102) in RGB and hsl(330, 67%, 40%) in HSL. Text in white reads better on it: the contrast is 6.71:1 against white and 3.13:1 against black.

#AA2266
#AA2266: #AA2266
Complementary#AA2266#22AA66Analogous#AA22AA#AA2266#AA2222Triadic#AA2266#66AA22#2266AATetradic (square)#AA2266#AAAA22#22AA66#2222AASplit complementary#AA2266#22AA22#22AAAA
Complementary, analogous, triadic, tetradic and split-complementary palettes made from this colour
1c0611390b225511337117448e1c55aa2266b84780c66c99d591b3e3b5ccf1dae6
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{#AA2266}:\quad R=\mathrm{AA}_{16}=170,\ G=\mathrm{22}_{16}=34,\ B=\mathrm{66}_{16}=102
  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=330∘,S=67%,L=40%H=330^\circ,\quad S=67\%,\quad L=40\%
  3. 3

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

    330^\circ + 180^\circ = 150^\circ ;\Rightarrow; \mathrm{#22AA66}
  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=6.71:1 (on white)\text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 6.71:1\ \text{(on white)}
LaTeX source of the formulas on this page
\[ \mathrm{#AA2266} = \mathrm{rgb}(170, 34, 102) \]
\[ \mathrm{#AA2266}:\quad R=\mathrm{AA}_{16}=170,\ G=\mathrm{22}_{16}=34,\ B=\mathrm{66}_{16}=102 \]
\[ H=330^\circ,\quad S=67\%,\quad L=40\% \]
\[ 330^\circ + 180^\circ = 150^\circ ;\Rightarrow; \mathrm{#22AA66} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 6.71:1\ \text{(on white)} \]

#AA2266 in every colour format

FormatValue
HEX#AA2266
RGBrgb(170, 34, 102)
RGB (percent)rgb(66.7%, 13.3%, 40.0%)
HSLhsl(330, 67%, 40%)
HSV / HSBhsv(330, 80%, 67%)
CMYKcmyk(0%, 80%, 40%, 33%)
Decimal11149926
Descriptionpink

Text contrast (WCAG)

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

Shades and tints

KindHex codes (darkest to lightest)
Shades (mixed with black)#1C0611 #390B22 #551133 #711744 #8E1C55
This colour#AA2266
Tints (mixed with white)#B84780 #C66C99 #D591B3 #E3B5CC #F1DAE6

How it looks with colour blindness

TypeHexDistance from the original
Protanopia#404C6857
Deuteranopia#65656359
Tritanopia#B80A4125
Grayscale#5C5C5C-

Nearest named colours

NameHex
Medium violet red#C71585
Pale violet red#DB7093
Hot pink#FF69B4
Deep pink#FF1493

Questions

What is the RGB value of #AA2266?

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

What is the HSL value of #AA2266?

hsl(330, 67%, 40%): a hue of 330°, 67% saturation and 40% lightness.

What is the complementary colour of #AA2266?

#22AA66, found by turning the hue by 180°. The inverted colour (each channel subtracted from 255) is #55DD99.

Should I use white or black text on #AA2266?

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

What is the CMYK value of #AA2266?

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

What is the closest named colour to #AA2266?

Medium violet red (#C71585).

Matching colours

A little darker, a little lighter

Make a palette

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