Recognised as Colour
#AB0502
- #AB0502
- Red
- Dark
- Nearest: Firebrick
#AB0502 is a red with RGB values 171, 5, 2 and HSL 1°, 98%, 34%. It is a dark colour, so white text on it reaches 7.6:1 contrast (AAA for normal text). The nearest named colour is Firebrick.
Colour values
#AB0502#AB0502
HEX#AB0502
RGBrgb(171, 5, 2)
RGB (0–1)0.6706, 0.0196, 0.0078
RGB percentages67.1%, 2%, 0.8%
HSLhsl(1.1, 97.7%, 33.9%)
HSV / HSBhsv(1.1, 98.8%, 67.1%)
CMYK0%, 97.1%, 98.8%, 32.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer11,207,938
CSS custom property--colour: #AB0502;
Brightness & contrast
Relative luminance0.08771WCAG 2.x, 0 is black and 1 is white
Perceived brightness93.6 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 7.62:1
Contrast with white7.62:1WCAG normal text: AAA
Contrast with black2.75:1WCAG normal text: Fail
Greyscale equivalent#282828
Inverted#54FAFD
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text7.62:1WCAG large text: AAA
Contrast with black, large text2.75:1WCAG large text: Fail
Named colours
Hue familyred
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#02A8AB
Analogous#AB0254, #AB5902
Triadic#02AB05, #0502AB
Split complementary#02AB59, #0254AB
Tetradic#54AB02, #02A8AB, #5902AB
Tints, shades & saturation
Channel breakdown
R171
G5
B2
Red171 (67.1%)
Green5 (2%)
Blue2 (0.8%)
Hue1.07°
Saturation (HSL)97.69%
Lightness33.92%
Dominant channelRed
Hex per channelR AB · G 05 · B 02
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