Black · EYRO
Zero RGB channels.
Black and White: six examples, three calculated fields, shape and lettering contrast, third-color options and a palette editor.
Screen #000000 and #FFFFFF give a contrast of 21:1 according to the formula WCAG. When you rearrange the colors, the numerical contrast does not change, but the light area and character of the composition change. Grey additional surfaces allow you to separate the blocks, keeping black and white main. The black-and-white base gains two versions with one colored detail. A red marker stands out beside a black circle on white; a blue-violet button appears inside a pale card in a black setting. The source #000000 and #FFFFFF remain unchanged. Their 21:1 ratio does not automatically apply to a cream surface, graphite text or colored button. The white shape loses its edge on a light field, while the black shape loses its edge on a dark one. The middle field lets you compare both edges together. The new tool compares light, middle and dark fields while retaining equal areas for the two shapes.
The stripes show fractions of the area, not a mixture of colors. The background color and the text are checked separately.
21.00:1 · AA for normal text
Zero RGB channels.
Maximum RGB channels.
Comparative dark pattern: not full black.
These are EYRO editorial screen samples. The household name of the hue does not specify a single HEX: compare the specified codes on the same screen and background.
A black shape on a white field leaves a large light area. A light gray surface adds a layer, a middle gray remains a decorative detail, black text retains the ultimate contrast with white.
Main text / surface: 16.83:1. The same text on the outer background: 21.00:1. The small label above the layout uses black or white according to contrast.
Edit and save this palette ↗A black background surrounds a white card with black text. A graphite shape softens a large dark block, the middle gray remains an accent. The text outside the white card will require its own light color.
Main text / surface: 21.00:1. The same text on the outer background: 1.00:1. The small label above the layout uses black or white according to contrast.
Edit and save this palette ↗A red marker occupies a small decorative area. Main text is dark graphite on a cream strip, so its calculation differs from 21:1. Field #FFFFFF, shape #000000, surface #F4F2EC, accent #C84343, text #202126. Main lettering is checked against the surface; the button label is checked separately.
Main text / surface: 14.35:1. The same text on the outer background: 16.07:1. The small label above the layout uses black or white according to contrast.
Edit and save this palette ↗A white arch sits inside a cream card: the neighboring pale fills remain decorative. The saturated button receives a separate label color. Field #000000, shape #FFFFFF, surface #F4F2EC, accent #8A2BE2, text #202126. Main lettering is checked against the surface; the button label is checked separately.
Main text / surface: 14.35:1. The same text on the outer background: 1.31:1. The small label above the layout uses black or white according to contrast.
Edit and save this palette ↗Shapes and all five HEX codes stay fixed. Changing the field chooses lettering again by the highest contrast in the set.
#000000 / #F0F0F0: 18.43:1
#FFFFFF / #F0F0F0: 1.14:1
Shape-edge ratios; these do not assess text.
No palette color reaches 4.5:1 for normal text on this field. Choose another field or edit the palette.
Field: #F0F0F0 · Text: #000000 · AA for normal text
Open Selected Roles in the Editor ↗Among these three fields, the highest minimum of the two edge ratios: #808080. This compares edge visibility rather than the harmony of the whole design.
#000000: 18.43:1 · #FFFFFF: 1.14:1 · Minimum: 1.14:1
#000000 — 18.43:1 · AA for normal text
#171717 — 15.73:1 · AA for normal text
#FFFFFF — 1.14:1 · Below AA for normal text
#808080 — 3.47:1 · Below AA for normal text
Open This State ↗#000000: 1.17:1 · #FFFFFF: 17.93:1 · Minimum: 1.17:1
#F0F0F0 — 15.73:1 · AA for normal text
#000000 — 1.17:1 · Below AA for normal text
#FFFFFF — 17.93:1 · AA for normal text
#808080 — 4.54:1 · AA for normal text
Open This State ↗#000000: 5.32:1 · #FFFFFF: 3.95:1 · Minimum: 3.95:1
#F0F0F0 — 3.47:1 · Below AA for normal text
#000000 — 5.32:1 · AA for normal text
#171717 — 4.54:1 · AA for normal text
#FFFFFF — 3.95:1 · Below AA for normal text
Open This State ↗Numbers and links work without JavaScript. Switching the field and lettering in the shared preview requires JavaScript.
The white shape loses its edge on a light field, while the black shape loses its edge on a dark one. The middle field lets you compare both edges together. RGB mean #808080 is derived from #000000 and #FFFFFF, rounding exact halves upward. Light field #F0F0F0 is 12% of that mean and 88% white; dark field #171717 is 18% mean and 82% black. Among the three shown fields, #808080 gives the highest minimum shape-edge ratio. This assesses edges within this set rather than a universally best background.
Edit and save this palette ↗Shapes and all five HEX codes stay fixed. Changing the field chooses lettering again by the highest contrast in the set.
#000000 / #171717: 1.17:1
#FFFFFF / #171717: 17.93:1
Shape-edge ratios; these do not assess text.
No palette color reaches 4.5:1 for normal text on this field. Choose another field or edit the palette.
Field: #171717 · Text: #FFFFFF · AA for normal text
Open Selected Roles in the Editor ↗Among these three fields, the highest minimum of the two edge ratios: #808080. This compares edge visibility rather than the harmony of the whole design.
#000000: 18.43:1 · #FFFFFF: 1.14:1 · Minimum: 1.14:1
#000000 — 18.43:1 · AA for normal text
#171717 — 15.73:1 · AA for normal text
#FFFFFF — 1.14:1 · Below AA for normal text
#808080 — 3.47:1 · Below AA for normal text
Open This State ↗#000000: 1.17:1 · #FFFFFF: 17.93:1 · Minimum: 1.17:1
#F0F0F0 — 15.73:1 · AA for normal text
#000000 — 1.17:1 · Below AA for normal text
#FFFFFF — 17.93:1 · AA for normal text
#808080 — 4.54:1 · AA for normal text
Open This State ↗#000000: 5.32:1 · #FFFFFF: 3.95:1 · Minimum: 3.95:1
#F0F0F0 — 3.47:1 · Below AA for normal text
#000000 — 5.32:1 · AA for normal text
#171717 — 4.54:1 · AA for normal text
#FFFFFF — 3.95:1 · Below AA for normal text
Open This State ↗Numbers and links work without JavaScript. Switching the field and lettering in the shared preview requires JavaScript.
The white shape loses its edge on a light field, while the black shape loses its edge on a dark one. The middle field lets you compare both edges together. RGB mean #808080 is derived from #000000 and #FFFFFF, rounding exact halves upward. Light field #F0F0F0 is 12% of that mean and 88% white; dark field #171717 is 18% mean and 82% black. Among the three shown fields, #808080 gives the highest minimum shape-edge ratio. This assesses edges within this set rather than a universally best background.
Edit and save this palette ↗Options for the original samples of this pair. Open the three to change roles, fractions and shades.
Try #DCCBB5 as a shared base while keeping the source #000000 and #FFFFFF. The selected role passes to the tool; check lettering on the new surface separately.
Try the three colors ↗Try #C84343 as a small detail while keeping the source #000000 and #FFFFFF. The selected role passes to the tool; check lettering on the new surface separately.
Try the three colors ↗Try #8A2BE2 as a small detail while keeping the source #000000 and #FFFFFF. The selected role passes to the tool; check lettering on the new surface separately.
Try the three colors ↗In the WCAG formula, the relative brightness of white is 1, black is 0. The ratio (1 + 0.05) / (0 + 0.05) is 21.
For these two exact codes, the numerical contrast is the same, and the choice of circuitry changes the area of light and dark surfaces, but not this ratio.
21:1 applies to opaque #000000 and #FFFFFF. Gray, cream or translucent lettering produces a different result. In the new examples main text and the button are checked using their actual codes.
RGB mean #808080 is derived from #000000 and #FFFFFF, rounding exact halves upward. Light field #F0F0F0 is 12% of that mean and 88% white; dark field #171717 is 18% mean and 82% black. Among the three shown fields, #808080 gives the highest minimum shape-edge ratio. This assesses edges within this set rather than a universally best background. First the two source channels are averaged and rounded; the light and dark fields then use that already-rounded mean. This interpolates encoded sRGB channels rather than mixing linear light or paint.
The other four colors are compared again against the new field. The highest ratio is selected by default; ties use the lower index. The 4.5:1 threshold is assessed before rounding. A warning is shown if none passes. You can choose another lettering color manually; source HEX codes remain fixed.
#FFFFFF#000000#E6E6E6#808080#41424A#FFFFFF#000000#F4F2EC#C84343#202126#F0F0F0#000000#171717#FFFFFF#808080Curated EYRO palettes. Locked swatches are preserved.
Lock the colors you love, then generate the rest.
Assign background, text and accent using the buttons below the swatches. Selecting an assigned color swaps its role. Links and saved palettes keep your roles.
01 Poster
02 Website card
03 Geometry
For opaque sRGB colors. AA: at least 4.5:1 for normal text and 3:1 for large text (24 px, or 18.67 px bold). AAA: at least 7:1 for normal text and 4.5:1 for large text. Results use the full value; displayed ratios are truncated to two decimals.
Select a set with ready-made background, text and accent roles. Use it to replace the colors in the editor; the old version can be returned with the "Back" button. Then pin the desired samples or assign the roles in your own way.
The light background, the blue shape, the coral action and the dark text. Four exact samples are transmitted without the addition of a fifth.
A light greenish base, a sage shape and a warm terracotta detail. Deep green is assigned to the text.
The light purple base, the purple shape and the lemon action. The deep core text retains a distinct role.
A deep background, a blue-green shape, a light mint accent and almost white text, the set features four independent roles.
Blue defines the shape, sand defines the accent. The white surface is separated from the external background; dark text is designated as the last sample.
The sage and the coral are divided between the main shape and the action, and the white surface supports a separate deep green text.
Eggplant creates a deep shape in a light environment, mint creates a light accent, and the surface under the text has its own white color.
Cyan gives a bright shape in a deep blue environment, ochre is a warm accent, almost white text is designed for the outside background and dark surface.
Four samples are transmitted as four colors. Fives are additionally highlighted by the surface of the card. The contrast depends on the actual background and text; after the changes, check the matrix in the editor.
Samples, palettes, explanations and mockups are produced by EYRO. Digital colors do not replace physical samples of fabric, paint or printing.