Recognised as Colour
#CC2398
- #CC2398
- Magenta
- Dark
- Nearest: Medium violet red
#CC2398 is a magenta with RGB values 204, 35, 152 and HSL 318°, 71%, 47%. It is a dark colour, so white text on it reaches 4.9:1 contrast (AA for normal text). The nearest named colour is Medium violet red.
Colour values
#CC2398#CC2398
HEX#CC2398
RGBrgb(204, 35, 152)
RGB (0–1)0.8, 0.1373, 0.5961
RGB percentages80%, 13.7%, 59.6%
HSLhsl(318.5, 70.7%, 46.9%)
HSV / HSBhsv(318.5, 82.8%, 80%)
CMYK0%, 82.8%, 25.5%, 20%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer13,378,456
CSS custom property--colour: #CC2398;
Brightness & contrast
Relative luminance0.16306WCAG 2.x, 0 is black and 1 is white
Perceived brightness125.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 4.93:1
Contrast with white4.93:1WCAG normal text: AA
Contrast with black4.26:1WCAG normal text: Fail
Greyscale equivalent#4F4F4F
Inverted#33DC67
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text4.93:1WCAG large text: AAA
Contrast with black, large text4.26:1WCAG large text: AA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#23CC57
Analogous#AB23CC, #CC2344
Triadic#98CC23, #2398CC
Split complementary#44CC23, #23CCAB
Tetradic#CCAB23, #23CC57, #2344CC
Tints, shades & saturation
Channel breakdown
R204
G35
B152
Red204 (80%)
Green35 (13.7%)
Blue152 (59.6%)
Hue318.46°
Saturation (HSL)70.71%
Lightness46.86%
Dominant channelRed
Hex per channelR CC · G 23 · B 98
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
CC2398 (chemical formula)
- Formula
- 28,814.389 g/mol
- 2399 atoms
CC2398 has a molar mass of 28,814.389 g/mol, made up of 2399 atoms across 1 element: 2399 × C.
Molar mass
Molar mass28,814.389 g/mol
Total atoms per molecule2399
Distinct elements1
Mass of one molecule4.7847419 × 10^-20 g
Molecules per gram2.0899769 × 10^19
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
C100%
Carbon (C × 2399)28,814.389 g/mol, 100%
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Elements in this formula
Nerdulate something else
Nothing in mind? Surprise me · today’s page