Recognised as Colour
#5A172D
- #5A172D
- Red
- Dark
- Nearest: Brown
#5A172D is a red with RGB values 90, 23, 45 and HSL 340°, 59%, 22%. It is a dark colour, so white text on it reaches 13.2:1 contrast (AAA for normal text). The nearest named colour is Brown.
Colour values
#5A172D#5A172D
HEX#5A172D
RGBrgb(90, 23, 45)
RGB (0–1)0.3529, 0.0902, 0.1765
RGB percentages35.3%, 9%, 17.6%
HSLhsl(340.3, 59.3%, 22.2%)
HSV / HSBhsv(340.3, 74.4%, 35.3%)
CMYK0%, 74.4%, 50%, 64.7%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer5,904,173
CSS custom property--colour: #5A172D;
Brightness & contrast
Relative luminance0.02976WCAG 2.x, 0 is black and 1 is white
Perceived brightness54.4 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 13.16:1
Contrast with white13.16:1WCAG normal text: AAA
Contrast with black1.6:1WCAG normal text: Fail
Greyscale equivalent#272727
Inverted#A5E8D2
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text13.16:1WCAG large text: AAA
Contrast with black, large text1.6:1WCAG large text: Fail
Named colours
Hue familyred
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#175A44
Analogous#5A174F, #5A2317
Triadic#2D5A17, #172D5A
Split complementary#175A23, #174F5A
Tetradic#4E5A17, #175A44, #22175A
Tints, shades & saturation
Channel breakdown
R90
G23
B45
Red90 (35.3%)
Green23 (9%)
Blue45 (17.6%)
Hue340.3°
Saturation (HSL)59.29%
Lightness22.16%
Dominant channelRed
Hex per channelR 5A · G 17 · B 2D
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