WordGPT

#220022 color

#220022 is a very dark pink colour. It is rgb(34, 0, 34) in RGB and hsl(300, 100%, 7%) in HSL. Text in white reads better on it: the contrast is 19.25:1 against white and 1.09:1 against black.

#220022
#220022: #220022
Complementary#220022#002200Analogous#110022#220022#220011Triadic#220022#222200#002222Tetradic (square)#220022#221100#002200#001122Split complementary#220022#112200#002211
Complementary, analogous, triadic, tetradic and split-complementary palettes made from this colour
0600060b000b1100111700171c001c220022472b476c556c918091b5aab5dad5da
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{#220022}:\quad R=\mathrm{22}_{16}=34,\ G=\mathrm{00}_{16}=0,\ B=\mathrm{22}_{16}=34
  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=100%,L=7%H=300^\circ,\quad S=100\%,\quad L=7\%
  3. 3

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

    300^\circ + 180^\circ = 120^\circ ;\Rightarrow; \mathrm{#002200}
  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=19.25:1 (on white)\text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 19.25:1\ \text{(on white)}
LaTeX source of the formulas on this page
\[ \mathrm{#220022} = \mathrm{rgb}(34, 0, 34) \]
\[ \mathrm{#220022}:\quad R=\mathrm{22}_{16}=34,\ G=\mathrm{00}_{16}=0,\ B=\mathrm{22}_{16}=34 \]
\[ H=300^\circ,\quad S=100\%,\quad L=7\% \]
\[ 300^\circ + 180^\circ = 120^\circ ;\Rightarrow; \mathrm{#002200} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 19.25:1\ \text{(on white)} \]

#220022 in every colour format

FormatValue
HEX#220022
RGBrgb(34, 0, 34)
RGB (percent)rgb(13.3%, 0.0%, 13.3%)
HSLhsl(300, 100%, 7%)
HSV / HSBhsv(300, 100%, 13%)
CMYKcmyk(0%, 100%, 0%, 87%)
Decimal2228258
Descriptionvery dark pink

Text contrast (WCAG)

Background of this colour with…ContrastAA normal (4.5)AA large (3)AAA normal (7)AAA large (4.5)
White text19.25:1passpasspasspass
Black text1.09:1failfailfailfail

Shades and tints

KindHex codes (darkest to lightest)
Shades (mixed with black)#060006 #0B000B #110011 #170017 #1C001C
This colour#220022
Tints (mixed with white)#472B47 #6C556C #918091 #B5AAB5 #DAD5DA

How it looks with colour blindness

TypeHexDistance from the original
Protanopia#000B2318
Deuteranopia#07102119
Tritanopia#24040F15
Grayscale#0E0E0E-

Nearest named colours

NameHex
Black#000000
Midnight blue#191970
Dark slate blue#483D8B
Dark slate gray#2F4F4F

Questions

What is the RGB value of #220022?

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

What is the HSL value of #220022?

hsl(300, 100%, 7%): a hue of 300°, 100% saturation and 7% lightness.

What is the complementary colour of #220022?

#002200, found by turning the hue by 180°. The inverted colour (each channel subtracted from 255) is #DDFFDD.

Should I use white or black text on #220022?

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

What is the CMYK value of #220022?

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

What is the closest named colour to #220022?

Black (#000000).

Matching colours

A little darker, a little lighter

Make a palette

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