Recognised as Colour
#D138A4
- #D138A4
- Magenta
- Dark
- Nearest: Medium violet red
#D138A4 is a magenta with RGB values 209, 56, 164 and HSL 318°, 62%, 52%. It is a dark colour, so black text on it reaches 4.8:1 contrast (AA for normal text). The nearest named colour is Medium violet red.
Colour values
#D138A4#D138A4
HEX#D138A4
RGBrgb(209, 56, 164)
RGB (0–1)0.8196, 0.2196, 0.6431
RGB percentages82%, 22%, 64.3%
HSLhsl(317.6, 62.4%, 52%)
HSV / HSBhsv(317.6, 73.2%, 82%)
CMYK0%, 73.2%, 21.5%, 18%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer13,711,524
CSS custom property--colour: #D138A4;
Brightness & contrast
Relative luminance0.19064WCAG 2.x, 0 is black and 1 is white
Perceived brightness134 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundBlackcontrast 4.81:1
Contrast with white4.36:1WCAG normal text: Fail
Contrast with black4.81:1WCAG normal text: AA
Greyscale equivalent#606060
Inverted#2EC75B
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text4.36:1WCAG large text: AA
Contrast with black, large text4.81:1WCAG large text: AAA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#38D165
Analogous#B138D1, #D13858
Triadic#A4D138, #38A4D1
Split complementary#58D138, #38D1B1
Tetradic#D1B138, #38D165, #3858D1
Tints, shades & saturation
Channel breakdown
R209
G56
B164
Red209 (82%)
Green56 (22%)
Blue164 (64.3%)
Hue317.65°
Saturation (HSL)62.45%
Lightness51.96%
Dominant channelRed
Hex per channelR D1 · G 38 · B A4
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