Verify the BT.601 Gray for a Coral HEX Swatch
Admin ·
Use one gray swatch when a design token, chart or handoff needs an encoded BT.601 luma value. Compare the three original channels and check the rounding before replacing the color.
Calculate the gray value for the coral swatch
Choose Coral or type #FF6B6B. The channels are red 255, green 107 and blue 107. Multiply them by 0.299, 0.587 and 0.114 respectively, then add the three products.
The sum is 151.252. Round once to 151 and put that value into all three channels. The result is #979797, or rgb(151, 151, 151). Dividing 151 by 255 gives about 59.2%.
Open the Grayscale ConverterITU-R Recommendation BT.601 digital television encodingW3C CSS Color Module Level 4 hexadecimal notation
Verify the effect of each channel weight
Enter the shorthand values below. Each repeated pair expands to one 8-bit channel. Green has the largest weight and becomes the lightest gray of the three examples.
Copy the result as HEX, RGB or HSL. Paste it into one swatch in your design and compare it on the same background you will use.
| Input | Rounded gray byte | Gray HEX |
|---|---|---|
| #F00 | 76 | #4C4C4C |
| #0F0 | 150 | #969696 |
| #00F | 29 | #1D1D1D |
ITU-R Recommendation BT.601 digital television encodingW3C CSS Color Module Level 4 hexadecimal notation
Choose the gray method that matches your output
CSS grayscale(100%) uses the Filter Effects color matrix. For example, its red coefficient is 0.2126, so the rendered pure-red result can differ from the 76-byte BT.601 swatch.
Use the converter when you need a fixed palette value. For transparency, first composite the color over its intended background. Test text contrast on the final foreground and background colors separately.
W3C Filter Effects grayscale color matrixW3C CSS Color Module Level 4 hexadecimal notation
Common questions
Do the gray HEX and HSL values describe the same swatch?
Yes. The HSL output uses zero saturation and sets lightness from the rounded gray byte. For Coral the copied HSL is hsl(0 0% 59.2157%).
Why are the displayed percentage and HSL lightness formatted differently?
The percentage next to luma is rounded to one decimal for reading. HSL carries finer precision so you can paste it into CSS and recover the 8-bit swatch.