Recognised as Colour
#DF28A1
- #DF28A1
- Magenta
- Dark
- Nearest: Medium violet red
#DF28A1 is a magenta with RGB values 223, 40, 161 and HSL 320°, 74%, 52%. It is a dark colour, so black text on it reaches 5:1 contrast (AA for normal text). The nearest named colour is Medium violet red.
Colour values
#DF28A1#DF28A1
HEX#DF28A1
RGBrgb(223, 40, 161)
RGB (0–1)0.8745, 0.1569, 0.6314
RGB percentages87.5%, 15.7%, 63.1%
HSLhsl(320.3, 74.1%, 51.6%)
HSV / HSBhsv(320.3, 82.1%, 87.5%)
CMYK0%, 82.1%, 27.8%, 12.5%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer14,624,929
CSS custom property--colour: #DF28A1;
Brightness & contrast
Relative luminance0.19779WCAG 2.x, 0 is black and 1 is white
Perceived brightness137 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundBlackcontrast 4.96:1
Contrast with white4.24:1WCAG normal text: Fail
Contrast with black4.96:1WCAG normal text: AA
Greyscale equivalent#585858
Inverted#20D75E
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text4.24:1WCAG large text: AA
Contrast with black, large text4.96:1WCAG large text: AAA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#28DF66
Analogous#C128DF, #DF2846
Triadic#A1DF28, #28A1DF
Split complementary#46DF28, #28DFC1
Tetradic#DFC128, #28DF66, #2846DF
Tints, shades & saturation
Channel breakdown
R223
G40
B161
Red223 (87.5%)
Green40 (15.7%)
Blue161 (63.1%)
Hue320.33°
Saturation (HSL)74.09%
Lightness51.57%
Dominant channelRed
Hex per channelR DF · G 28 · B A1
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