Recognised as Colour
#D5148F
- #D5148F
- Magenta
- Dark
- Nearest: Medium violet red
#D5148F is a magenta with RGB values 213, 20, 143 and HSL 322°, 83%, 46%. It is a dark colour, so white text on it reaches 4.9:1 contrast (AA for normal text). The nearest named colour is Medium violet red.
Colour values
#D5148F#D5148F
HEX#D5148F
RGBrgb(213, 20, 143)
RGB (0–1)0.8353, 0.0784, 0.5608
RGB percentages83.5%, 7.8%, 56.1%
HSLhsl(321.8, 82.8%, 45.7%)
HSV / HSBhsv(321.8, 90.6%, 83.5%)
CMYK0%, 90.6%, 32.9%, 16.5%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer13,964,431
CSS custom property--colour: #D5148F;
Brightness & contrast
Relative luminance0.1663WCAG 2.x, 0 is black and 1 is white
Perceived brightness127 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 4.85:1
Contrast with white4.85:1WCAG normal text: AA
Contrast with black4.33:1WCAG normal text: Fail
Greyscale equivalent#464646
Inverted#2AEB70
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text4.85:1WCAG large text: AAA
Contrast with black, large text4.33:1WCAG large text: AA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#14D55A
Analogous#BA14D5, #D5142F
Triadic#8FD514, #148FD5
Split complementary#2FD514, #14D5BA
Tetradic#D5BA14, #14D55A, #142FD5
Tints, shades & saturation
Channel breakdown
R213
G20
B143
Red213 (83.5%)
Green20 (7.8%)
Blue143 (56.1%)
Hue321.76°
Saturation (HSL)82.83%
Lightness45.69%
Dominant channelRed
Hex per channelR D5 · G 14 · B 8F
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