Recognised as Colour
#CC42BB
- #CC42BB
- Magenta
- Dark
- Nearest: Medium orchid
#CC42BB is a magenta with RGB values 204, 66, 187 and HSL 307°, 58%, 53%. It is a dark colour, so black text on it reaches 5.1:1 contrast (AA for normal text). The nearest named colour is Medium orchid.
Colour values
#CC42BB#CC42BB
HEX#CC42BB
RGBrgb(204, 66, 187)
RGB (0–1)0.8, 0.2588, 0.7333
RGB percentages80%, 25.9%, 73.3%
HSLhsl(307.4, 57.5%, 52.9%)
HSV / HSBhsv(307.4, 67.6%, 80%)
CMYK0%, 67.6%, 8.3%, 20%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer13,386,427
CSS custom property--colour: #CC42BB;
Brightness & contrast
Relative luminance0.20322WCAG 2.x, 0 is black and 1 is white
Perceived brightness137.8 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundBlackcontrast 5.06:1
Contrast with white4.15:1WCAG normal text: Fail
Contrast with black5.06:1WCAG normal text: AA
Greyscale equivalent#686868
Inverted#33BD44
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text4.15:1WCAG large text: AA
Contrast with black, large text5.06:1WCAG large text: AAA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#42CC53
Analogous#9842CC, #CC4276
Triadic#BBCC42, #42BBCC
Split complementary#76CC42, #42CC98
Tetradic#CC9842, #42CC53, #4276CC
Tints, shades & saturation
Channel breakdown
R204
G66
B187
Red204 (80%)
Green66 (25.9%)
Blue187 (73.3%)
Hue307.39°
Saturation (HSL)57.5%
Lightness52.94%
Dominant channelRed
Hex per channelR CC · G 42 · B BB
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Harmonies
Similar named colours
Also reads as
CC42BB (chemical formula)
- Formula
- 538.093 g/mol
- 45 atoms
CC42BB has a molar mass of 538.093 g/mol, made up of 45 atoms across 2 elements: 43 × C, 2 × B.
Molar mass
Molar mass538.093 g/mol
Total atoms per molecule45
Distinct elements2
Mass of one molecule8.9352445 × 10^-22 g
Molecules per gram1.1191636 × 10^21
Name
NameNot in the name tablea name cannot be worked out from a formula alone: isomers share formulas, and naming depends on bonding the formula does not show
Composition by mass
C96%
B4%
Carbon (C × 43)516.473 g/mol, 95.982%
Boron (B × 2)21.62 g/mol, 4.018%
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Nerdulate something else
Nothing in mind? Surprise me · today’s page