Recognised as Colour
#D12868
- #D12868
- Red
- Dark
- Nearest: Medium violet red
#D12868 is a red with RGB values 209, 40, 104 and HSL 337°, 68%, 49%. It is a dark colour, so white text on it reaches 5:1 contrast (AA for normal text). The nearest named colour is Medium violet red.
Colour values
#D12868#D12868
HEX#D12868
RGBrgb(209, 40, 104)
RGB (0–1)0.8196, 0.1569, 0.4078
RGB percentages82%, 15.7%, 40.8%
HSLhsl(337.3, 67.9%, 48.8%)
HSV / HSBhsv(337.3, 80.9%, 82%)
CMYK0%, 80.9%, 50.2%, 18%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer13,707,368
CSS custom property--colour: #D12868;
Brightness & contrast
Relative luminance0.16072WCAG 2.x, 0 is black and 1 is white
Perceived brightness123.4 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 4.98:1
Contrast with white4.98:1WCAG normal text: AA
Contrast with black4.21:1WCAG normal text: Fail
Greyscale equivalent#515151
Inverted#2ED797
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text4.98:1WCAG large text: AAA
Contrast with black, large text4.21:1WCAG large text: AA
Named colours
Hue familyred
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#28D191
Analogous#D128BD, #D13C28
Triadic#68D128, #2868D1
Split complementary#28D13C, #28BDD1
Tetradic#BCD128, #28D191, #3C28D1
Tints, shades & saturation
Channel breakdown
R209
G40
B104
Red209 (82%)
Green40 (15.7%)
Blue104 (40.8%)
Hue337.28°
Saturation (HSL)67.87%
Lightness48.82%
Dominant channelRed
Hex per channelR D1 · G 28 · B 68
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