Recognised as Colour
#D7298A
- #D7298A
- Magenta
- Dark
- Nearest: Medium violet red
#D7298A is a magenta with RGB values 215, 41, 138 and HSL 327°, 69%, 50%. It is a dark colour, so white text on it reaches 4.6:1 contrast (AA for normal text). The nearest named colour is Medium violet red.
Colour values
#D7298A#D7298A
HEX#D7298A
RGBrgb(215, 41, 138)
RGB (0–1)0.8431, 0.1608, 0.5412
RGB percentages84.3%, 16.1%, 54.1%
HSLhsl(326.6, 68.5%, 50.2%)
HSV / HSBhsv(326.6, 80.9%, 84.3%)
CMYK0%, 80.9%, 35.8%, 15.7%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer14,100,874
CSS custom property--colour: #D7298A;
Brightness & contrast
Relative luminance0.17868WCAG 2.x, 0 is black and 1 is white
Perceived brightness130.3 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 4.59:1
Contrast with white4.59:1WCAG normal text: AA
Contrast with black4.57:1WCAG normal text: AA
Greyscale equivalent#555555
Inverted#28D675
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text4.59:1WCAG large text: AAA
Contrast with black, large text4.57:1WCAG large text: AAA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#29D776
Analogous#CD29D7, #D72933
Triadic#8AD729, #298AD7
Split complementary#33D729, #29D7CD
Tetradic#D7CD29, #29D776, #2933D7
Tints, shades & saturation
Channel breakdown
R215
G41
B138
Red215 (84.3%)
Green41 (16.1%)
Blue138 (54.1%)
Hue326.55°
Saturation (HSL)68.5%
Lightness50.2%
Dominant channelRed
Hex per channelR D7 · G 29 · B 8A
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