Recognised as Colour
#DF2897
- #DF2897
- Magenta
- Dark
- Nearest: Medium violet red
#DF2897 is a magenta with RGB values 223, 40, 151 and HSL 324°, 74%, 52%. It is a dark colour, so black text on it reaches 4.9:1 contrast (AA for normal text). The nearest named colour is Medium violet red.
Colour values
#DF2897#DF2897
HEX#DF2897
RGBrgb(223, 40, 151)
RGB (0–1)0.8745, 0.1569, 0.5922
RGB percentages87.5%, 15.7%, 59.2%
HSLhsl(323.6, 74.1%, 51.6%)
HSV / HSBhsv(323.6, 82.1%, 87.5%)
CMYK0%, 82.1%, 32.3%, 12.5%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer14,624,919
CSS custom property--colour: #DF2897;
Brightness & contrast
Relative luminance0.1944WCAG 2.x, 0 is black and 1 is white
Perceived brightness135.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundBlackcontrast 4.89:1
Contrast with white4.3:1WCAG normal text: Fail
Contrast with black4.89:1WCAG normal text: AA
Greyscale equivalent#575757
Inverted#20D768
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text4.3:1WCAG large text: AA
Contrast with black, large text4.89:1WCAG large text: AAA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#28DF70
Analogous#CB28DF, #DF283C
Triadic#97DF28, #2897DF
Split complementary#3CDF28, #28DFCB
Tetradic#DFCB28, #28DF70, #283CDF
Tints, shades & saturation
Channel breakdown
R223
G40
B151
Red223 (87.5%)
Green40 (15.7%)
Blue151 (59.2%)
Hue323.61°
Saturation (HSL)74.09%
Lightness51.57%
Dominant channelRed
Hex per channelR DF · G 28 · B 97
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