Recognised as Colour
#CB027C
- #CB027C
- Magenta
- Dark
- Nearest: Medium violet red
#CB027C is a magenta with RGB values 203, 2, 124 and HSL 324°, 98%, 40%. It is a dark colour, so white text on it reaches 5.5:1 contrast (AA for normal text). The nearest named colour is Medium violet red.
Colour values
#CB027C#CB027C
HEX#CB027C
RGBrgb(203, 2, 124)
RGB (0–1)0.7961, 0.0078, 0.4863
RGB percentages79.6%, 0.8%, 48.6%
HSLhsl(323.6, 98%, 40.2%)
HSV / HSBhsv(323.6, 99%, 79.6%)
CMYK0%, 99%, 38.9%, 20.4%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer13,304,444
CSS custom property--colour: #CB027C;
Brightness & contrast
Relative luminance0.14195WCAG 2.x, 0 is black and 1 is white
Perceived brightness118.6 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 5.47:1
Contrast with white5.47:1WCAG normal text: AA
Contrast with black3.84:1WCAG normal text: Fail
Greyscale equivalent#363636
Inverted#34FD83
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text5.47:1WCAG large text: AAA
Contrast with black, large text3.84:1WCAG large text: AA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#02CB51
Analogous#B502CB, #CB0218
Triadic#7CCB02, #027CCB
Split complementary#17CB02, #02CBB6
Tetradic#CBB602, #02CB51, #0217CB
Tints, shades & saturation
Channel breakdown
R203
G2
B124
Red203 (79.6%)
Green2 (0.8%)
Blue124 (48.6%)
Hue323.58°
Saturation (HSL)98.05%
Lightness40.2%
Dominant channelRed
Hex per channelR CB · G 02 · B 7C
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Harmonies
Similar named colours
Nerdulate something else
Nothing in mind? Surprise me · today’s page