Nerdulator> put something in

Recognised as Colour

#CC228A

  • #CC228A
  • Magenta
  • Dark
  • Nearest: Medium violet red

#CC228A is a magenta with RGB values 204, 34, 138 and HSL 323°, 71%, 47%. It is a dark colour, so white text on it reaches 5:1 contrast (AA for normal text). The nearest named colour is Medium violet red.

Colour values

#CC228A#CC228A
HEX#CC228A
RGBrgb(204, 34, 138)
RGB (0–1)0.8, 0.1333, 0.5412
RGB percentages80%, 13.3%, 54.1%
HSLhsl(323.3, 71.4%, 46.7%)
HSV / HSBhsv(323.3, 83.3%, 80%)
CMYK0%, 83.3%, 32.4%, 20%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer13,378,186
CSS custom property--colour: #CC228A;

Brightness & contrast

Relative luminance0.15816WCAG 2.x, 0 is black and 1 is white
Perceived brightness123.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 5.04:1
Contrast with white5.04:1WCAG normal text: AA
Contrast with black4.16:1WCAG normal text: Fail
Greyscale equivalent#4E4E4E
Inverted#33DD75

Colour vision & accessibility

Protanopia#435C8Cno red cones; affects about 1% of men; ΔE 67.2 from the original
Deuteranopia#757986no green cones; the most common form, about 1% of men; ΔE 69.5 from the original
Tritanopia#DB1055no blue cones; rare, and affects men and women equally; ΔE 33.6 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text5.04:1WCAG large text: AAA
Contrast with black, large text4.16:1WCAG large text: AA

Named colours

Nearest named CSS colourMedium violet red (#C71585)ΔE 2.11, below the just-noticeable difference
Hue familymagenta
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#22CC64
Analogous#B922CC, #CC2235
Triadic#8ACC22, #228ACC
Split complementary#35CC22, #22CCB9
Tetradic#CCB922, #22CC64, #2235CC

Tints, shades & saturation

Lighter +40%#F5C5E2
Lighter +30%#EE99CD
Lighter +20%#E76DB8
Lighter +10%#DF42A2
Darker −10%#A01B6C
Darker −20%#75134F
Darker −30%#490C31
Darker −40%#1D0514
More saturated +25%#EA0491
Less saturated −25%#AE4083

Channel breakdown

R204
G34
B138
Red204 (80%)
Green34 (13.3%)
Blue138 (54.1%)
Hue323.29°
Saturation (HSL)71.43%
Lightness46.67%
Dominant channelRed
Hex per channelR CC · G 22 · B 8A

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

Every value on this page was computed from “cc228a” by Nerdulator’s colour engine. Nothing here was retrieved from a database of answers or written by a model.