Recognised as Colour
#AB2040
- #AB2040
- Red
- Dark
- Nearest: Brown
#AB2040 is a red with RGB values 171, 32, 64 and HSL 346°, 68%, 40%. It is a dark colour, so white text on it reaches 7:1 contrast (AA for normal text). The nearest named colour is Brown.
Colour values
#AB2040#AB2040
HEX#AB2040
RGBrgb(171, 32, 64)
RGB (0–1)0.6706, 0.1255, 0.251
RGB percentages67.1%, 12.5%, 25.1%
HSLhsl(346.2, 68.5%, 39.8%)
HSV / HSBhsv(346.2, 81.3%, 67.1%)
CMYK0%, 81.3%, 62.6%, 32.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer11,214,912
CSS custom property--colour: #AB2040;
Brightness & contrast
Relative luminance0.10061WCAG 2.x, 0 is black and 1 is white
Perceived brightness99.1 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 6.97:1
Contrast with white6.97:1WCAG normal text: AA
Contrast with black3.01:1WCAG normal text: Fail
Greyscale equivalent#404040
Inverted#54DFBF
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text6.97:1WCAG large text: AAA
Contrast with black, large text3.01:1WCAG large text: AA
Named colours
Hue familyred
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#20AB8B
Analogous#AB2086, #AB4520
Triadic#40AB20, #2040AB
Split complementary#20AB45, #2086AB
Tetradic#86AB20, #20AB8B, #4520AB
Tints, shades & saturation
Channel breakdown
R171
G32
B64
Red171 (67.1%)
Green32 (12.5%)
Blue64 (25.1%)
Hue346.19°
Saturation (HSL)68.47%
Lightness39.8%
Dominant channelRed
Hex per channelR AB · G 20 · B 40
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